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