inittab vs. /etc/sysconfig/init for runlevel 3/5

Jeremy Katz katzj at redhat.com
Thu Mar 27 13:55:46 UTC 2008


On Thu, 2008-03-27 at 08:56 -0400, Bill Nottingham wrote:
> Initially, we added a quick hack that read /etc/inittab solely to determine
> the default runlevel. Based on a bug I filed (#432384), we changed that so
> that the key for runlevel 3 vs. runlevel 5 is GRAPHICAL in /etc/sysconfig/init,
> and we'e planning to just remove the inittab file to make things more obvious.
> 
> I'm open to better ideas, though - should we ship a trimmed inittab that
> contains *only* the initdefault line? Should we introduce a new configuration
> flag somewhere else? Does it really matter in the long run?

Well, if it's going to go/not be used, then we need to fix at least
anaconda and livecd-creator to write things elsewhere.  In which case,
it'd be nice if /etc/inittab goes away too so that we can key behavior
accordingly

Jeremy




More information about the devel mailing list