[Bug 260687] Re: pam_smbpass.so segfaults
Reproduction on a minimal intrepid system: $ sudo apt-get install samba libpam-smbpass sudo apt-get purge samba then try to login. Updating title to better reflect where the problem stands. ** Summary changed: - pam_smbpass.so segfaults + Purging samba breaks login (pam_smbpass.so segfaults) -- Purging samba breaks login (pam_smbpass.so segfaults) https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
** Changed in: samba (Ubuntu) Importance: Undecided = High -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
** Changed in: samba (Ubuntu) Importance: Undecided = High -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
Confirmed, installing samba breaks sudo in pam. ** Changed in: samba (Ubuntu) Status: New = Confirmed -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
Confirmed, installing samba breaks sudo in pam. ** Changed in: samba (Ubuntu) Status: New = Confirmed -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
I got this problem after removing samba. I think it may be a problem that libpam-smbpass depends on samba without that being defined. You can remove samba, leave samba-common and libpam-smbpass and you will have this problem. Stupid thing is that every sudo fails also, so removing the libpam-smbpass will require me to enter single user mode and work from there (telinit 1). With sudo failing, there is no way to fix this without that. The following dmesg entries are shown (and repeated for every type of sudo command): [ 4940.176470] sudo[9337]: segfault at 0 ip 7f5c6e480d6c sp 7fff783b9fe0 error 4 in pam_smbpass.so[7f5c6e419000+149000] I have this problem on Ubuntu Intrepid on x86_64 with the latest updates. -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
Just adding, telinit doesn't work because you need to be root. To solve this, I used the following: - Reboot and choose the recovery mode from the boot selection menu - Choose drop into root shell from the recovery menu - Execute the command: dpkg --purge libpam-smbpass After that you can reboot into normal mode and everything should be ok. -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
I got this problem after removing samba. I think it may be a problem that libpam-smbpass depends on samba without that being defined. You can remove samba, leave samba-common and libpam-smbpass and you will have this problem. Stupid thing is that every sudo fails also, so removing the libpam-smbpass will require me to enter single user mode and work from there (telinit 1). With sudo failing, there is no way to fix this without that. The following dmesg entries are shown (and repeated for every type of sudo command): [ 4940.176470] sudo[9337]: segfault at 0 ip 7f5c6e480d6c sp 7fff783b9fe0 error 4 in pam_smbpass.so[7f5c6e419000+149000] I have this problem on Ubuntu Intrepid on x86_64 with the latest updates. -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
Just adding, telinit doesn't work because you need to be root. To solve this, I used the following: - Reboot and choose the recovery mode from the boot selection menu - Choose drop into root shell from the recovery menu - Execute the command: dpkg --purge libpam-smbpass After that you can reboot into normal mode and everything should be ok. -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
** Changed in: samba (Ubuntu) Status: Incomplete = New -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
** Changed in: samba (Ubuntu) Status: Incomplete = New -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
This is a nasty problem, because it makes login impossible (except in single-user mode) if libpam-smbpass is installed. We currently have three machines with Intrepid (latest updates); on two of them there's no problem, on the third pam_smbpass.so segfaults on every login attempt (and thus the login fails). Attached is the backtrace reported by the Samba 'panic action' script (/usr/share/samba/panic-action). libpam- smbpass version is 2:3.2.3-1ubuntu2 ** Attachment added: backtrace http://launchpadlibrarian.net/17716720/backtrace -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
This is a nasty problem, because it makes login impossible (except in single-user mode) if libpam-smbpass is installed. We currently have three machines with Intrepid (latest updates); on two of them there's no problem, on the third pam_smbpass.so segfaults on every login attempt (and thus the login fails). Attached is the backtrace reported by the Samba 'panic action' script (/usr/share/samba/panic-action). libpam- smbpass version is 2:3.2.3-1ubuntu2 ** Attachment added: backtrace http://launchpadlibrarian.net/17716720/backtrace -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
Samba 3.2.1 -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
Which version is this for? Thanks chuck ** Changed in: samba (Ubuntu) Status: New = Incomplete -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
Samba 3.2.1 -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
** Changed in: samba (Ubuntu) Sourcepackagename: None = samba -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
** Changed in: samba (Ubuntu) Sourcepackagename: None = samba -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 260687] Re: pam_smbpass.so segfaults
Well, I noticed that samba (smbd) was also causing segfault systematically. I backed up smb.conf, purged all samba packages, installed them again as well as libpam-smbpass and restored smb.conf. Now everything operates fine. Dmesg output is attached, but as the problem got fixed by installing stuff from scratch this is no longer reproducible. at least by me. ** Attachment added: dmesg-230808.txt http://launchpadlibrarian.net/17043375/dmesg-230808.txt -- pam_smbpass.so segfaults https://bugs.launchpad.net/bugs/260687 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs