Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-18-2008, 08:36 PM
|
#1
|
|
Member
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95
Rep:
|
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
|
|
|
|
09-18-2008, 08:57 PM
|
#2
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,955
|
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.
|
|
|
|
09-18-2008, 09:07 PM
|
#3
|
|
Member
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95
Original Poster
Rep:
|
Quote:
Originally Posted by Woodsman
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.
|
|
|
|
09-18-2008, 11:34 PM
|
#4
|
|
Member
Registered: Aug 2007
Location: McBride, BC, Canada
Distribution: Slackware, OpenBSD, Edubuntu
Posts: 53
Rep:
|
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.
|
|
|
|
09-19-2008, 07:16 AM
|
#5
|
|
Member
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95
Original Poster
Rep:
|
Quote:
Originally Posted by lstamm
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.
|
|
|
|
09-19-2008, 08:55 AM
|
#6
|
|
Senior Member
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
|
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 ...
|
|
|
|
09-19-2008, 09:22 AM
|
#7
|
|
Member
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 160
Rep: 
|
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.
|
|
|
|
09-19-2008, 09:34 AM
|
#8
|
|
Member
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 160
Rep: 
|
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.
|
|
|
|
09-19-2008, 09:41 AM
|
#9
|
|
Senior Member
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
|
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 .. ?
|
|
|
|
09-19-2008, 03:04 PM
|
#10
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,955
|
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.
|
|
|
|
09-19-2008, 03:30 PM
|
#11
|
|
Member
Registered: Aug 2007
Location: McBride, BC, Canada
Distribution: Slackware, OpenBSD, Edubuntu
Posts: 53
Rep:
|
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.
|
|
|
|
09-19-2008, 10:05 PM
|
#12
|
|
Member
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95
Original Poster
Rep:
|
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 :\
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:14 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|