Hi Martin,

I think that the bug lies in hal finally. :p

I added fprintfs in libthunar-vfs, and the init code fails with
libhal_ctx_init(). So I added also some printfs in libhal_ctx_init(),
and it fails at:

hald_exists = dbus_bus_name_has_owner (ctx->connection, "org.freedesktop.Hal", 
&_error);
[...]
if (!hald_exists) {
                return FALSE;
        }

Because hal doesn't exist on the dbus at this time apparently. But it
works fine if I restart Thunar later, so there might be a race condition
somewhere? Anyway, dbus api doc clearly states that using this function
can easily result in a race condition, so I don't really understand why
libhal.c uses it...

Any idea, thoughts, tests to do? Thanks!

-- 
Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on
https://bugs.launchpad.net/bugs/546992
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to