Summary: | app-admin/sudo-1.6.9_p17 - sudo segfaults | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Frank <tom_frank> |
Component: | Current packages | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Thomas Frank
2008-11-29 12:18:03 UTC
Looks like a pam problem... Yeah so it's my problem to deal with for sure. Can you please build pam_mount with debug symbols and see what happens if you disable it from the chain? That's the backtrace with CFLAGS -ggdb and FEATURES=nostrip: (gdb) bt #0 0x000000000040b0f0 in sudo_conv (num_msg=1, msg=0x7fff14707818, response=0x7fff14707810, appdata_ptr=<value optimized out>) at ./auth/pam.c:269 #1 0x00007f0b0af37048 in read_password (pamh=0x1b145a0, prompt=0x1b1fec0 "reenter password for pam_mount:", pass=0x7fff14707860) at pam_mount.c:156 #2 0x00007f0b0af375d3 in pam_sm_open_session (pamh=0x1b145a0, flags=<value optimized out>, argc=<value optimized out>, argv=<value optimized out>) at pam_mount.c:490 #3 0x00007f0b0c2e5b5d in ?? () from /lib/libpam.so.0 #4 0x000000000040af7b in pam_prep_user (pw=0x1b116c0) at ./auth/pam.c:225 #5 0x0000000000407b17 in set_perms (perm=0) at set_perms.c:440 #6 0x0000000000409277 in main (argc=<value optimized out>, argv=<value optimized out>, envp=0x7fff14707b90) at sudo.c:408 When taking pam_mount out of the game, sudo works as expected and does not produce a segfault. I'm using pam_mount-0.49. Hi, recently upgraded to pam_mount-1.5: I'm still getting the segfault when calling sudo. I've updated to pam_mount-1.20 in conjunction with sys-libs/pam-1.0.4 today. "sudo" works now as desired. I'd say this bug has been solved and can be closed now. Thanks a lot! Closing then since it was a bug in pam_mount. |