libpam-krb5 segfaults consistently after upgrade to 12.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpam-krb5 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After update, all users of libpam-krb5 (login, gdm, etc) fail with a segfault in pam_krb5.so as logged in syslog below:
May 12 09:36:14 peregrine kernel: [ 125.678116] login[2003]: segfault at 8 ip 006739ad sp bfc09cd0 error 4 in pam_krb5.
downloaded latest git source for libpam-krb5 and confirmed problem appears to exist there as well:
matt@peregrine:
make tests/fakepam/
make[1]: Entering directory `/home/
make[1]: `tests/
make[1]: `tests/runtests' is up to date.
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: `tests/
make[1]: Leaving directory `/home/
make check-local
make[1]: Entering directory `/home/
cd tests && ./runtests /home/matt/
Running all tests listed in TESTS. If any tests fail, run the failing
test program with runtests -o to see more details.
module/
module/
module/
module/
module/
module/
module/
module/
module/
module/
pam-util/
pam-util/
pam-util/
pam-util/
pam-util/
portable/
portable/
portable/
portable/
portable/
portable/
Failed Set Fail/Total (%) Skip Stat Failing Tests
-------
module/basic 0/0 0% 0 -- aborted
pam-util/args 11/11 100% 0 -- 1-11
pam-util/logging 27/27 100% 0 -- 1-27
pam-util/options 0/0 0% 0 1 aborted
Aborted 2 test sets, passed 1200/1238 tests, 9 tests skipped.
Files=21, Tests=1238, 1.10 seconds (0.00 usr + 0.00 sys = 0.00 CPU)
make[1]: *** [check-local] Error 1
make[1]: Leaving directory `/home/
make: *** [check-am] Error 2
workaround:
boot to recovery, (need a root passwd)
apt-get remove libpam-krb5
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libpam-krb5 (not installed)
ProcVersionSign
Uname: Linux 3.2.0-24-generic i686
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Sat May 12 14:54:16 2012
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
LANGUAGE=en_US:en
SourcePackage: libpam-krb5
UpgradeStatus: Upgraded to precise on 2012-05-12 (0 days ago)
krb5_init_context is failing. Does running kinit from the command-line work, or does it fail as well?
(pam-krb5 should not segfault when krb5_init_context fails, but it's just a NULL pointer dereference on a local configuration or library error, so it's not a particularly major bug. However, I will try to fix that on the next release.)