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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bill Nottingham wrote:
Bill Nottingham (notting@xxxxxxxxxx) said:
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'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?

OK, upon further consideration:

- We're still supporting SysV runlevels in F9
- Given that, we need to support people who customize it beyond 3 and 5
- Rather than invent a new file/key for that (as GRAPHICAL= doesn't cut it), it
probably makes sense to just leave it in inittab for now, and revisit when we've
done more migration

Hence, I'll flip things back in event-compat-sysv, and anaconda - the 'id:'
line in inittab will be read for the default runlevel. (If it's not there,
it will default to 3.)

initscripts with an appropriately neutered inittab with commentary will
show up at some point today. man pages for upstart event syntax will
follow.

All clear as mud?

what happened with the respawn lines?
is there anything similar in upstart? with normal services in init.d/ it's not possible.

--
  Levente                               "Si vis pacem para bellum!"

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux