LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-17-2005, 09:23 PM   #1
nin881
Member
 
Registered: Feb 2005
Location: Moorhead MN
Distribution: Ubuntu 6.10
Posts: 59

Rep: Reputation: 15
Runlevels


I was looking to see what daemons started at the gui runlevel, usually runlevel 5. So, I looked in the /etc directory and there was no rc5.d directory in there. all I could find was the rc.d directory which had the rc4.d config file. It stated that in was the config runlevel. I'm used to Fedora and this is quite different. Where do you select the default daemons for the run level in slack? I couldn't find anything in th /etc directory.

Thanks,
Tom
 
Old 05-17-2005, 09:31 PM   #2
username17
Member
 
Registered: Aug 2004
Location: Norfolk VA
Distribution: Slackware 11
Posts: 230

Rep: Reputation: 30
Hello,
Do you want to configure which daemons run at boot?
Edit /etc/inetd.conf, comment or uncomment the services and restart inetd.

If this isn't it and you want to specify daemons per run lvl, I'm not too sure about that.
Either way, GL.
-Jason
 
Old 05-17-2005, 10:35 PM   #3
nin881
Member
 
Registered: Feb 2005
Location: Moorhead MN
Distribution: Ubuntu 6.10
Posts: 59

Original Poster
Rep: Reputation: 15
Yep, I wanted to see what daemons started at boot. With Fedora/Redhat you just go into the rc5.d and rename the files to have a S for start or a K for kill. It confused me when those directories didn't exist. I'll check out the intid.conf file after work.

Thanks, much appretiated
Tom
 
Old 05-18-2005, 07:18 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you could use pkgtool ( needs to be run as root)
 
Old 05-18-2005, 07:26 AM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
To see a overview about the /etc/rc.d directory go here: http://www.slackware.com/book/index....SYSTEMOVERVIEW
and scroll to The /etc/rc.d Directory
Basically, you don't have runlevel directories, but file, and each service (if started stand-alone, you could use /etc/inetd.conf as stated, but this works only for network apps) is given a rc file. Like Apache has /etc/rc.d/rc.httpd, SSHd has /etc/rc.d/rc.sshd. To know if it will be run as startup, you just have to see if the file is executable or not (the permissions).
pkgtool as __J said, has a front-end to this rc files, it will basically make them executable or not depending on what you choose. To change the permissions manually, just chmod -x /etc/rc.d/rc.httpd for example.

Last edited by gbonvehi; 05-18-2005 at 07:27 AM.
 
Old 05-18-2005, 09:18 AM   #6
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 30
GUI in Slackware is usually runlevel 4.

As for what's running, the same services as runlevel 3. Everything that's executable in /etc/rc.d/
In addition, it runs /etc/rc.d/rc.4, which calls GDM, KDM, or XDM in that order of preference. The only difference between RL3 and RL4 in Slack is that RL4 has X running.
 
Old 05-20-2005, 06:18 PM   #7
nin881
Member
 
Registered: Feb 2005
Location: Moorhead MN
Distribution: Ubuntu 6.10
Posts: 59

Original Poster
Rep: Reputation: 15
What I was trying to do was to mount an NFS share on to my new slack system and the mount command hung until you close the term. It is much different than my fedora system. I needed to enable the portmap file so I made it excutable. where do you find the nfsd and smbd services?

Thanks,
tom
 
Old 05-21-2005, 03:24 AM   #8
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
rc.nfsd and rc.samba
 
Old 05-21-2005, 03:50 AM   #9
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
The longer anwer would be: go into /etc/rc.d. There you'll find three scripts of interest: rc.samba, rc.portmap and rc.nfsd.

First read them, there's some interesting comments inside. Then make sure they're executable (chmod +x), this way they'll get started at the next boot.

To start them right away without rebooting, execute them with the "start" option (e.g. "./rc.samba start").

HTH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LILO and Runlevels TomalakBORG Linux - General 5 08-11-2012 05:32 AM
Question About Runlevels opsraja Fedora 6 11-24-2004 03:53 PM
RunLevels bcom Mandriva 3 05-31-2004 08:07 PM
runlevels? Computergirl24 Linux - Software 4 12-26-2003 05:45 PM
runlevels kriver Linux - General 1 03-13-2002 06:55 PM


All times are GMT -5. The time now is 04:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration