[systemd-devel] Don't allow to restart emergency.service/rescue.service

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed May 6 04:40:33 PDT 2015


On Wed, May 06, 2015 at 12:39:50PM +0200, Michael Biebl wrote:
> 2015-05-06 1:49 GMT+02:00 Cameron Norman <camerontnorman at gmail.com>:
> > +KillMode=process
> >
> > If I had to take a guess I would say that it was desired to let the
> > shell do its own process management, but Lennart can only know. Maybe
> > KillMode=mixed would be better?
> 
> KillMode=mixed seems to work better, indeed, from a quick test and I
> don't see a downside using mixed.
KillMode=mixed is newer. RefuseManual* is rather ugly, so this approach
seems much nicer.

Zbyszek

> I have to add, that Debian's /sbin/sulogin implementation comes from
> sysvinit-utils, not util-linux. Maybe that makes a difference.


More information about the systemd-devel mailing list