Re: Bug#924312: stunnel4: Fails to stop with sysvinit: start-stop-daemon: matching only on non-root pidfile /var/lib/stunnel4///stunnel4.pid is insecure

Axel Beckert <[email protected]> Mon, 11 Mar 2019 22:43:55 +0100
Newsgroups gmane.linux.debian.devel.lsb
Organization The Debian Project
Message-ID <[email protected]>
Hi Peter,

Peter Pentchev wrote:
> > […], this looks like a bug in lsb-base. And indeed, it is and
> > is also already reported: https://bugs.debian.org/921558
> > 
> > Reassigning accordingly.
> 
> Thanks for reporting this and for your analysis!

You're welcome.

> I came up with the same result […] To be honest, I don't think I
> should upload stunnel with a patch that makes the init script use
> the LSB start_daemon function to start the process and then uses
> start-stop-daemon directly to stop it; […] I would prefer some kind
> of change in init-functions that would let me continue to use the
> LSB shell functions.

*nod* I submitted a patch to #921558 which seems to fix the issue for
at least stunnel, but I think it should get some more testing before
uploading that as a fix.

		Regards, Axel