[BusyBox] Starting services with busybox init
Erik Andersen
andersen at codepoet.org
Mon Mar 4 10:10:04 UTC 2002
On Mon Mar 04, 2002 at 07:44:41AM -0800, Matt Kraai wrote:
>
> BusyBox init doesn't detach rcS from the terminal, so that
> processes spawned therein receive a SIGHUP and die if they don't
> detach in time.
So what more do we need to do to detach client programs from the
terminal? After the fork I close all file descriptors and call
setsid() -- isn't that enough? I guess I am missing something...
<goes and looks at sysvinit sources>
Ok, I think I see what needs to be done...
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20020304/91f2e348/attachment.pgp
More information about the busybox
mailing list