inittab vs. /etc/sysconfig/init for runlevel 3/5
Clark Williams
williams at redhat.com
Sat Mar 29 12:54:32 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daniel P. Berrange wrote:
> On Thu, Mar 27, 2008 at 01:24:38PM -0400, Will Woods wrote:
>> On Thu, 2008-03-27 at 11:45 -0500, Michael E Brown wrote:
>>> On Thu, Mar 27, 2008 at 01:57:08PM +0000, Daniel P. Berrange wrote:
>>>> On Thu, Mar 27, 2008 at 02:53:31PM +0100, Ralf Ertzinger wrote:
>>>>> Hi.
>>>>>
>>>>> On Thu, 27 Mar 2008 08:56:40 -0400, Bill Nottingham wrote:
>>>>>
>>>>>> 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?
>>>>> At the very least leave an inittab file that contains a note that it
>>>>> is not used anymore. Much better than having to find out the new
>>>>> structure on your own.
>>>> Yes, it should have a comment pointing to /etc/sysconfig/init. And on a
>>>> related note where can you configure the starting of mingetty/agettty
>>>> processes for serial consoles / text consoles,
>> /etc/event.d/tty[1-6] and /etc/event.d/serial
>>
>>> and where do you override the default C-A-D handling ?
>> /etc/event.d/control-alt-delete
>>
>> There should probably be comments in the new /etc/inittab that point
>> people to these files (and a mention of a reference for event file
>> syntax). Something like:
>
> This information should be in the man pages for init. The current upstart
> man page doesn't cover any of this stuff
>
> Dan.
+1
Being an old UNIX hacker that is familiar with traditional init behavior, I was quite
confused when my console login disappeared and my laptop booted into GDM. It took me
quite a bit of digging to finally understand the startup logic for upstart (at least
I *think* I understand it). Might be a good idea to put some sort of blurb in the
init(8) manpage that tells how events get propagated.
As I understand it, everything in the current setup (runlevel emulation) keys from
the "start on startup" phrase in rcS. Maybe a comment in rcS that all the runlevel
stuff starts there?
Clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkfuPAcACgkQHyuj/+TTEp2JPQCghCs2O70spDZ7bHVLoMISe/lD
3p8An0opP0dCiii+hDzghHPBypxL0mgn
=s6ou
-----END PGP SIGNATURE-----
More information about the fedora-devel-list
mailing list