From cd9ed7d92b2008c4fe3c49671aa082db23adda52 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Tue, 8 Oct 2019 14:05:45 -0500 Subject: 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 Change-Id: Ic9741234c9b0a4f7b1c020492a611da21f956d4f Signed-off-by: Brad Bishop --- .../recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac.sh') 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 -- cgit v1.2.3