Control: sevrity -1 serious
Control: retitle -1 s-s-d: Does not create a pidfile w/o --background

[ CCing the SKS maintainers. ]

On Mon, 2014-10-13 at 19:21:57 +0200, Christoph Anton Mitterer wrote:
> Package: dpkg
> Version: 1.17.18
> Severity: critical
> Justification: breaks unrelated software

No, it does not. This is certainly about related software, as the
package is using s-s-d explicitly. This is not what critical is for,
please do not escalate bug severities.

> It seems that start-stop-daemon no longer creates a PID file, at least
> when called like this:

> start-stop-daemon --start --oknodo --chuid debian-sks:debian-sks
>   --make-pidfile --pidfile $SKSDBPID --exec $DAEMON -- db &
> 
> as you can guess, this from the init script from sks.
> 
> Trying it manually (of course with setting the variables) doesn't help
> either.
> The daemon is started but /var/run/sks (which is owned by debian-sks)
> remains empty.

This is certainly a regression in s-s-d. It does still create a pidfile
when using --background. I do have to wonder why the init script is not
using --background though, because otherwise any error from it will not
be noticed at all by the shell, because it detaches the process itself.

I'm fixing this for 1.17.19, but I'd advise to switch to use --background
anyway.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to