One of the many automatic backtraces and gdb attachments show a backtrace 
haning in libpam-mount / pam_end.
Digging deeper I rebuild pam-mount with DEB_BUILD_OPTIONS=nostrip. The bug then 
could no longer be reproduced. I then rebuild libpam-mount without any 
DEB_BUILD_OPTIONS and the bug also no longer could be reproduced. Diffing 
pam_mount.so from the official package and my rebuild one, diff says that there 
are differences.

I used the following commands to rebuild
 > sudo apt-get build-dep libpam-mount
 > apt-get source libpam-mount
 > cd libpam-mount-1.32
 > sudo dpkg-buildpackage -b
 > dpkg -i ../libpam-mount*.deb
.

Could it be that some dependencies of libpam-mount were updated which
gcc inlined (as O=s is used) and therefore a rebuild of libpam-mount is
required?

Package: libpam-mount
Priority: extra
Section: admin
Installed-Size: 424
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Bastian Kleineidam <[email protected]>
Architecture: i386
Version: 1.32-2
Depends: libc6 (>= 2.7), libhx22, libpam0g (>= 0.99.7.1), libssl0.9.8 (>= 
0.9.8k-1), libxml2 (>= 2.7.4), mount (>= 2.12-3), libpam-runtime (>= 1.0.1-6)
Suggests: ncpfs, smbfs, cryptsetup, openssl, fuse-utils, davfs2, lsof, psmisc, 
xfsprogs, sshfs, truecrypt | truecrypt-utils
Conflicts: libncp (<< 2.2.0.19.10)
Filename: pool/main/libp/libpam-mount/libpam-mount_1.32-2_i386.deb
Size: 123276
MD5sum: 16742b379b4e332e93b862e3b63c7fd4
SHA1: 72df5ddf0da50bafe68f5ce6fc13af3c1c0ffafb
SHA256: 8591e7e5d08af03722e58656177b7b6eb1a34d367d866e5aca8df607bbd363a6
Description: PAM module that can mount volumes for a user session
 This module is aimed at environments with central file servers that a
 user wishes to mount on login and unmount on logout, such as
 (semi-)diskless stations where many users can logon.
 .
 The module also supports mounting local filesystems of any kind the
 normal mount utility supports, with extra code to make sure certain
 volumes are set up properly because often they need more than just a
 mount call, such as encrypted volumes. This includes SMB/CIFS, FUSE,
 dm-crypt and LUKS.
Homepage: http://pam-mount.sourceforge.net/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y

-- 
gdm-session-worker crashes on logout when pam_mount is enabled
https://bugs.launchpad.net/bugs/574329
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