vm/systemd: disable additional useless services (#620)

Most of them relay on direct network acces, which isn't true on Qubes.
This commit is contained in:
Marek Marczykowski 2012-07-12 03:50:03 +02:00
parent 4f3f427e10
commit c05a3f0093

View File

@ -583,10 +583,11 @@ do
chkconfig $srv off 2> /dev/null
done
DISABLE_SERVICES="alsa-store alsa-restore auditd backuppc cpuspeed crond dbus-org.freedesktop.Avahi"
DISABLE_SERVICES="alsa-store alsa-restore auditd avahi backuppc cpuspeed crond"
DISABLE_SERVICES="$DISABLE_SERVICES fedora-autorelabel fedora-autorelabel-mark ipmi hwclock-load hwclock-save"
DISABLE_SERVICES="$DISABLE_SERVICES mdmonitor multipathd openct rpcbind mcelog fedora-storage-init fedora-storage-init-late"
DISABLE_SERVICES="$DISABLE_SERVICES plymouth-start plymouth-read-write plymouth-quit plymouth-quit-wait"
DISABLE_SERVICES="$DISABLE_SERVICES sshd tcsd sm-client sendmail mdmonitor-takeover"
for srv in $DISABLE_SERVICES; do
if [ -f /lib/systemd/system/$srv.service ]; then
if fgrep -q '[Install]' /lib/systemd/system/$srv.service; then