When I do a signal-event post-upgrade, my mailman and fail2ban services seem to become disabled even though they are marked enabled in the configuration db.
I guess it has to do with the script /etc/e-smith/events/actions/fix-startup, see the fragment below. The script goes through all the services, and if, e.g. for mailman, the file /lib/systemd/system/multi-user.target.wants/mailman.service exists, runs the command
# systemctl disable mailman.service
On my server, I have both /lib/systemd/system/multi-user.target.wants/mailman.service and /lib/systemd/system/multi-user.target.wants/fail2ban.service
/etc/e-smith/events/actions/fix-startup
foreach my $service (@d)
{
my $sv=$service->{'name'};
next if $sv eq 'bootstrap-console';
$sv= $equivalent->{$sv} || $sv;
foreach (qw(multi-user sme-server))
{
if (-e "/lib/systemd/system/$_.target.wants/$sv.service")
{
system(qw(systemctl disable), $sv);
}
elsif (-e "/etc/systemd/system/$_.target.wants/$sv.service")
{
system(qw(systemctl disable), $sv);
}
elsif (-e "/etc/init.d/$sv")
{
my $dropoutput = `/usr/sbin/chkconfig $sv off 2>/dev/null`;
}
}
}