From 650dffa8b3f6a2d8ca4ded6d3a765fc1fe93924b Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 18 Jun 2023 21:49:59 +0200 Subject: [PATCH] update CHANGELOG --- CHANGELOG | 3 +++ usr/lib/archboot/login.sh | 6 ++++++ usr/lib/archboot/update-installer/update-installer.sh | 6 +++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index af7433155..17b25553a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,7 +4,10 @@ On the road to 2023.06: Environment Changes: - don't try to mount none existent /dev/sr0 - synced getty and serial-getty with latest systemd +- added systemd-sysusers.service which runs before dbus.socket launches - disabled root autologin message +- made systemd initrd-switch-root routine bullet proof +- fixed /run/nouser leftovers update-installer.sh: - updated messages on -full-system call - updated elinks, chromium and firefox starting page to archboot.com diff --git a/usr/lib/archboot/login.sh b/usr/lib/archboot/login.sh index 5d66a9909..fd8699227 100644 --- a/usr/lib/archboot/login.sh +++ b/usr/lib/archboot/login.sh @@ -60,9 +60,15 @@ if [[ "${TTY}" = "tty1" ]]; then echo -e "\e[1;96mArchboot\e[m \e[1m- Arch Linux Environment finished.\e[m" echo -e "\e[1mSystemd initrd-switch-root will be launched in a second...\e[m" read -r -t 3 + # https://www.freedesktop.org/software/systemd/man/bootup.html + # enable systemd initrd functionality + touch /etc/initrd-release + # fix /run/nouser issues systemctl stop systemd-user-sessions.service + # avoid issues by bringing down services in ordered way systemctl stop dbus-org.freedesktop.login1.service systemctl stop dbus.socket + # prepare for initrd-switch-root systemctl start initrd-cleanup.service systemctl start initrd-switch-root.target else diff --git a/usr/lib/archboot/update-installer/update-installer.sh b/usr/lib/archboot/update-installer/update-installer.sh index bfeed355b..6300cf592 100644 --- a/usr/lib/archboot/update-installer/update-installer.sh +++ b/usr/lib/archboot/update-installer/update-installer.sh @@ -386,11 +386,15 @@ _new_environment() { # cleanup mkinitcpio directories and files rm -rf /sysroot/{hooks,install,kernel,new_root,sysroot,mkinitcpio.*} &>/dev/null rm -f /sysroot/{VERSION,config,buildconfig,init} &>/dev/null - # systemd needs this for root_switch + # https://www.freedesktop.org/software/systemd/man/bootup.html + # enable systemd initrd functionality touch /etc/initrd-release + # fix /run/nouser issues systemctl stop systemd-user-sessions.service + # avoid issues by bringing down services in ordered way systemctl stop dbus-org.freedesktop.login1.service systemctl stop dbus.socket + # prepare for initrd-switch-root systemctl start initrd-cleanup.service systemctl start initrd-switch-root.target fi