[systemd-devel] Antw: [EXT] Re: Q: shutdown messages and the lack of such

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Fri Oct 9 07:14:20 UTC 2020


>>> Dave Howorth <systemd at howorth.org.uk> schrieb am 08.10.2020 um 17:44 in
Nachricht <20201008164428.55bcf659 at acer-suse.lan>:
> On Thu, 08 Oct 2020 14:29:24 +0000
> fox <firefox at firemail.cc> wrote:
>> > I wonder: Shouldn't here be an infiormational message at least when
>> > the shutdown command is entered, and at least a notice message when
>> > the actual shutdown time has arrived?

As the above may be confusing: I'm talking about syslog, not wall there.

>> > If you review syslog laternot at all obvious what had happened.  
>> 
>> 
>>         shutdown [OPTIONS...] [TIME] [WALL...]
>> 
>> Note that to specify a wall message you must specify a time argument, 
>> too.
>> ‑‑no‑wall #  Do not send wall message before halt, power‑off, reboot.
>> 
>> so, "shutdown now" # has an implicit   ‑‑no‑wall
>> 
>> seems it acts according to specs.
> 
> I think Ulrich's point was that the docs for previous versions of
> shutdown were consistent with its behaviour, which was to send a wall
> message and you could customise the message by supplying a command line
> argument.
> 
> It appears that the systemctl implementation has changed the behaviour,
> and the documentation. Whether there is a spec anywhere (POSIX or
> whatever) I do not know ‑ but certainly a man page is not a spec. Nor
> do I know whether this was a deliberate and publically agreed change
> in behaviour or something else.
> _______________________________________________
> systemd‑devel mailing list
> systemd‑devel at lists.freedesktop.org 
> https://lists.freedesktop.org/mailman/listinfo/systemd‑devel 





More information about the systemd-devel mailing list