[Bug 247125] Re: Segfault with pam_namespace
Launchpad Bug Tracker
247125 at bugs.launchpad.net
Thu Aug 4 04:18:52 UTC 2011
[Expired for pam (Ubuntu) because there has been no activity for 60
days.]
** Changed in: pam (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/247125
Title:
Segfault with pam_namespace
Status in “pam” package in Ubuntu:
Expired
Bug description:
Binary package hint: libpam-modules
I'm trying to setup pam_namespace.so to get per-session (per-user?)
mount points. I thought I had it working for a couple of logins and
then it stopped. I had debug mode enabled, and it appears to stop
right after parsing the /etc/security/namespace.conf file, then it
segfaults. I've tried using this module for both "login" and "sshd"
with the same results for both.
The pam module line I'm adding (I've tried a bunch of variations, but here is an example):
session required pam_namespace.so debug ignore_config_error ignore_instance_parent_mode
The auth log looks like this:
sshd[10826]: pam_unix(sshd:session): session opened for user lowell by (uid=0)
sshd[10826]: pam_namespace(sshd:session): open_session - start
sshd[10826]: pam_namespace(sshd:session): Parsing config file /etc/security/namespace.conf
Each log in attempt just fails silently for "login", and reports "Connection reset by peer" with ssh. The "dmesg" command reports a line like this for each login attempt:
[34321.503759] login[8000]: segfault at 00000008 eip b7eee78d esp bfe9e480 error 4
[35952.573257] sshd[10808]: segfault at 00000008 eip b793778d esp bfc42540 error 4
My /etc/security/namespace.conf file contains the following:
tmp /tmp-inst/ both root,adm
I've double check my directory permissions for the instance
directories in namespace.conf, so I don't think that is the issue. I
found out that if I comment everything out in namespace.conf, then
logins will work; but then it doesn't actually do anything either. I
am using pam_encfs.so in my common-auth file, but don't think thats
the issue since I have the same problem when I comment it out and use
just the standard "auth required pam_unix.so" line.
Linux lowellport 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux
Description: Ubuntu 8.04.1
Release: 8.04
libpam-modules 0.99.7.1-5ubuntu6.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/247125/+subscriptions
More information about the foundations-bugs
mailing list