You are not logged in.

#1 2008-06-06 15:21:13

trotos
Member
Registered: 2008-05-29
Posts: 28

when I do changes in rc.conf...how do I apply them? and a few Q on M&D

When I change both MODULES and DAEMONS in rc.conf (as root of course) do I have to to type/run a specific command that will enable/disable certain functions in the kernell, or those lines exist to enable/disable on-the-fly specific directives of the kernell?

as examble the acpid after the
# pacman -S acpid
I include the appropriate command in the deamons
then?
if I blacklist the acpid in deamons then do I need to run a specific command?

Last edited by trotos (2008-06-06 16:06:21)

Offline

#2 2008-06-06 15:29:50

droog
Member
Registered: 2004-11-18
Posts: 877

Re: when I do changes in rc.conf...how do I apply them? and a few Q on M&D

i dont use acpid, but all your daemons you can start and stop by doing as root

/etc/rc.d/acpid start
/etc/rc.d/acpid stop

Offline

#3 2008-06-06 15:32:06

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: when I do changes in rc.conf...how do I apply them? and a few Q on M&D

The modules and daemons entries in rc.conf really only apply when you're starting up or shutting down - the MODULES line says "load or blacklist these modules at startup" and the DAEMONS line says "load or blacklist these daemons at startup"

If you want to actually START the services while the machine is still running, or load the modules, you have to do

/etc/rc.d/service start

or

modprobe module

Offline

#4 2008-06-06 15:34:39

droog
Member
Registered: 2004-11-18
Posts: 877

Re: when I do changes in rc.conf...how do I apply them? and a few Q on M&D

i win smile your post was alot more informative though.

Offline

#5 2008-06-06 16:05:40

trotos
Member
Registered: 2008-05-29
Posts: 28

Re: when I do changes in rc.conf...how do I apply them? and a few Q on M&D

hmmmmmm...everyday one man learns something new...
I  knew about the

/etc/rc.d/service start

but what has to do with the kernell?

maybe nothing if i understand correctly, so no need to do everytime a compiling(if I ever had done one!!!???

instead it just call specific actions during boot,

another thing I do not understand from the wikis is the difference between MODULES and DAEMONS and how do I find out the best order for them, and the ones that should be used with the @, is there any rule of the thumb?

Last edited by trotos (2008-06-06 16:07:30)

Offline

#6 2008-06-06 17:39:36

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: when I do changes in rc.conf...how do I apply them? and a few Q on M&D

modules and daemons are pretty standard faire in the Linux world.  You could easily google them and find the difference, but since I'm feeling kind I'll explain it here.

Modules:  These are kernel "drivers" essentially - they plug in to the kernel and tell it how to run hardware, for example
Daemons: These are applications that run in the background and provide some service - syslog-ng handles the creation of system logfiles in /var/log, mpd is a music playing daemon, etc...

As for ordering daemons, that's all based on dependencies.  If something depends on the network being up, it should come after the network daemon, for example.   For backgrounding them (pre-pending @), again that's up to you.  It only really affects boot speed - I have some of the "less-critical" daemons backgrounded, like archstats, mpd, mediatomb, and a few others I forget right now.

Offline

#7 2008-06-07 00:23:29

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: when I do changes in rc.conf...how do I apply them? and a few Q on M&D

@Cerebral:

You can speed up your boot by removing the archstats daemon.  Archstats is dead.  http://bugs.archlinux.org/task/9608

Offline

Board footer

Powered by FluxBB