Could also be xinetd, depending on which you use. Also depends on what distribution you're running. My SuSE rc2.d has a S05network, and a specific S20inetd in rc2.d. RedHat has S10network, but does not start xinetd. Debian's default runlevel is 2, which has a S20inetd.
---- Robert P. Nix internet: [EMAIL PROTECTED] Mayo Clinic phone: 507-284-0844 RO-CE-8-857 page: 507-270-1182 200 First St. SW Rochester, MN 55905 ---- "Codito, Ergo Sum" "In theory, theory and practice are the same, but in practice, theory and practice are different." > -----Original Message----- > From: Fargusson.Alan [SMTP:[EMAIL PROTECTED] > Sent: Friday, June 27, 2003 10:26 AM > To: [EMAIL PROTECTED] > Subject: Re: Changing runlevels etc > > I will state up front that I am not that familiar with the organization used for > Linux run levels. Having said that: in my experience run levels 2 and 3 are both > fully functional, and not used for backups as you are suggesting. In some systems I > have used run level 2 had everything enabled, and run level 3 was everything except > networking (no rsh, rcp, rlogin, telnet, ftp, etc.). You may want to look at what > some of the other run levels do. You may find that run level 4, or 5 are not used, > and you could implement what you want as one of these. > > As for telnet: it starts from inetd, which probably starts from the S05network > script. It should be configured in /etc/inetd.conf. > > -----Original Message----- > From: James Melin [mailto:[EMAIL PROTECTED] > Sent: Friday, June 27, 2003 8:08 AM > To: [EMAIL PROTECTED] > Subject: Changing runlevels etc > > > I have been reviewing the start/stop functions within the various rcx.d > entries and I think I have a handle on this....but I want to run this past > the reflecting pool of wisdom known as the Linux-390 list. > > What I believe I need to do in order to get my boulder sized backups > without taking the linux LPAR all the way down/up is this: > > Change to runlevel 2, and let the system handle getting various things down > through normal channels. > > Runlevel 2 is going to start the following, by default (not sorted by > number - sorry) > > S02dhclient > S10at > S05network > S10mysql > S07route > S10quota > S08proftpd > S10raw > S08snmpd > S11lpd > S01SuSEfirewall_init > S08syslog > S11smbfs > S01dummy > S10acct > S11xntpd > S01random > S10argus > S12cron > > My question is this: Where does telnet get started, will it stay active > through a runlevel 3-2 shift and if not how does one start it. Secondly, > since I don't use the SuSE Firewall, is there a point to me having this in > rc2.d? I also wont need the SMBFS or mysql started. I'm just loathe to > remove things from rc2.d since they are 'stock' and would be replaced in an > OS upgrade > > Why runlevel 2? I want everything to halt so I can run a script that will > take the file systems one by one and mount them read only and initiate a dd > disk copy to a matching set of spare volumes. I'm not sure that I want the > system in single user mode, since our operators really don't have anythign > to do with this, and I want to be able to telnet into the box if I have to > dial into work to fix things. > > Once the dasd has been mirrored, I want to take it offline to linux, send > the system back to runlevel 3 and continue on. The one problem I'm having > is with a component of DB2 connect coming up. I have had to manually issue > db2start from the db2inst1 ID after the system is up, so I also need to > know if it's possible for a script to do an su to the db2inst1 ID and still > issue a command when it's time to bring the system back to runlevel 3 > > any examples of unix shell scripts that do things like this I could see > would be most helpful. > > All this for lack of a backup client that doesn't suck, since I cant play> > in the 3494 because nobody here trusts linux/amanda to handle it properly
