The setup on SLES8 is more like Redhat now. The old system built a runlevel link for every task, and had rc.config variables to let the scripts decide whether or not to start the daemons. The new version depends on the existence of the links in each runlevel directory (/etc/init.d/rc?.d), and they have a Redhat-style runlevel editor. For this reason, the scripts are not completely compatible between versions. I've had to build SLES8-specific versions of my custom packages because of this.
There's a line mode command called "insserv" that manages the links. It depends on a comment block in the startup script to determine the sequence of the daemons. There's a man page for it that describes not only the program, but the format of the comment block too. A couple of caveats though: 1) Insserv checks the whole init.d directory, so make sure you don't have any extra or backup files in it. At best, you'll only get an error message, but at worst you might end up trying to start a daemon twice. 2) If you have a script that doesn't contain the required comment block, it will get placed at the BEGINNING of the startup sequence. Even if you make the symlink manually, insserv (or chkconfig) might go through and resequence the links (we've seen this happen on SLES7 too). If that happens, vendor add-on products that don't have the right stuff in the scripts might try to start too early. This bit us with Patrol and TSM. > -----Original Message----- > From: Sal Torres/SBC Inc. [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 29, 2003 8:32 AM > To: [EMAIL PROTECTED] > Subject: Re: [LINUX-390] SLES 8 question - starting things > > > *** Reply to note of Wed, 28 May 2003 12:54:17 -0700 (MST/PDT) > *** by [EMAIL PROTECTED] > > Lots of the stuff moved to the /etc/sysconfig directory > > Sal > > "Wolfe, Gordon W" <[EMAIL PROTECTED]> writes: > >I'm working on the same think Marcy is. there are LOTS of > things that = > >don't exist in SLES8 that used to in SLES7. Where did they go? = > >/etc/rc.config is a good place to start. I see that some of > the stuff = > >has moved to /etc/sysconfig, but not all. Where did it go? > Where's the = > >documentation? > > > >"Great Minds discuss ideas. Average minds discuss events. > Small minds = > >discuss people." - Admiral Hyman Rickover > >Gordon Wolfe, Ph.D. (425)856-5940 > >VM Enterprise Servers, The Boeing Company > > > >> ---------- > >> From: Marcy Cortes > >> Reply To: Linux on 390 Port > >> Sent: Wednesday, May 28, 2003 12:47 PM > >> To: [EMAIL PROTECTED] > >> Subject: SLES 8 question - starting things > >>=20 > >> I'm still trying to figure out where to place things that > >> used to be in the /etc/rc.config in SLES 7. > >>=20 > >> For instance, I want to start Mysql and SNMPD. In Sles 7 > >> rc.config contained: > >> START_MYSQL =3D "yes" > >> START_SNMPD =3D "yes" > >>=20 > >> Where do I do this under SLES 8? (and where is this stuff = > >documented???) > >> Marcy Cortes > >> Wells Fargo Services Co > >>=20 > >>=20 >
