/etc/rc.config, SuSE or LSB
Is specifying which init scripts start via the rc.config file a convention specific to SuSE or is it part of the Linux Standard Base? Thanks, Jason Joines ---------------------------------------------------------
Jason Joines wrote:
Is specifying which init scripts start via the rc.config file a convention specific to SuSE or is it part of the Linux Standard Base?
I think it's not LSB, which is why our next release won't have it any more. The original intent was to prevent support questions from people who messed with the links via "ln -s". This is not a big problem any more, since the most important problem - the sequence, the number in the link name - is now taken care of automatically by the LSB mechanisms. See the header of each init file under /etc/rc.d/ e.g. in SuSE Linux 7.3, this has the info used to automatically calculate those numbers. So no one needs to use or even should be using "ln -s" these days, so our (support) concern has been taken care of by LSB by other means. The first signs of our switch away from the start variables is in 7.3 already, since we are already using the LSB compliant program "insserv" (man insserv, for how to use see e.g. "rpm -q --scripts openssh" for what we do during package installation/removal) and have the "runlevel editor" module for yast2. My info is not complete since I'm not involved with development, I'm also just a user, but this is the info I gathered over time... Michael
On Fri, 8 Feb 2002, Michael Hasenstein wrote:
See the header of each init file under /etc/rc.d/ e.g. in SuSE Linux 7.3, this has the info used to automatically calculate those numbers.
Actually, it's /etc/init.d, as defined by the LSB. However, we provide a "compatibility/stubborness symlink" /etc/rc.d/ :) Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Deutschherrnstr. 15-19 http://www.suse.de/~grimmer/ 90429 Nuernberg, Germany Try to divide your time evenly to keep others happy.
On Fri, 8 Feb 2002, Jason Joines wrote:
Is specifying which init scripts start via the rc.config file a convention specific to SuSE or is it part of the Linux Standard Base?
No, using the START_* variables in addition to having symlinks for all runlevels is SuSE-specific and not defined in the LSB. As Michael already mentioned, they will be removed for the next release and rc.config in general will be cleaned up heavily. The START_* variables make it easy to enable or disable a service, but they are not very flexible (you cannot define the startup of a script on the basis of individual run levels). Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Deutschherrnstr. 15-19 http://www.suse.de/~grimmer/ 90429 Nuernberg, Germany Try to divide your time evenly to keep others happy.
participants (3)
-
Jason Joines
-
Lenz Grimmer
-
Michael Hasenstein