[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

hal in Debian sarge



Dear everybody,
 I seem to have a problem with the hal daemon in Debian Sarge. I think that hald doesn't start or it dies immediately.

Let me first explain that I am working on this since my understanding is that any device manager (g-v-m, ivman, pmount, ...) needs hal. In the end, all I want is to have a mountpoint in /media with a recognizable name when I insert a USB stick and a way for a user to mount the volume without the need of an fstab entry.

Now back to the main issue.

roccia:~# uname -a
Linux roccia 2.6.19.2 #2 Thu Feb 8 02:06:19 CET 2007 i686 GNU/Linux

Package versions (as I said, this is the latest sarge release):
udev      0.056-3
hal         0.4.7-3sarge1
dbus-1   0.23.4-1

First, after boot, there's no "hald" process running on my system.

If I run, as root,
roccia:~# hald --daemon=yes --drop-privileges --verbose=yes
08:44:11.080 [I] hald.c:394: hal 0.4.7
08:44:11.080 [I] hald.c:396: Will daemonize
08:44:11.080 [I] hald.c:406: Becoming a daemon

but hald doesn't seem to be running after that:

roccia:~# ps ax |grep hal
 6287 pts/1    R+     0:00 grep hal

and hal-device-manager does not work
roccia:~# hal-device-manager
Traceback (most recent call last):
  File "/usr/bin/hal-device-manager", line 8, in ?
    import gtk
  File "/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line 37,
in ?
    from _gtk import *

If I do instead:
roccia:~# hald --daemon=no --drop-privileges --verbose=yes
08:48:20.505 [I] hald.c:394: hal 0.4.7
08:48:20.505 [I] hald.c:398: Will not daemonize
08:48:20.507 [I] linux/osspec.c:219: Mountpoint for sysfs is /sys
Segmentation fault

Any comments?

Domande:
1) where does hald writes its logs? I read about an option --use-syslog , but it is not recognized on my system
2) is this a known  dbus/udev/hal issue in Debian sarge?
3) I am willing to upgrade to testing, but only if I am sure that this would solve the issue...

Thanks a lot.

Matteo
_______________________________________________
pluto-help mailing list
pluto-help@lists.pluto.it
Per gestire la propria iscrizione alla lista:
http://lists.pluto.it/listinfo/pluto-help



------------------------------------------------------
Con Prometeo prestiti senza spese fino a 31.000 Euro!
http://click.libero.it/webnation06marz07




Reply to: