[PATCH] sanitize when kernel starts init without any fd opened
Mike Frysinger
vapier at gentoo.org
Mon Jun 11 23:31:08 UTC 2007
On Monday 11 June 2007, Mike Frysinger wrote:
> On Monday 11 June 2007, Maxime Bizon wrote:
> > The kernel may be unable to open a console, and then starts init without
> > any fd opened. The previous code would end up opening /dev/null and set
> > std(in|out|err) to it for any inittab line with "terminal" field empty,
> > but the new code doesn't, and it took me some time to understand why
> > some daemons were not working.
>
> i think daemons not working means those daemons are broken, not init ...
lemme expound a little ... i think both should be addressed, not just putting
this back into /sbin/init and pretending the daemons are OK
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070611/dae3a51f/attachment-0002.pgp
More information about the busybox
mailing list