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

Nils Philippsen nphilipp at redhat.com
Fri Mar 28 10:32:05 UTC 2008


On Thu, 2008-03-27 at 15:09 +0100, Dennis Jacobfeuerborn wrote:
> Bill Nottingham wrote:
> > With the switch to upstart, we obviated the need for /etc/inittab (upstart
> > does not need it, nor read it.)
> >
> > 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 suggested on fedora-test-list to just rename it to inittab.rpmsave 
> because there might be customizations in that file that the admin wants to 
> preserve/adopt. Appending ".rpmsave" has the following benefits:

/etc/inittab is already marked as %config(noreplace) which would leave
the new file as .rpmnew on updates of the initscripts package or (in the
case of the file moving to another package, e..g upstart) possibly
as .rpmsave or .rpmorig -- we should verify that and plan accordingly,
perhaps we need some anaconda hacks to make upgrades go smoothly here?

Nils
-- 
     Nils Philippsen    /    Red Hat    /    nphilipp at redhat.com
"Those who would give up Essential Liberty to purchase a little Temporary
 Safety, deserve neither Liberty nor Safety."  --  B. Franklin, 1759
 PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011




More information about the fedora-devel-list mailing list