:: Re: [DNG] request: please evaluate/…
Forside
Slet denne besked
Besvar denne besked
Skribent: Irrwahn
Dato:  
Til: dng
Emne: Re: [DNG] request: please evaluate/provide elogind-or-other ASAP
Irrwahn wrote on 05.01.2018 08:32:
[...]
> From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825394
> I gather that it is possible to configure this in sd-logind,
> so I simply assume the same holds for elogind as well.
>
> However, in message #256 in that same thread Martin Steigerwald
> asserts that this setting breaks shutdown (in the sense of not
> behaving exactly the way it used to with sysvinit). Will elogind
> suffer from the same regression, or will that issue be taken
> care of?


After reading the elogind README once again, I think the following
quote actually answers my question:

+
| For shutdown, reboot, and kexec, elogind shells out to "halt",
| "reboot",and "kexec" binaries.

+

AIUI, elogind calls "halt", which in turn would call "shutdown",
which executes the equivalent of "init 0". Thus, assuming PID1 is
SysV-init, the traditional behavior would be preserved, correct?

Urban
--
Sapere aude!