public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] inittab was: Re: Switchup-mode and boottime selector? Was: eselect init
@ 2013-05-30 20:52 William Hubbs
  2013-05-30 23:06 ` [gentoo-dev] " Luca Barbato
  0 siblings, 1 reply; 2+ messages in thread
From: William Hubbs @ 2013-05-30 20:52 UTC (permalink / raw
  To: gentoo-dev; +Cc: Luca Barbato

[-- Attachment #1: Type: text/plain, Size: 654 bytes --]

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?

If so, it is unfortunate that busybox init uses inittab and its inittab
is not compatible with sysvinit.

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.

What do you think?

William


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev] Re: inittab was: Re: Switchup-mode and boottime selector? Was: eselect init
  2013-05-30 20:52 [gentoo-dev] inittab was: Re: Switchup-mode and boottime selector? Was: eselect init William Hubbs
@ 2013-05-30 23:06 ` Luca Barbato
  0 siblings, 0 replies; 2+ messages in thread
From: Luca Barbato @ 2013-05-30 23:06 UTC (permalink / raw
  To: gentoo-dev

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-30 23:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-30 20:52 [gentoo-dev] inittab was: Re: Switchup-mode and boottime selector? Was: eselect init William Hubbs
2013-05-30 23:06 ` [gentoo-dev] " Luca Barbato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox