[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#732603: ITP: python-daemonize -- Python module for writing system daemons



Control: tag -1 wontfix

Hi all,

On  Fr 20 Dez 2013 03:02:06 CET, Zbigniew Jędrzejewski-Szmek wrote:

On Thu, Dec 19, 2013 at 10:19:55AM +0000, Neil Williams wrote:
On Thu, 19 Dec 2013 10:46:02 +0100
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> wrote:

> Package: wnpp
> Severity: wishlist
> Owner: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
>
> * Package name    : python-daemonize
>   Version         : 2.2.1
>   Upstream Author : Ilya Otyutskiy <ilya.otyutskiy@icloud.com>
> * URL             : http://pypi.python.org/pypi/daemonize
> * License         : Expat
>   Programming Lang: Python
>   Description     : Python module for writing system daemons

How does this compare to python-daemon which already exists in Debian
and which does the same job?
Hi,
this probably should wait until [1] is resolved.

Nevertheless, looking at http://daemonize.sourceforge.net/daemonize.txt,
this package is racy: the parent exits before child is ready (or
even executed). This means that it cannot be used to reliably start a
dameon. A nice write-up of what is necessary is in [2].

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727708
[2] http://www.freedesktop.org/software/systemd/man/daemon.html

I have just asked on #debian-ftp to reject my already uploaded package as I also have found a couple of issues with python-daemonize after several more tests (stderr not cleanly closed, exception when a process exits cleanly and the method registered with atexit is evoked, etc.).

Meanwhile I could implement my code project using python-daemon and it indeed works much cleaner!!!

Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgp8BwWUwZq5u.pgp
Description: Digitale PGP-Signatur


Reply to: