dcavalca / rpms / systemd

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