65878a
From e701defc239f63731940b8d0867405e0b36b9ada Mon Sep 17 00:00:00 2001
65878a
From: Jan Engelhardt <jengelh@inai.de>
65878a
Date: Thu, 7 Nov 2013 01:17:49 +0100
65878a
Subject: [PATCH] man: add rationale into systemd-halt(8)
65878a
65878a
The explanation is from
65878a
http://people.debian.org/~stapelberg/docs/systemd-dependencies.html
65878a
---
65878a
 man/systemd-halt.service.xml | 6 ++++++
65878a
 1 file changed, 6 insertions(+)
65878a
65878a
diff --git a/man/systemd-halt.service.xml b/man/systemd-halt.service.xml
65878a
index 812281e..90b443f 100644
65878a
--- a/man/systemd-halt.service.xml
65878a
+++ b/man/systemd-halt.service.xml
65878a
@@ -83,6 +83,12 @@
65878a
                 remaining swap devices, detach all remaining storage
65878a
                 devices and kill all remaining processes.</para>
65878a
 
65878a
+                <para>It is necessary to have this code in a separate binary
65878a
+                because otherwise rebooting after an upgrade might be broken —
65878a
+                the running PID 1 could still depend on libraries which are not
65878a
+                available any more, thus keeping the filesystem busy, which
65878a
+                then cannot be re-mounted read-only.</para>
65878a
+
65878a
                 <para>Immediately before executing the actual system
65878a
                 halt/poweroff/reboot/kexec
65878a
                 <filename>systemd-shutdown</filename> will run all