From 0daaeef2800613f3a97221199099138a6640c2db Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 20 Jan 2024 08:59:51 +0800 Subject: [PATCH] systemd: Add some commands to make new configuration in-effect --- general/sysutils/systemd.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/general/sysutils/systemd.xml b/general/sysutils/systemd.xml index 90d2de9f36..21e982a999 100644 --- a/general/sysutils/systemd.xml +++ b/general/sysutils/systemd.xml @@ -361,6 +361,33 @@ password required pam_deny.so # End /etc/pam.d/systemd-user EOF + + + As the &root; user, replace the running systemd + manager (the init process) with the + systemd executable newly built and installed: + + + systemctl daemon-reexec + + + + Now ensure has been already rebuilt with + support first, then logout, and login + again. This ensures the running login session registered with + systemd-logind and a per-user systemd instance + running for each user owning a login session. Many BLFS packages + listing Systemd as a dependency needs the + systemd-logind integration and/or a running + per-user systemd instance. + + + If upgrading from a previous version of systemd and an