Sudo Segfaults with a user who has a pam_mount home directory.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
sudo version: 1.6.9p10-1ubuntu3 (Hardy)
libpam-mount version: 0.32-4
I noticed in dmesg many entries of the form [896132.470717] sudo[23807]: segfault at 00000000 eip 080529ee esp bf8429b0 error 4, always 24 hours apart. I quickly figured that it was from the script /etc/cron.
I then straced the sudo invocation and noticed it was crashing immediately after writing this to the system log:
Sep 9 22:20:11 ozone sudo: pam_mount(
My home directory is a dm-crypt LVM volume that is mounted (obviously) by pam_mount at login. I believe it is this that causes sudo to crash when attempting to switch to this user.
If there's anything I can do to help debug, please let me know. I've considered trying to rebuild a debug package of sudo and use it with gdb, but I'm not sure if there's a better way. (Is there a general way to get packages with debug symbols?)
This could be related to https:/ /bugs.launchpad .net/ubuntu/ +source/ sudo/+bug/ 234727
I've been trying to use sudo-dbgsym to debug this with gdb, but i'm having issues installing the debug packages.