On Sat, May 21, 2016 at 08:47:57PM +0200, Marco d'Itri <m...@linux.it> wrote:
> I am not sure: if I stop inetd then I want to stop all running daemons, 
> not just prevent new connections.

Then the package should implement it - interactive login sessions and screen
sessions are not daemons.

In any case, the new behaviour overturns decade of correct behaviour for
no reason other than "I prefer to kill everything". It also doesn't match
the behaviour of the rest of debian - if I login via standalone ssh and
then restart sshd, it's not expected that every daemon and every shell and
every process ever started via ssh will be killed.

> > Anything gets killed, not just shells - I can start a screen session with
> > e.g. "nohup gzip" inside, log out, and systemctl stop inetd
> > kills screen, the shell inside, gzip etc.
> Yes, this is the whole point of KillMode=control-group.
> But how do you start from inetd and then get a shell? Are you starting 
> sshd from inetd?

Either that, or rlogin, or rsh, or telnet, or some other service that
gives a shell. Most unix services offerring interactive shell go via
inetd. I also stated ftp as another example, which is not a shell.

This is not at all unusual - debian even has two different rlogin/rsh
implementations, and multiple telnetd daemons.

> It looks like your setup is a bit unusual, since nobody has noticed this 
> since before jessie was released.

That's faulty logic - I haven't noticed it either, because I rarely stop
inetd, and that is quite common. Besides, unusual setups should work just
as well, and did, in older releases or wiht sysvinit.

In either case, I don't understand why it is so hard to fix a simple
regression bug - jessie works when used with sysvinit, as well as polder
releases of debian.

There should be a good reason for introducing breakage like this. Personal
preference for your personal setup is not a good reason.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schm...@schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

Reply via email to