From: Jeff <sysinit@yandex.com>
To: supervision@list.skarnet.org
Subject: SysV shutdown util
Date: Sat, 11 May 2019 13:26:25 +0200 [thread overview]
Message-ID: <3137641557573985@myt1-4903e6646a45.qloud-c.yandex.net> (raw)
In-Reply-To: <em1f23354c-db66-49e8-a561-d73fce7bbbfb@elzian>
10.05.2019, 20:03, "Laurent Bercot" <ska-supervision@skarnet.org>:
> then signals are not enough:
> you need to be able to convey more information to pid 1
> than a few signals can.
such as ?
what more information than the runlevel (0 or 6, maybe 1 to go
into single user) does SysV init need to start the system shutdown ?
and shutdown itself just notifies all users via wall, logs shutdown time
to wtmp and then notifies init via the /dev/.initctl fifo.
this can all be done solely by 2 different signals.
the Void Linux team just made a shell script out of it that just brings
down the runit services and runsvdir itself.
next prev parent reply other threads:[~2019-05-11 11:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-09 7:10 ipc in process #1 Jeff
2019-05-10 17:57 ` Laurent Bercot
2019-05-11 11:26 ` Jeff [this message]
2019-05-11 12:56 ` SysV shutdown util Laurent Bercot
2019-05-11 12:38 ` emergency IPC with SysV message queues Jeff
2019-05-11 13:34 ` Laurent Bercot
2019-05-16 15:15 ` Jeff
2019-05-16 21:25 ` Laurent Bercot
2019-05-16 21:54 ` Oliver Schad
2019-05-19 17:54 ` Jeff
[not found] ` <CALZWFRJws+eDthy8MCFj4PiVdRdRpM+afda6QAbEtYA4NT8ESQ@mail.gmail.com>
2019-05-19 19:59 ` Fwd: " Cameron Nemo
2019-05-19 20:26 ` Jeff
2019-05-19 18:38 ` Bob
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3137641557573985@myt1-4903e6646a45.qloud-c.yandex.net \
--to=sysinit@yandex.com \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).