[ccan] ccan/daemonize fails under Ubuntu

Stewart Smith stewart at flamingspork.com
Tue Oct 29 17:32:46 EST 2013


Rusty Russell <rusty at rustcorp.com.au> writes:
> So, Ubuntu's Upstart now has an init --user, which takes the place of
> init in adopting orphans.
>
> This breaks the daemonize tests (and daemon_with_notify) which expect
> getppid() to be 1.
>
> I think we can relax this test: getppid() changing to anything should be
> enough, I think.
>
> Stewart?  If you're happy, I can make the changes.

As much as one can be happy in Ubuntu breaking something that has been
true for what must be approaching 40 years, yep, I'm happy for you to
make the changes.

-- 
Stewart Smith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20131029/53c9b346/attachment.sig>


More information about the ccan mailing list