Szerző: tilt! Dátum: CC: dng Tárgy: Re: [DNG] does systemd set runlevel 0 in utmp on shutdown?
Hi Tobias,
On 08/29/2015 09:50 AM, Tobias Hunger wrote: > [...]
>
>>> I do not think you would need it anyway as systemd will stop the display >>> manager all by itself.
>>
>> Given the unclarity I tried to express in my previous questions, i admit
>> that i am currently not too confident about that. Just to be on the safe
>> side:
>
> Giving the clean way forward a try before heading down into a rabbit hole of > hacks (as apparently required by lesser init systems) seems worthwhile to me. > Especially considering that you probably do not care for systemd support
> anyway. [...]
My wording was biased there. To put it in clear terms:
I think it's wrong that nodm attempts to (re)start an interactive
X session when the system is already scheduled for shutdown.
I find it wrong, because it is misleading the user into interactive use
of a system that can power off (or halt, or reboot) at any moment.
What I am trying to do is to put a check into nodm that prevents
it from doing so.