On 5/30/07, Jordan Bray <[EMAIL PROTECTED]> wrote:
> 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).
No, I really meant there should only be one hald running. Your output
above seemed to indicate that hald was running and another copy as
hald --daemon=no. You do need to copies of dbus-daemon running. One is
for the system, and one is in the session you're running (launched
through dbus-launch typically).
So, just start dbus normally with the bootscript and dbus-launch into
your session. Kill hald (if it's running), then try to get some more
verbose output:
# hald --daemon=no --verbose=yes 2>& 1 | tee hald.log
> # 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 ..
Why is / owned by jcd and not root? What's ls -ld /?
> 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.
They don't need to be. They should be owned by root. Hald runs as
root. Unprivileged users ask it to do stuff and it does it or not
after it's determined if they're approved.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page