daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
Blob Blame History Raw
From e701defc239f63731940b8d0867405e0b36b9ada Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Thu, 7 Nov 2013 01:17:49 +0100
Subject: [PATCH] man: add rationale into systemd-halt(8)

The explanation is from
http://people.debian.org/~stapelberg/docs/systemd-dependencies.html
---
 man/systemd-halt.service.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/man/systemd-halt.service.xml b/man/systemd-halt.service.xml
index 812281e..90b443f 100644
--- a/man/systemd-halt.service.xml
+++ b/man/systemd-halt.service.xml
@@ -83,6 +83,12 @@
                 remaining swap devices, detach all remaining storage
                 devices and kill all remaining processes.</para>
 
+                <para>It is necessary to have this code in a separate binary
+                because otherwise rebooting after an upgrade might be broken —
+                the running PID 1 could still depend on libraries which are not
+                available any more, thus keeping the filesystem busy, which
+                then cannot be re-mounted read-only.</para>
+
                 <para>Immediately before executing the actual system
                 halt/poweroff/reboot/kexec
                 <filename>systemd-shutdown</filename> will run all