Problem mit xxv in /etc/init.d

Tobias Grimm pkg-vdr-dvb-devel@lists.alioth.debian.org
Wed, 06 Apr 2005 00:08:41 +0200


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig20352AD995B93A1CB6DB7E8F
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thomas G=FCnther wrote:

>>XXV manages the PID-Files itself. Its probably a bug, if it doesn't
>>delete it when an error occurs.
>>   =20
>>
>
>xxvd or start-stop-daemon?
> =20
>

xxvd. I already found the bug. The _DIE_ signal handler doesn't call the
quit() method, which is responsible for deleting the pid file. I've
forwarded this to the upstream author. I'll probably upload a patched
version tomorrow.

>The problem is here that start-stop-daemon don't work correctly with
>--exec cause xxvd is a script. But you can use --startas and --name -
>see vdr package of ctvdr for example.
> =20
>

I'll try this. Would you prefer this solution instead of relying on the
application to correctly create/delete it's pid file?

Tobias


--------------enig20352AD995B93A1CB6DB7E8F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQlMMbduQ2Pwwa2eDAQJ/RAf/Q826bEM2hFFDfHemhnPtRdM0kwpbAs4k
REPItu2Mgj2mq3vtiSIfOAWM2kKFbBSUcVZx+2Q5jjBQv0ngNznURIRaXOquamWr
OZe0sgvpIlw0a1ut7B3DdXYb3GO5HaY+bStDos0XhyFbE63nNaeJ68pUM77aXZHC
apZGfHHCoj4I/kUQ9TqqeXFyLbkuzi7jg0TA++XNy0+dPn3/ptg69jdonR8nsOxF
0P/7g0+CcLJ7GUtQNIrFsfwyD0vPf27cJ5NAwONDeYjrKGJnFLtJhsP5mLdxflzk
MfaXvp+Jh2lRbUPxM/I5flEhP3T7gn6b4rHwEzUrASN6qd60u5bEpg==
=rj7W
-----END PGP SIGNATURE-----

--------------enig20352AD995B93A1CB6DB7E8F--