From c336586fae65b783b3448ba3f40a0748665d7c66 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 12 Jul 2012 03:50:03 +0200 Subject: [PATCH] vm/systemd: disable additional useless services (#620) Most of them relay on direct network acces, which isn't true on Qubes. --- rpm_spec/core-vm.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpm_spec/core-vm.spec b/rpm_spec/core-vm.spec index f6c67bc..8896b38 100644 --- a/rpm_spec/core-vm.spec +++ b/rpm_spec/core-vm.spec @@ -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