[opensuse-factory] understanding of Required-Start in init scripts
Hi, i have a short question, for my understanding of the init scripts. I understand that there are dependencies between them, in order to have parallel launch not messing up. Makes all sense to me. The only thing I do not completely understand is the difference between Required-Start: $network and Required-Start: dbus (the difference that one requires the network and the other one the service dbus is obvious to me. Please don't explain the literal difference of the two lines. My question is more regarding the "$" sign in from of network. It does not match ANY of the Provides line in the scripts; 'network' has Provides: network. And dbus has Provides: dbus. yet, if there must be a difference between the two ways of writing I guess? (I stumbled over it when extending a script to make sure mysql is started before. $mysql did not help it, mysql did. Thanks for enlightening me. Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
At Mon, 18 May 2009 09:26:27 +0200, Dominique Leuenberger wrote:
Hi,
i have a short question, for my understanding of the init scripts. I understand that there are dependencies between them, in order to have parallel launch not messing up. Makes all sense to me.
The only thing I do not completely understand is the difference between
Required-Start: $network and Required-Start: dbus
(the difference that one requires the network and the other one the service dbus is obvious to me. Please don't explain the literal difference of the two lines.
My question is more regarding the "$" sign in from of network.
See the man page of insserv. The system facilities are defined in /etc/insserv.conf. Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 5/18/2009 at 9:36, Takashi Iwai
wrote: See the man page of insserv. The system facilities are defined in /etc/insserv.conf.
Thank you very much Takashi. I tend to forget how well most things are documented in our world ;) Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Dominique Leuenberger wrote:
On 5/18/2009 at 9:36, Takashi Iwai
wrote: See the man page of insserv. The system facilities are defined in /etc/insserv.conf. Thank you very much Takashi. I tend to forget how well most things are documented in our world ;)
I'm trying to merge the information from http://en.opensuse.org/SUSE_Package_Conventions/Init_Scripts into http://en.opensuse.org/Packaging/SysV_Init_Script Both these pages might be a good source of information for you. (Red text has not been reviewed and might apply for Fedora only ...) -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (3)
-
Dominique Leuenberger
-
Pavol Rusnak
-
Takashi Iwai