Autor: Tobias Hunger Data: Para: tilt! CC: dng Assunto: Re: [DNG] does systemd set runlevel 0 in utmp on shutdown?
Am 29.08.2015 10:26 vorm. schrieb "tilt!" <tilt@???>: > 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.
I got that. I just do not think such a test makes sense.
The init system should stop such services and you should fix the init
system and not add clutches all over the place to work around its
limitations.