commit | cd9ed7d92b2008c4fe3c49671aa082db23adda52 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Tue Oct 08 14:05:45 2019 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Oct 10 11:13:26 2019 -0400 |
tree | 7ca89ec927a893d03995f66b06bd8a106dd64083 | |
parent | f76da5003a03ef7d361f05d121731c74fa732fda [diff] |
Do not reload systemd when removing services Testing has shown that reloading the systemd daemon during the execution of the multi-user.target can cause intermittent failures. systemctl itself has special code to handle the situation when it sends the Reload command to the systemd daemon. It doubles the D-bus timeout and it also expects a disconnect, not a reply to it's sd_bus_call(). There is no need to have systemd do a daemon-reload with these services. The goal is to just prevent them from running during the next reboot of the BMC in which case systemd will be reloading the services anyway. (From meta-openpower rev: dc61895cbd6b269ed925fdb6266973a98f8a1d8e) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ic9741234c9b0a4f7b1c020492a611da21f956d4f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-openpower/recipes-phosphor/network/first-boot-set-hostname/first-boot-set-hostname.sh b/meta-openpower/recipes-phosphor/network/first-boot-set-hostname/first-boot-set-hostname.sh index 401dd9d..62284d1 100644 --- a/meta-openpower/recipes-phosphor/network/first-boot-set-hostname/first-boot-set-hostname.sh +++ b/meta-openpower/recipes-phosphor/network/first-boot-set-hostname/first-boot-set-hostname.sh
@@ -81,4 +81,4 @@ sync_hostname -systemctl disable first-boot-set-hostname.service +systemctl --no-reload disable first-boot-set-hostname.service
diff --git a/meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac.sh b/meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac.sh index cf03b82..da1b305 100755 --- a/meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac.sh +++ b/meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac.sh
@@ -79,4 +79,4 @@ sync_mac $1 -systemctl disable first-boot-set-mac@${1}.service +systemctl --no-reload disable first-boot-set-mac@${1}.service