[Bug 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
I'm pretty sure this is avoided in Jaunty through the apparmor fix in bug 357581. Closing as Fix Released, please reopen if you can reproduce it on Jaunty. The apparmor patch was nominated for an Intrepid SRU. ** Changed in: samba (Ubuntu) Status: Confirmed = Fix Released -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
Hello! At first i've started having segfaults when trying to sudo, then i've restarted my machine and could not login at all. To solve this i've entered recovery mode, opened the root prompt and used this command apt-get purge -y samba samba-common samba-client libpam-smbpass apt- get install -y samba libpam-smbpass. The problem its gone, but now i have another error: when i log using gdm, after entering my password, a dialog box appears with the word Error! and a OK button, and when i click OK the system starts just fine. Also, when trying to sudo, i get an Error, but it still works. Yet also, there is the app System-Administration-Users and Groups which have a error: when trying to unlock it, it locks the window for some seconds, then appears with the dialog box: Coud not authenticate - An unexpected error has occured with a Close button. When closing it, the window locks and freezes, and the Wait or Force Close dialog appears. Anyone else with these problems? -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
Hey All, Has there been any resolution to this. I had the same problems mentioned in the initial post, changed my 2 pam files, and was able to log back in. However, now my samba server doesn't start and cups still doesn't work properly. I had just installed a fresh Ubuntu 8.10 server 2 days ago when this happened, so it seems this is some kind of bug, no? Is there a way to get samba and cups working well together? Thanks, Todd -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
the fix in bug 260687 is making sure /var/lib/samba is created by moving directory creation to the appropriate package. It's not solving the segfault that happens if it's not there. Yes, I'm aware. However here the problem is different, as it happens with an existing /var/lib/samba directory. Emptying the directory usually solves it, by forcing the re-creation of the files in it. No, that hasn't been shown to be the case; that's why I'm asking the submitters this question, to rule that out. -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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
Re: [Bug 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
On 1/22/2009 3:36 AM, Steve Langasek wrote: Jorrit, you showed a test involving 'mv /var/lib/samba/ /var/lib/samba.bak/' - did you have a /var/lib/samba directory on your system when the original crash happened that you were reporting? Steve, Yes, moving or not moving the directory doesn't make a difference, it will segfault in both cases. Recreating the directory as Thierry suggested does fix the problem, though. Jorrit -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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
Re: [Bug 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
On Wed, Jan 21, 2009 at 01:18:53PM -, Thierry Carrez wrote: It looks related to bug 303458 (and his evil duplicate bug 302092) The problem we solved was bug 260687 (libpam-smbpass segfault caused by missing /var/lib/samba), but there seem to be a case of /var/lib/samba/ contents corruption triggering a similar segfault. What's the basis for claiming that there's a corruption problem? I haven't seen tdb corruption in samba for many years. The backtrace in this bug isn't a corruption issue at all; the get_global_sam_sid() call panics if called by a process that can't create or read /var/lib/samba/secrets.tdb. The trick is that libpam-smbpass isn't supposed to call get_global_sam_sid() - so something has changed here. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developerhttp://www.debian.org/ slanga...@ubuntu.com vor...@debian.org -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
By corruption I didn't mean a corrupted bits in a specific file, but rather a corrupted state for the global /var/lib/samba directory contents... The basis for this is that in the mentionned bugs clearing the directory (and especially the existing secrets.tdb file) made everything working again. Clearly the backtrace analysis is more precise than this wild guess based on observed symptoms. -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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
Re: [Bug 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
Thierry Carrez wrote: By corruption I didn't mean a corrupted bits in a specific file, but rather a corrupted state for the global /var/lib/samba directory contents... The basis for this is that in the mentionned bugs clearing the directory (and especially the existing secrets.tdb file) made everything working again. Clearly the backtrace analysis is more precise than this wild guess based on observed symptoms. Steve, Thierry, r...@hercules:~# mv /var/lib/samba/ /var/lib/samba.bak/ r...@hercules:~# exit jor...@hercules:~$ sudo -s [sudo] password for jorrit: Segmentation fault Also, the version of libpam-smbpass I'm currently using is 2:3.2.3-1ubuntu3.4 Let me know if there's more information you need. -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
Jorrit: it will indeed segfault if there is no /var/lib/samba directory anymore. But an existing (empty) /var/lib/samba should work (files will be recreated). That is, if this bug is the same as the other two I mentionned. -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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
Re: [Bug 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
Thierry Carrez wrote: Jorrit: it will indeed segfault if there is no /var/lib/samba directory anymore. But an existing (empty) /var/lib/samba should work (files will be recreated). That is, if this bug is the same as the other two I mentionned. Thierry, I guess you are right. Creating an empty directory did solve the problem. -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
The missing /var/lib/samba dir bug, bug #260687, is purported to be fixed in version 2:3.2.3-1ubuntu3 - earlier than the version Jorrit reports is installed. Walter and Martin, can you tell me whether you have a /var/lib/samba directory on your affected systems? Jorrit, you showed a test involving 'mv /var/lib/samba/ /var/lib/samba.bak/' - did you have a /var/lib/samba directory on your system when the original crash happened that you were reporting? The pam_smbpass module unfortunately explicitly disables the normal Samba logging, which would have generated a more meaningful error message in a logfile if it were enabled. If we can first confirm that everyone's symptoms are the same, then if everyone can tell me which versions of libpam-smbpass they have installed I can provide a package build that turns on logging for pam_smbpass so we can see what Samba itself /says/ the problem is. -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
Walter and Martin, can you tell me whether you have a /var/lib/samba directory on your affected systems? Yes ... I do have that directory. -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled
Steve: the fix in bug 260687 is making sure /var/lib/samba is created by moving directory creation to the appropriate package. It's not solving the segfault that happens if it's not there. However here the problem is different, as it happens with an existing /var/lib/samba directory. Emptying the directory usually solves it, by forcing the re-creation of the files in it. -- silent login/gdm failures and sudo segfaults with smbpasswd enabled https://bugs.launchpad.net/bugs/292791 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