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 03-07-2008, 11: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-08-2008, 12:09 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,755
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
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-08-2008 at 12:13 AM.
 
Old 03-08-2008, 01:44 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,631

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
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, 04:16 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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, 09: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, 01:15 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,631

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
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, 01: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, 05:44 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,631

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
i also use manual mounting, since i can set it up to use one single moint point
 
Old 03-10-2008, 03: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, 04:53 PM   #10
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,755
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
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


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
HALd Freeze my computer zidz Linux - Software 0 02-14-2007 09:14 AM
HALd Freeze my computer zidz Linux - Hardware 0 02-14-2007 01:50 AM
hald underscorelinux Linux - Software 0 10-07-2005 10:12 AM
messagebus process problems nygiants#1 Linux - General 1 04-27-2004 10:16 PM
messagebus process problems sjia Linux - Newbie 0 04-23-2004 12:56 AM


All times are GMT -5. The time now is 12:17 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration