> 
 > > How to fix it in daemons and init. Example from login.c
 > 
 > We may and should patch busybox code so it behaves correctly in the "no
 > fd opened" case.
 > 
 > But embedded systems (and moreover desktops) often run more than
 > busybox. Should we impose patching all other code with something like
 > bb_daemonize_or_rexec() ?
 > 
 > I think it's against busybox purpose of reducing code size.
 > 
 > Not to mention the difficulty for users of identifying the problem at
 > first. Any bug caused by this vanishes when you foreground the daemon,
 > run it from a shell instead of init, or even try to open a trace file to
 > understand what's happening.

i agree.  the current init behavior is clearly broken.

paul
=---------------------
 paul fox, [EMAIL PROTECTED]
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to