[Bug 998525] Re: libpam-krb5 segfaults consistently after upgrade to 12.04

Russ Allbery rra at debian.org
Fri May 25 00:28:40 UTC 2012


As mentioned in the reply to the original report, while I'll fix the
segfault in the next release, all that's going to do is cause pam-krb5
to always fail instead of segfault.  If you're having the same problem,
it's because your local Kerberos configuration is invalid.  You need to
figure out what's broken (probably, given the symptoms you report, a
krb5.conf file that isn't readable by PostgreSQL) and correct that
locally on your system.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libpam-krb5 in Ubuntu.
https://bugs.launchpad.net/bugs/998525

Title:
  libpam-krb5 segfaults consistently after upgrade to 12.04

Status in “libpam-krb5” package in Ubuntu:
  Confirmed

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.so[66e000+c000]

  downloaded latest git source for libpam-krb5 and confirmed problem
  appears to exist there as well:

  matt at peregrine:~/foo/pam-krb5$ make check
  make  tests/fakepam/libfakepam.a tests/tap/libtap.a tests/runtests tests/module/alt-auth-t tests/module/bad-authtok-t tests/module/basic-t tests/module/cache-cleanup-t tests/module/cache-t tests/module/expired-t tests/module/no-cache-t tests/module/password-t tests/module/realm-t tests/module/stacked-t tests/pam-util/args-t tests/pam-util/fakepam-t tests/pam-util/logging-t tests/pam-util/options-t tests/pam-util/vector-t tests/portable/asprintf-t tests/portable/mkstemp-t tests/portable/snprintf-t tests/portable/strlcat-t tests/portable/strlcpy-t tests/portable/strndup-t
  make[1]: Entering directory `/home/matt/foo/pam-krb5'
  make[1]: `tests/tap/libtap.a' is up to date.
  make[1]: `tests/runtests' is up to date.
  make[1]: `tests/module/alt-auth-t' is up to date.
  make[1]: `tests/module/bad-authtok-t' is up to date.
  make[1]: `tests/module/basic-t' is up to date.
  make[1]: `tests/module/cache-cleanup-t' is up to date.
  make[1]: `tests/module/cache-t' is up to date.
  make[1]: `tests/module/expired-t' is up to date.
  make[1]: `tests/module/no-cache-t' is up to date.
  make[1]: `tests/module/password-t' is up to date.
  make[1]: `tests/module/realm-t' is up to date.
  make[1]: `tests/module/stacked-t' is up to date.
  make[1]: `tests/pam-util/args-t' is up to date.
  make[1]: `tests/pam-util/fakepam-t' is up to date.
  make[1]: `tests/pam-util/logging-t' is up to date.
  make[1]: `tests/pam-util/options-t' is up to date.
  make[1]: `tests/pam-util/vector-t' is up to date.
  make[1]: `tests/portable/asprintf-t' is up to date.
  make[1]: `tests/portable/mkstemp-t' is up to date.
  make[1]: `tests/portable/snprintf-t' is up to date.
  make[1]: `tests/portable/strlcat-t' is up to date.
  make[1]: `tests/portable/strlcpy-t' is up to date.
  make[1]: `tests/portable/strndup-t' is up to date.
  make[1]: Leaving directory `/home/matt/foo/pam-krb5'
  make  check-local
  make[1]: Entering directory `/home/matt/foo/pam-krb5'
  cd tests && ./runtests /home/matt/foo/pam-krb5/tests/TESTS

  Running all tests listed in TESTS.  If any tests fail, run the failing
  test program with runtests -o to see more details.

  module/alt-auth.........skipped (Kerberos tests not configured)
  module/bad-authtok......skipped (Kerberos tests not configured)
  module/basic............ABORTED (killed by signal 11, core dumped)
  module/cache............skipped (Kerberos tests not configured)
  module/cache-cleanup....skipped (Kerberos tests not configured)
  module/expired..........skipped (Kerberos tests not configured)
  module/no-cache.........skipped (Kerberos tests not configured)
  module/password.........skipped (Kerberos tests not configured)
  module/realm............skipped (Kerberos tests not configured)
  module/stacked..........skipped (Kerberos tests not configured)
  pam-util/args...........MISSED 2-11; FAILED 1 (killed by signal 11, core dumped)
  pam-util/fakepam........ok   
  pam-util/logging........MISSED 3-27; FAILED 1-2 (killed by signal 11, core dumped)
  pam-util/options........ABORTED (cannot create PAM argument struct: Success)
  pam-util/vector.........ok   
  portable/asprintf.......ok   
  portable/mkstemp........ok   
  portable/snprintf.......ok       
  portable/strlcat........ok   
  portable/strlcpy........ok   
  portable/strndup........ok 

  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/matt/foo/pam-krb5'
  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)
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic i686
  NonfreeKernelModules: nvidia
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-krb5/+bug/998525/+subscriptions




More information about the foundations-bugs mailing list