You are not logged in.

#1 2008-08-16 21:45:33

adamruss
Member
Registered: 2008-01-17
Posts: 142

rc.conf deamons array - question

i have a question about the deamon array in rc.conf, this is mine:

DAEMONS=(preload syslog-ng dbus acpid netfs alsa crond hal acpi-support fam stbd wicd gpm cups samba asusoled-clockd bluetooth transmissiond sshd)

i know there is an order for some things, i just dont know what, so my question, is my order ok? if not what do i need to switch?
thanks


CPU: MacBook Pro 5,5
TB: OSX 10.6 / Windows 7 / Ubuntu 9.10

Offline

#2 2008-08-16 21:50:01

Inxsible
Administrator
From: Chicago burbs
Registered: 2008-06-09
Posts: 9,020

Re: rc.conf deamons array - question

adamruss wrote:

i have a question about the deamon array in rc.conf, this is mine:

DAEMONS=(preload syslog-ng dbus acpid netfs alsa crond hal acpi-support fam stbd wicd gpm cups samba asusoled-clockd bluetooth transmissiond sshd)

i know there is an order for some things, i just dont know what, so my question, is my order ok? if not what do i need to switch?
thanks

As long as the daemons are independent of each other, it hardly matters what order they are started in. The only thing is that the syslog-ng is used for logging...so you always want to start that before anything else so that in case there are errors in starting any daemon, they will logged and you can see them later.

I am not sure what 'preload' daemon is. Also you might want to start the unimportant ones in the background by prefixing them with an '@' sign so that your boot up would be quicker.

Offline

#3 2008-08-16 21:57:58

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: rc.conf deamons array - question

One more thing: hal starts the dbus daemon, so you don't really need dbus in your daemons list.

Offline

#4 2008-08-16 22:12:11

adamruss
Member
Registered: 2008-01-17
Posts: 142

Re: rc.conf deamons array - question

Inxsible wrote:
adamruss wrote:

i have a question about the deamon array in rc.conf, this is mine:

DAEMONS=(preload syslog-ng dbus acpid netfs alsa crond hal acpi-support fam stbd wicd gpm cups samba asusoled-clockd bluetooth transmissiond sshd)

i know there is an order for some things, i just dont know what, so my question, is my order ok? if not what do i need to switch?
thanks

As long as the daemons are independent of each other, it hardly matters what order they are started in. The only thing is that the syslog-ng is used for logging...so you always want to start that before anything else so that in case there are errors in starting any daemon, they will logged and you can see them later.

I am not sure what 'preload' daemon is. Also you might want to start the unimportant ones in the background by prefixing them with an '@' sign so that your boot up would be quicker.

what do you mean unimportant?


CPU: MacBook Pro 5,5
TB: OSX 10.6 / Windows 7 / Ubuntu 9.10

Offline

#5 2008-08-16 22:34:18

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: rc.conf deamons array - question

adamruss wrote:
Inxsible wrote:
adamruss wrote:

i have a question about the deamon array in rc.conf, this is mine:

DAEMONS=(preload syslog-ng dbus acpid netfs alsa crond hal acpi-support fam stbd wicd gpm cups samba asusoled-clockd bluetooth transmissiond sshd)

i know there is an order for some things, i just dont know what, so my question, is my order ok? if not what do i need to switch?
thanks

As long as the daemons are independent of each other, it hardly matters what order they are started in. The only thing is that the syslog-ng is used for logging...so you always want to start that before anything else so that in case there are errors in starting any daemon, they will logged and you can see them later.

I am not sure what 'preload' daemon is. Also you might want to start the unimportant ones in the background by prefixing them with an '@' sign so that your boot up would be quicker.

what do you mean unimportant?

You could bacground "alsa gpm cups samba bluetooth".

Oh, and if you don't use any network filesystems remove netfs. Don't have any cronjobs remove crond.


Arch - It's something refreshing

Offline

#6 2008-08-16 23:05:08

adamruss
Member
Registered: 2008-01-17
Posts: 142

Re: rc.conf deamons array - question

DAEMONS=(syslog-ng preload hal acpid fam stbd wicd @acpi-support @alsa @gpm @cups @samba @asusoled-clockd @bluetooth @transmissiond @sshd kdm)

better?


CPU: MacBook Pro 5,5
TB: OSX 10.6 / Windows 7 / Ubuntu 9.10

Offline

#7 2008-08-17 11:33:36

Tg
Member
Registered: 2008-04-23
Posts: 35

Re: rc.conf deamons array - question

^
Little off-topic here ,but what's the different between background and not ?

Offline

#8 2008-08-17 11:58:57

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: rc.conf deamons array - question

Tg wrote:

^
Little off-topic here ,but what's the different between background and not ?

Starting in the Background: Your boot process doesn't wait for the daemon to start, resulting in a faster boot process. Now before you prefix all your daemons with @, remember that some daemons rely on other daemons running, so if you send such daemons to the background things could get messy wink .

Offline

#9 2008-08-17 19:00:43

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: rc.conf deamons array - question

adamruss wrote:

DAEMONS=(syslog-ng preload hal acpid fam stbd wicd @acpi-support @alsa @gpm @cups @samba @asusoled-clockd @bluetooth @transmissiond @sshd kdm)

better?

It looks perfect. smile


Arch - It's something refreshing

Offline

#10 2008-08-17 19:21:42

venky80
Member
Registered: 2007-05-13
Posts: 996

Re: rc.conf deamons array - question

how can you clean up the modules and daemons coz things keep changing


DELL XPS 1640 with ATI Mobility Radeon  HD 3670. Arch Linux KDE Minimal Install

Offline

#11 2008-08-18 17:40:16

Tg
Member
Registered: 2008-04-23
Posts: 35

Re: rc.conf deamons array - question

Garns wrote:
Tg wrote:

^
Little off-topic here ,but what's the different between background and not ?

Starting in the Background: Your boot process doesn't wait for the daemon to start, resulting in a faster boot process. Now before you prefix all your daemons with @, remember that some daemons rely on other daemons running, so if you send such daemons to the background things could get messy wink .

ah. thanks. I tried it on my arch box and booting is noticeably faster.

Offline

Board footer

Powered by FluxBB