summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac.sh
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2019-10-08 22:05:45 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-10-10 18:13:26 +0300
commitcd9ed7d92b2008c4fe3c49671aa082db23adda52 (patch)
tree7ca89ec927a893d03995f66b06bd8a106dd64083 /meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac.sh
parentf76da5003a03ef7d361f05d121731c74fa732fda (diff)
downloadopenbmc-cd9ed7d92b2008c4fe3c49671aa082db23adda52.tar.xz
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>
Diffstat (limited to 'meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac.sh')
-rwxr-xr-xmeta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac.sh2
1 files changed, 1 insertions, 1 deletions
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 cf03b82fc..da1b305d4 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 @@ fi
sync_mac $1
-systemctl disable first-boot-set-mac@${1}.service
+systemctl --no-reload disable first-boot-set-mac@${1}.service