11.04 to 11.10 upgrade broken with LDAP active, and /tmp problems
Simon Fraser
simonfr at gmail.com
Fri Oct 14 13:43:13 UTC 2011
Hi folks,
I have a read-only LDAP directory serving user information, and so
it's configured in /etc/nsswitch.conf and ldap.conf. Sadly this
appears to have broken the upgrade process to 11.10. 16 packages
failed, starting with lightdm and colord, and including several kernel
packages. Mostly to do with addgroup segfaulting, and the postinst
script returning 139.
I removed the ldap entries from nsswitch.conf and commented out the
entries in ldap.conf, and 'dpkg --configure -a' made all the packages
work.
Then, I couldn't log in with the GUI, even as a local user. I've
reinstated the LDAP entries, and even asking for a recovery console,
I'm unable to get past the login screen.
This appears to be because gnome-keyring-daemon is failing to create
the socket directory, with 'permission denied'. lightdm then closes my
session. /tmp appears to have the wrong permissions:
# ls -ald /tmp/
drwxr-xr-x 7 root root 12288 2011-10-14 14:39 /tmp/
Fixing these permissions (chmod 777 /tmp; chmod +t /tmp) lets me log in.
Hope this is helpful for anyone else finding problems at the moment.
Simon.
More information about the ubuntu-users
mailing list