From 4b8eff3f6cff7689c97d92d577dda449b91259cb Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 18 Jun 2023 20:59:41 +0200 Subject: [PATCH] stop dbus.socket --- usr/lib/archboot/login.sh | 2 +- usr/lib/archboot/update-installer/update-installer.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/usr/lib/archboot/login.sh b/usr/lib/archboot/login.sh index ac80186b2..a2442f17f 100644 --- a/usr/lib/archboot/login.sh +++ b/usr/lib/archboot/login.sh @@ -62,7 +62,7 @@ if [[ "${TTY}" = "tty1" ]]; then read -r -t 3 systemctl stop systemd-user-sessions.service systemctl stop dbus-org.freedesktop.login1.service - systemctl stop dbus.service + systemctl stop dbus.socket systemctl start initrd-switch-root.target else while true; do diff --git a/usr/lib/archboot/update-installer/update-installer.sh b/usr/lib/archboot/update-installer/update-installer.sh index 87f7ce0c2..4093821ca 100644 --- a/usr/lib/archboot/update-installer/update-installer.sh +++ b/usr/lib/archboot/update-installer/update-installer.sh @@ -388,7 +388,9 @@ _new_environment() { rm -f /sysroot/{VERSION,config,buildconfig,init} &>/dev/null # systemd needs this for root_switch touch /etc/initrd-release - systemctl stop dbus.service + systemctl stop systemd-user-sessions.service + systemctl stop dbus-org.freedesktop.login1.service + systemctl stop dbus.socket systemctl start initrd-switch-root.target fi echo -e "\e[1mStep ${_S_APPEND}7/${_STEPS}:\e[m Creating initramfs ${_RAM}/${_INITRD}..."