I have been able to narrow down what is causing this issue on my system.
The pam_namespace.so module causes a segfault when a non-existent user
is listed in /etc/security/namespace.conf file.  I haven't looked at the
source, but I'm guessing it has something to do with a user database
lookup (like getent, or something like that).

/etc/security/namespace.conf:
    tmp  /tmp-inst/  both  root,adm

#getent passwd root adm
root:x:0:0:root:/root:/bin/bash
(no output for 'adm')

My system doesn't not have a "adm" user, and as I know Ubuntu does not
include a default "adm" user.  So perhaps this user should be removed
from the default namespace.conf config file.  Of course, fixing the
segfault issue is more important.  I'm assuming that the module should
probably just complain about a missing user, or at worst graciously
abort with some PAM_* exit code.

Just for the record, the pam_namespace.so will still cause the segfault
even if the module is setup as "optional".

-- 
Segfault with pam_namespace
https://bugs.launchpad.net/bugs/247125
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to