LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-07-2008, 10:15 PM   #1
FreeTinker
LQ Newbie
 
Registered: Mar 2008
Distribution: BSD, Linux, and still searching
Posts: 15

Rep: Reputation: 0
Question What are rc.messagebus and rc.hald for?


During Slackware 12 installation there is the question asking whether to install rc.messagebus and rc.hald. What are these two for? Can I not install them?
 
Old 03-07-2008, 11:09 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
messagebus is the D-Bus daemon and hald is the HAL daemon. Neither is strictly required, but you'll find many packages use them to point that they're essentially required for a modern Linux desktop.

Last edited by weibullguy; 03-07-2008 at 11:13 PM.
 
Old 03-08-2008, 12:44 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
yes, you can choose not to install the packages (it's your system anyways), but i guess you will lose lots of functionality or it may not work
 
Old 03-08-2008, 03:16 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Of course it will work without these packages, but you will indeed not really lose functionality, but rather not gain it
 
Old 03-08-2008, 08:40 PM   #5
JMJ_coder
Member
 
Registered: Apr 2006
Distribution: Fedora
Posts: 478

Rep: Reputation: 30
Hello,

What does the HAL Daemon do? And what does the D-Bus daemon do?

What wouldn't you be able to do if you didn't have them installed in running on your system that you could if you did?
 
Old 03-09-2008, 12:15 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
taken from the slack-desc
Quote:
hal: hal (The HAL Hardware Abstraction Layer)
hal:
hal: HAL is a piece of software that provides a view of the various
hal: hardware attached to a system. HAL keeps detailed metadata for each
hal: piece of hardware and provides hooks so that system and desktop
hal: software can react to changes in the hardware configuration (such as
hal: the insertion of a DVD, or a USB flash memory stick). Users in the
hal: "plugdev" or "cdrom" group will be able to use such devices on the
hal: desktop without the need to mount/umount them manually.
Quote:
dbus: dbus (D-Bus message bus system)
dbus:
dbus: D-Bus supplies both a system daemon (for events such as "new hardware
dbus: device added" or "printer queue changed") and a per user login
dbus: session daemon (for general IPC needs among user applications).
dbus: Also, the message bus is built on top of a general one-to-one message
dbus: passing framework, which can be used by any two apps to communicate
dbus: directly (without going through the message bus daemon).
 
Old 03-09-2008, 12:47 AM   #7
2.718281828
Member
 
Registered: Jan 2004
Distribution: Arch, formerly Slackware
Posts: 43

Rep: Reputation: 15
Personally, I'd much rather mount my removable devices manually, so I wouldn't touch HAL with a ten foot pole. As far as D-Bus goes, I've never heard of it until just now and I'm still not sure what it does from that package description. I don't use either of them on my computer so maybe my computer doesn't count as a "modern" Linux system...
 
Old 03-09-2008, 04:44 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
i also use manual mounting, since i can set it up to use one single moint point
 
Old 03-10-2008, 02:33 PM   #9
JMJ_coder
Member
 
Registered: Apr 2006
Distribution: Fedora
Posts: 478

Rep: Reputation: 30
Hello,

So if I got rid of HAL, exactly what functionality would cease? Auto-mounting? I mount via terminal (mount/umount command). I don't think that my printers being turned on and off count as auto-mounting either.

So if you aren't running say, Fedora, that is set up to automatically mount (and even execute a program) upon inserting a disc or plugging in a device, what is the point of having it?


I still don't know what D-Bus does? That package description isn't overtly descriptive for someone who doesn't already know what D-Bus does.
 
Old 03-10-2008, 03:53 PM   #10
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
D-BUS is an inter-process communication (IPC) system. D-BUS allows programs to register, offering services to other programs. Client programs are provided the opportunity to "look up" which services are available.

Users can run several channels of D-BUS since D-BUS is implemented as a daemon. Usually there is a system channel and a private channel for each logged user. The primary mission of the system channel is to deliver signals from the HAL daemon to the processes interested in them. The mission of the private channels is to provide communication among the user's applications.

There are Glib, Qt, Python, and Java bindings for D-Bus. Lot's of applications use D-Bus like Xchat, Pidgin, libnotify, Avahi, Totem, Rhythmbox, Evince, Xorg server and others. IIRC, GNOME, KDE, and XFCE all have at least one module that require D-Bus.

I think KDE4 requires HAL, but I could be wrong. I know GNOME Volume Manager requires HAL, but most applications only have it as an optional dependency.
 
  


Reply



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
HALd Freeze my computer zidz Linux - Software 0 02-14-2007 08:14 AM
HALd Freeze my computer zidz Linux - Hardware 0 02-14-2007 12:50 AM
hald underscorelinux Linux - Software 0 10-07-2005 09:12 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:17 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration