On 5/29/07, Dan Nicholson <[EMAIL PROTECTED]> wrote:
> On 5/29/07, Jordan Bray <[EMAIL PROTECTED]> wrote:
> > I've had a lot of success with gnome and BLFS.  I'm typing in it in
> > firefox right now, however HAL seems to be failing.  here's how my day
> > went:
> > <code>
> >
> > # ps -A | grep dbus \
> >  4430 ?        00:00:00 dbus-daemon
> >  4792 ?        00:00:00 dbus-daemon
> >  4793 tty1     00:00:00 dbus-launch
> > # ps -A | grep hal
> > # hald
> > # ps -A | grep hal
> > # hald --daemon=no
>
> Do you actually have two hal daemons running? You would want to stop
> one since I imagine that they'll collide. Especially if they're both
> trying to do stuff like write lock files.

I tried it without both dbus-daemons running (i assume you meant dbus
daemons instead of hal daemons) and i get the same symptoms.  I think
it got started once on boot and once when gnome ran (with
dbus-launch).

>
> > Run started hal-storage-cleanup-all-mountpoints (10000) (0)
> > !  full path is '/usr/lib/hal/hal-storage-cleanup-all-mountpoints',
> > program_dir is '/usr/lib/hal'
> > 27346: XYA attempting to get lock on /media/.hal-mtab-lock
> > 27346: XYA got lock on /media/.hal-mtab-lock
> > in hal-storage-cleanup-all-mountpoints
> > org.freedesktop.Hal.Device.Volume.UnknownFailure
> > Cannot open /media/.hal-mtab
> <snip>
> > # ls -dl /media
> > drwxrwxrwx 4 root root 128 May 29 12:25 /media
> > # echo "it's only like this to get hal working"
> > it's only like this to get hal working
>
> So, are you saying that if you make /media world writable, things
> work? What version of hal is this? Could you show the output from "ls
> -al /media"?
>

I wasn't saying that if /media was world writable things would work,
they don't.  but it is one less problem for me to think may be a
problem.  here's a session:
<code>
# ps -A | grep dbus
 1016 tty1     00:00:00 dbus-launch # that dismisses the problem being
too many dbuses
 1017 ?        00:00:00 dbus-daemon
# ls -al /media
drwxrwxrwx  4 root root 128 May 29 12:25 .
drwxr-xr-x 23 jcd     6 640 May 29 11:38 ..
------x---  1 root root   0 May 29 12:25 .hal-mtab-lock
drwxrwxr-x  2 root root  48 May 29 12:20 cdrom
drwxrwxr-x  2 root root  48 May 29 12:20 floppy
# ps -A | grep hal
</code>

I'm sure that /media/{cdrom,floppy} need to be part of another group
(halusers or disk maybe), but right now i want to focus on getting hal
running as root, then worry about the users.

-- 
/me
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to