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.

Christoph

-- 
============================================================================
Christoph Martin, Zentrum für Datenverarbeitung, Uni-Mainz, Germany
 Anselm Franz von Bentzel-Weg 12, 55128 Mainz
 Telefon: +49(6131)3926337
 Instant-Messaging: Jabber: mar...@uni-mainz.de
  (Siehe http://www.zdv.uni-mainz.de/4010.php)

<<attachment: martin.vcf>>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to