Re: Bug#732603: ITP: python-daemonize -- Python module for writing system daemons
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
Reply to: