Hi!

On Wed, 2014-10-15 at 12:53:05 +0200, Christoph Martin wrote:
> Am 13.10.2014 um 20:28 schrieb Guillem Jover:
> > 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.

> We had to change to not use --background because otherwise the error
> messages of sks would get redirected to /dev/null. (See bug #651843)
> 
> Putting some garbage into /etc/sks/sksconf:
> 
> > # start-stop-daemon --start --oknodo --chuid debian-sks:debian-sks --exec 
> > /usr/sbin/sks -- db  
> > Fatal error: exception Not_found
> > _mcleanup: gmon.out: Permission denied
> 
> in contrast to
> 
> > # start-stop-daemon --start --oknodo --chuid debian-sks:debian-sks 
> > --background --exec /usr/sbin/sks -- db
> 
> would ouput no message but fail to start.

Ah, but you can use --no-close now (since dpkg 1.16.5). :)

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