[Bug 173459] Review Request: initng

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 25 10:18:56 UTC 2005


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: initng


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173459


gauret at free.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|163776                      |163778
              nThis|                            |




------- Additional Comments From gauret at free.fr  2005-11-25 05:18 EST -------
I have the same problem with the console font on boot, but I guess it's not
top-priority right now.

Concerning USB, changing the modprobe call to load usb-controller1 in
system/usb.i worked for me. I guess we can patch it to modprobe usb-controller
and usb-controller1, since the output is redirected to dev/null anyway

I've spent some time writing init script to get all the services I'm running in
initng. You'll find them here :
http://gauret.free.fr/fichiers/rpms/fedora/initng/
Not all of them should be added to the rpm, but some of them are useful :
 - audit.i (goes in system/, not daemon/) : launched by default on Fedora
 - cups-config-daemon.i : allows dynamic adding of printers via HAL
 - dhcpd.i : basic daemon
 - httpd.i : apache is called httpd on Fedora
 - init.i : this is a wrapper around legacy init scripts. Call the service as
daemon/init/spamassassin for example, and it will execute
"/etc/init.d/spamassassin start"
 - mDNSResponder.i : implementation of Apple's Rendezvous. Started by default on
Fedora
 - mysql.i : fixed the damon_args and commented out the pid_file which confuses
initng (the started daemon is mysqld_safe, and the pid refers to the first
child, mysqld)
 - named.i : basic daemon
 - postfix.i : basic daemon
 - snmpd : basic daemon
The other scripts (nagios, nvidia-glx, pure-ftpd, shorewall, smartd, ulogd) can
be useful too, it's up to you to decide if you want to include them in the rpm
or not.
This leads me to another question: what is the best way for a package to ship
it's init script ? Surely the ining project cannot ship .i files for every
daemon in the wild. For example, I maintain the pure-ftpd and ulogd rpms, should
I just package them as documentation, or is there a way to make them available
to initng directly ? (I could use triggers, but I've learned that it's evil
*wink Mickael* ). Anybody ?

A few of the services in my "chkconfig --list" list are still missing, and I did
not write a .i file for them yet : nfs server (too complicated for me), kudzu
(I'm afraid of this beast, will write a .i file one day maybe), and readahead
(guess it's not needed anymore :) )

A last question : in a .i file, can a service declare itself as "being_used_by"
? For example, there is an init script for the nvidia driver shipped by
rpm.livna.org, that we cannot include in fedora. But if this script is present,
it should be started before {g,k,x}dm. We can't modify gdm.i to add "use =
nvidia-glx" because it is not part of fedora. Can the nvidia-glx.i file have
some kind of "used_by" directive ?

OK, with the USB fix and the basic init scripts, I think we're getting close to
a first usable Fedora-integrated version of initng. Thanks for the work you've
put into this guys

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list