[hackers] [sinit] Reword sinit manpage - clarify confusion around utmp entries. || sin

From: <git_AT_suckless.org>
Date: Sat, 16 Aug 2014 19:04:01 +0200

commit 542049d495c3b7605915bdd5151a3e0fcc5c7999
Author: sin <sin_AT_2f30.org>
Date: Sat Aug 16 18:02:52 2014 +0100

    Reword sinit manpage - clarify confusion around utmp entries.

diff --git a/sinit.8 b/sinit.8
index aa94947..75600a3 100644
--- a/sinit.8
+++ b/sinit.8
_AT_@ -19,10 +19,12 @@ executing `/bin/rc.shutdown reboot'.
 .IP CHLD
 Reap children.
 .SS General considerations
-Calling the aforementioned scripts directly might or might not
-work in your case. For example if any process in your session
-has stale filesystem references then it is likely your init scripts
-will fail to unmount the filesystem cleanly. It is recommended to
-signal sinit via a wrapper script.
+Running the rc.shutdown script directly is not recommended. If any
+process in your session has stale filesystem references then it is
+likely your init scripts will fail to unmount the filesystem cleanly.
+It is recommended to signal sinit via a wrapper script.
+Similarly, sinit does not clear utmp records. The version of getty(8)
+in ubase clears the utmp entries on the specified tty before it
+spawns the given program, usually login(1).
 .SH SEE ALSO
 killall5(8), getty(8)
Received on Sat Aug 16 2014 - 19:04:01 CEST

This archive was generated by hypermail 2.3.0 : Sat Aug 16 2014 - 19:12:09 CEST