#325: How we could do gen_system_runlevel less cludgy
-------------------------------------+--------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jimmy
Type: defect | Status: assigned
Priority: high | Milestone:
Component: Progress Report | Version: unspecified
Severity: normal | Resolution:
Keywords: |
-------------------------------------+--------------------------------------
Changes (by jimmy):
* status: new => assigned
* owner: [EMAIL PROTECTED] => jimmy
Old description:
> Hi all.
> gen_system_runlevel as of today is mostly a big cludge, since many
> different
> persons (including myself) has coded in the functionality for their
> distro
> without any overall planning (for example the check_and_add function
> doesn't
> make any sense whatsoever in Fedora). To solve this situation I think we
> have to
> collect some information about how things work in different distros
> (which would
> surely be of use in other places of this project too).
>
> I'll simply start with some information about how things work in Fedora
> and hope
> that others will fill in:
>
> SysVinit in fedora mainly uses two runlevels for everyday use, 3 and 5. 5
> is the
> normal one for GUI boot (so the normal case in inittab is
> id:5:initdefault:) and
> 3 is used for non-GUI boot. Service files for these reside in
> /etc/rc.d/rcX.d,
> with also symlinks pointing from /etc/rcX.d. Display manager however is
> started
> directly from inittab, using the line "x:5:once:/etc/X11/prefdm
> -nodaemon" (and
> /etc/X11/prefdm is a script that checks which dm to start).
>
> In system.runlevel Fedora needs (accept for what's already there) the
> system/audit service. And system/coldplug doesn't work in Fedora.
>
> In default.runlevel we need dcron, anacron, hald, klogd, syslogd, portmap
> and
> dbus (and probobly some more).
New description:
Hi all.
gen_system_runlevel as of today is mostly a big cludge, since many
different
persons (including myself) has coded in the functionality for their distro
without any overall planning (for example the check_and_add function
doesn't
make any sense whatsoever in Fedora). To solve this situation I think we
have to
collect some information about how things work in different distros (which
would
surely be of use in other places of this project too).
I'll simply start with some information about how things work in Fedora
and hope
that others will fill in:
SysVinit in fedora mainly uses two runlevels for everyday use, 3 and 5. 5
is the
normal one for GUI boot (so the normal case in inittab is
id:5:initdefault:) and
3 is used for non-GUI boot. Service files for these reside in
/etc/rc.d/rcX.d,
with also symlinks pointing from /etc/rcX.d. Display manager however is
started
directly from inittab, using the line "x:5:once:/etc/X11/prefdm -nodaemon"
(and
/etc/X11/prefdm is a script that checks which dm to start).
In system.runlevel Fedora needs (accept for what's already there) the
system/audit service. And system/coldplug doesn't work in Fedora.
In default.runlevel we need dcron, anacron, hald, klogd, syslogd, portmap
and
dbus (and probobly some more).
Comment:
Is there any kind soul out there that can do a complete rewrite of
gen_system_runlevel to a better more generic tool?
--
Ticket URL: <http://www.initng.org/ticket/325>
InitNG <http://www.initng.org/>
The Next Generation InitSystem
_______________________________________________
Tickets mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/tickets