Patch: Fix zcip deamonization...
Denis Vlasenko
vda.linux at googlemail.com
Wed Feb 14 20:47:58 UTC 2007
On Wednesday 14 February 2007 17:53, David Daney wrote:
> The mailing list was broken yesterday. I am resending this message:
>
> -------- Original Message --------
> Subject: Patch: Fix zcip deamonization...
> Date: Tue, 13 Feb 2007 13:09:24 -0800
> From: David Daney <ddaney at avtrex.com>
> To: busybox at busybox.net
>
> In r17390 the call to xdaemon(0, 0) was replaced with a call to
> bb_daemonize(). This does not work because bb_daemonize() closes all
> open file descriptors and zcip opens its socket before daemonzing.
>
>
> The fix is to revert to using xdaemon(0, 0). I also removed the call to
> setsid(), as it is usless in this context.
>
> Please commit if OK.
DOH! :( Thanks!
--
vda
More information about the busybox
mailing list