LDAP breaks HAL/DBus/gnome-volume-manager ?

John Affleck lists+ubuntu-users at lists.oddment.net
Thu Jul 6 13:34:30 UTC 2006


I'm trying to figure out why I can't automgically mount removable
media on my Dapper laptop anymore.  Dunno when it stopped working, but
it doesn't do anything when I insert CD's or USB sticks any more.  I
tried the following:
- Reinstalled, works OK with new 'local' user
- Enabled LDAP authentication again
- Tried with network user, no go.
- Removed ~/.gnome2 and ~/.gconfd and tried as network user, no go.
- Tried as local user, no go.

So my _theory_ is that re-enabling LDAP broke it somehow. Some further
poking around appears to show there's a problem with mapping uids for
haldaemon and messagebus:
% id haldaemon
uid=122(haldaemon) gid=122(haldaemon) groups=122(haldaemon),24(cdrom),25(floppy),46(plugdev)
% id messagebus
uid=104(messagebus) gid=107(messagebus) groups=107(messagebus)
% ps aux | egrep 'hal|dbus'
104       4565  0.0  0.2   6364  2296 ?        Ss   07:27   0:00 /usr/bin/dbus-daemon --system
122       4580  0.0  0.5   6868  5500 ?        Ss   07:27   0:03 /usr/sbin/hald
122       4586  0.0  0.0   1932   748 ?        S    07:27   0:00 /usr/lib/hal/hald-addon-acpi
122       4640  0.0  0.0   1932   744 ?        S    07:27   0:00 /usr/lib/hal/hald-addon-keyboard
122       4654  0.0  0.2   6052  2804 ?        S    07:27   0:00 /usr/lib/hal/hald-addon-storage
122       4655  0.0  0.2   6048  2804 ?        S    07:27   0:00 /usr/lib/hal/hald-addon-storage
122       4658  0.0  0.2   6052  2836 ?        S    07:27   0:00 /usr/lib/hal/hald-addon-storage
122       4659  0.0  0.2   6052  2836 ?        S    07:27   0:00 /usr/lib/hal/hald-addon-storage

The wierd thing is that it's _only_ those two uids.  Other 'local'
uids, like avahi and hplip work fine.  I can't seem to see anything
obviously different about uids 104 and 122.

So question 1: Would this sort of thing break gnome-volume-manager ?
.. question 2: What's wrong with uids 104 and 122 ?
   question 3: How else can I figure out what's wrong with automounting ?

   Thanks!

   John A.




More information about the ubuntu-users mailing list