diff --git a/general/sysutils/elogind.xml b/general/sysutils/elogind.xml
index 5716b4ac92..0810cf1adc 100644
--- a/general/sysutils/elogind.xml
+++ b/general/sysutils/elogind.xml
@@ -154,6 +154,12 @@ File systems --->
sed -i '/Disable polkit/,+8 d' meson.build &&
+sed '/request_name/i\
+r = sd_bus_set_exit_on_disconnect(m->bus, true);\
+if (r < 0)\
+ return log_error_errno(r, "Failed to set exit on disconnect: %m");' \
+ -i src/login/logind.c &&
+
mkdir build &&
cd build &&
@@ -191,6 +197,12 @@ ln -sfvn elogind /usr/include/systemd
installed.
+
+ sed ... src/login/logind.c: This change allows the
+ elogind daemon to exit when it is disconnected from dbus (for example
+ when dbus is killed).
+
+
-Dcgroup-controller=elogind: This switch ensures
that elogind is selected as the cgroup
diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index 978747381a..23417c6f4a 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -41,6 +41,16 @@
-->
+
+ March 12th, 2022
+
+
+ [pierre] - Allow elogind to exit when dbus is closed. Fixes
+ #16177.
+
+
+
+
March 11th, 2022