On 05/30/2013 10:52 PM, William Hubbs wrote: > On Thu, May 30, 2013 at 08:30:00AM +0200, Luca Barbato wrote: >> Because it isn't just editing a file or rebuilding the kernel but also >> have a short trip in single mode to switch back and forth inittab. > > inittab is only used by sysvinit and busybox init right?
By anything that claims to be init-compatible. > If so, it is unfortunate that busybox init uses inittab and its inittab > is not compatible with sysvinit. Surely is. > I'm tending to agree with mgorny that a better fix for this might be to > have busybox use an alternate filename for its inittab, i.e. > first look for /etc/bb-inittab and use it, then if it can't find that, > use /etc/inittab as a fallback. sending patches should be easy. > What do you think? I stated the worst cases, I guess is time to draft stuff and see how it does behave. lu