From 1fe6e6ce5422d701caecc6bf1492dc6c8441e1dd Mon Sep 17 00:00:00 2001 From: Will Woods Date: Fri, 16 Mar 2012 16:53:52 -0400 Subject: [PATCH] Don't trash all the initscripts 'fedora*' services We need some of them (fedora-import-state.service), so let's just disable the ones that cause us problems (mostly fedora-storage*). --- share/runtime-postinstall.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl index 14400e88..2166a899 100644 --- a/share/runtime-postinstall.tmpl +++ b/share/runtime-postinstall.tmpl @@ -22,7 +22,7 @@ move etc/yum.repos.d etc/anaconda.repos.d remove etc/systemd/system/default.target remove etc/systemd/system/default.target.wants/* symlink /lib/systemd/system/anaconda.target etc/systemd/system/default.target -## remove unwanted systemd services +## remove/disable unwanted systemd services removefrom systemd-units /lib/systemd/system/kexec* removefrom systemd-units /lib/systemd/system/local-fs.target.wants/media.mount removefrom systemd-units /lib/systemd/system/media.mount @@ -30,7 +30,7 @@ removefrom systemd-units /lib/systemd/system/*plymouth* removefrom systemd-units /lib/systemd/system/quota*.service removefrom systemd-units /lib/systemd/system/systemd-remount-api-vfs.service removefrom ConsoleKit /lib/systemd/system/* -removefrom initscripts /lib/systemd/system/fedora* /lib/systemd/fedora* +removefrom initscripts /lib/systemd/system/local-fs.target.wants/fedora-storage* /lib/systemd/system/basic.target.wants/* removefrom lvm2 /lib/systemd/system/* removefrom mdadm /lib/systemd/system/*