PHWinfo banniere

ACCUEIL ANNUAIRE ARTICLES COMPARATIF HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Go Back   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > hal in Debian sarge
FAQ Members List Search Today's Posts Mark Forums Read
linux.debian.user debian-user@lists.debian.org.

hal in Debian sarge

Reply
 
Thread Tools
Old 03/06/07, 10:40   #1
Matteo Semplice
Aucun Avatar
 
Posts: n/a
Hébergeur:
Default 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 withoutthe 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- mailing list
pluto-@lists.pluto.it
Per gestire la propria iscrizione alla lista:
http://lists.pluto.it/listinfo/pluto-



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

  Reply With Quote
Old 03/06/07, 12:30   #2
Sven Arvidsson
Aucun Avatar
 
Posts: n/a
Hébergeur:
Default Re: hal in Debian sarge

On Tue, 2007-03-06 at 11:33 +0100, Matteo Semplice wrote:
> 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.

[...]
> 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?


I found a bug report describing the behaviour above, but it happened
with hal version 0.5.8.1-1 so I'm not sure it's relevant.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393670

Usually, the best way to track this down is make a debug package,
capture a backtrace with gdb and file a bug report.
See http://wiki.debian.org/?HowToGetABacktrace

In your case, I would absolutely upgrade to etch first, I would be
surprised if this problem wasn't fixed.

> Domande:
> 1) where does hald writes its logs? I read about an option --use-syslog ,but it is not recognized on my system


AFAIK, syslog, see /var/log/syslog

> 2) is this a known dbus/udev/hal issue in Debian sarge?


I don't think so.

> 3) I am willing to upgrade to testing, but only if I am sure that this would solve the issue...


I give no guarantees, but if it isn't, and you can provide a backtrace
and other information, I'm sure it will be fixed quickly.

HTH,

--
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBF7VyaJ4SEkXYL3SIRAqJtAJ0eWgZ6Jya+QQNVhqTOqy 2IoMSf9gCgtcso
WizctK5RcVSU1MZoknimLYU=
=QBgg
-----END PGP SIGNATURE-----

  Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 09:30.


Powered by vBulletin® ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
PHWinfo is a website Education Without Frontiers
Ad Management by RedTyger
All rights reserved
Page generated in 0.27365 seconds with 7 queries