You are not logged in.

#1 2006-01-27 20:48:49

anarki
Member
Registered: 2005-12-24
Posts: 8

HAL daemon && udev

I can't start hald in order to make my Gnome mount disk automaticly.
I run as root this:

hald --daemon=no --verbose=yes

and it die becouse of errors.

This is the last few lines:

21:49:43.750 [I] hald.c:653: Device probing completed
21:49:43.750 [I] hald_dbus.c:3063: entering
21:49:43.751 [E] hald_dbus.c:3070: dbus_bus_get(): Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
21:49:43.751 [I] util.c:1262: Killing helper with pid 7506
21:49:43.751 [I] util.c:1262: Killing helper with pid 7505
21:49:43.777 [I] util.c:1262: Killing helper with pid 7489

So, what should I do?

btw: What is udevdb, and how to add devices into it?

Offline

#2 2006-01-27 21:11:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: HAL daemon && udev

Run dbus first. Most people put them in the rc.conf DAEMONS array, with dbus first.

Offline

#3 2006-01-28 06:39:52

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: HAL daemon && udev

Yeah, you should have MODULES=(... dbus hal ...) in rc.conf instead of starting them by hand. Note that ... is just a placeholder above and should not be put in the acctual file.

Offline

#4 2006-01-28 09:51:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: HAL daemon && udev

I think iBertus means DAEMONS=, not MODULES=.

I've done it many a time myself .... wink

Offline

#5 2006-01-28 12:36:30

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

Re: HAL daemon && udev

anarki:
if dbus-daemon fails to start reporting segfaults, do the following:

$ if grep -q ^plugdev:x:98 /etc/group; then
sed -i "s:plugdev:power:g" /etc/group /etc/gpasswd
fi

And then : '/etc/rc.d/hal start'

Offline

#6 2006-01-28 22:26:14

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: HAL daemon && udev

tomk wrote:

I think iBertus means DAEMONS=, not MODULES=.

I've done it many a time myself .... wink

Doh!  :shock:

Offline

Board footer

Powered by FluxBB