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 09-18-2008, 08:36 PM   #1
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Rep: Reputation: 16
disable rc.messagebus / rc.hald on a server box


Well, my question is self-explanatory, is it ok to disable rc.messagebus / rc.hald on a server box (no X, no physical monitor, just pure power cable and network cable). The only thing I might ever manually mount is a flash drive / cdrom to burn some data on it and that does not happen every day so I can live with manual mounting.

Would it also cause any problems with cdrecord as well?

Thanks,


robot
 
Old 09-18-2008, 08:57 PM   #2
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
You specifically mentioned a server box, but I don't see why you can't disable those services. I have two old boxes I run occasionally, both running Slackware 12.1, and I do not use messagebus, udev, or hald. For my network configuration I use the old rc.netdevice script. The boxes are old and the hardware static, therefore I really do not need those services running. I'm no server expert, but I suspect as your box hardware is static you might not need those services.
 
Old 09-18-2008, 09:07 PM   #3
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Woodsman View Post
You specifically mentioned a server box, but I don't see why you can't disable those services. I have two old boxes I run occasionally, both running Slackware 12.1, and I do not use messagebus, udev, or hald. For my network configuration I use the old rc.netdevice script. The boxes are old and the hardware static, therefore I really do not need those services running. I'm no server expert, but I suspect as your box hardware is static you might not need those services.
It is quite hardware static (yet quite modern, p4 1.8ghz), the only thing I might ever add is more hard drive space, and that'll be only an ide drive (no sata support on the box, kinda pointless though for a home server).

I'm just asking around to see if it will give me any problems later on when I need to burn a data cd. I'm going to keep them installed, but just chmod -x the rc.* files. It seems kind of pointless to run them as not much is going to be happening hardware-wise, plus I'm trying to lower the number of services running.

Last edited by rob0t; 09-18-2008 at 09:09 PM.
 
Old 09-18-2008, 11:34 PM   #4
lstamm
Member
 
Registered: Aug 2007
Location: McBride, BC, Canada
Distribution: Slackware, OpenBSD, Edubuntu
Posts: 53

Rep: Reputation: 17
I don't have those services running on my Slack workstation, and I have had zero problems with anything through several hardware upgrades. I just have to manually mount temporary filesystems and manually adjust /etc/fstab as needed. So for sure you shouldn't need them on a server.
 
Old 09-19-2008, 07:16 AM   #5
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by lstamm View Post
I don't have those services running on my Slack workstation, and I have had zero problems with anything through several hardware upgrades. I just have to manually mount temporary filesystems and manually adjust /etc/fstab as needed. So for sure you shouldn't need them on a server.
Ah thank you for input. I think I will go on with disabling them then.
 
Old 09-19-2008, 08:55 AM   #6
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
hmm do all apllications work fine without DBus running on your workstation ? I would have thought audacious, kde etc. etc. would come into a mess ...
 
Old 09-19-2008, 09:22 AM   #7
bobzilla
Member
 
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 176

Rep: Reputation: Disabled
If you run server without KDE or Gnome, you shouldn't have much problems. I think XFCE can work nicely without dbus. Didn't try though.

If you run it without GUI, you shouldn't have any problems, just remember to manually add removable media entries in /etc/fstab.

If you use GUI, dbus-hal combination can make system monitoring a bit easier. You'll have a live data about network availabilty and system changes.
 
Old 09-19-2008, 09:34 AM   #8
bobzilla
Member
 
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 176

Rep: Reputation: Disabled
Or you can manually compile KDE 3.5.x to work without DBUS. Fetch the build scripts from the official servers and change configure options, if you need KDE on the server.

BTW, GNOME doesn't work without dbus.

Last edited by bobzilla; 09-19-2008 at 09:35 AM.
 
Old 09-19-2008, 09:41 AM   #9
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
for a server, I know it doesn't matter ...

I am curious how lstamm makes a workstation work without dbus .. won't that be painful .. ?
 
Old 09-19-2008, 03:04 PM   #10
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
I would have thought audacious, kde etc. etc. would come into a mess
Quote:
Or you can manually compile KDE 3.5.x to work without DBUS.
On my two old boxes with static hardware, I do not have dbus, udev, or messagebus enabled. I have noticed no issues with KDE or Xfce. I can play audio files with Amarok and DVD movie ISO images through my network using Xfce and KDE. The old boxes are comparatively slow, but no issues related to dbus, udev, or messagebus that I am aware.
 
Old 09-19-2008, 03:30 PM   #11
lstamm
Member
 
Registered: Aug 2007
Location: McBride, BC, Canada
Distribution: Slackware, OpenBSD, Edubuntu
Posts: 53

Rep: Reputation: 17
Quote:
hmm do all apllications work fine without DBus running on your workstation ? I would have thought audacious, kde etc. etc. would come into a mess ...
I don't have kde nor audacious installed, so I can't say much about them. Most of my work is done within emacs, and I tend to use command line utilities for multimedia playback. I do use UUIDs for identifying my various USB accessories in /etc/fstab, and have created aliases in .bashrc to mount/unmount them with just a couple of keystrokes.

My workstation is used for graphics editing, audio analysis and editing, document creation, and as a doorway to several networks that I manage. I really haven't found any hindrances in getting rid of dbus and hal, although I realize not everybody would wish to use their computers like me.
 
Old 09-19-2008, 10:05 PM   #12
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Original Poster
Rep: Reputation: 16
K, I seem to have no problems as of right now without d-bus/hald running. Trimmed down few not useful processes that way

Thanks all.

Now back to trimming down the kernel :\
 
  


Reply

Tags
daemon, hal, messagebus


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
What are rc.messagebus and rc.hald for? FreeTinker Slackware 9 03-10-2008 03:53 PM
Enable/Disable ICS on XP from LINUX box. agronom Linux - Networking 2 09-12-2005 09:57 PM
messagebus process problems nygiants#1 Linux - General 1 04-27-2004 09:16 PM
messagebus process problems sjia Linux - Newbie 0 04-22-2004 11:56 PM
Disable ping on RedHat 9 DNS box lindab_tsp Linux - Security 4 07-21-2003 08:14 AM


All times are GMT -5. The time now is 05:06 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