[Bug 578587] [NEW] umount.cifs does not work on logout with libpam-mount

Launchpad Bug Tracker 578587 at bugs.launchpad.net
Mon May 17 17:54:38 UTC 2010


You have been subscribed to a public bug:

Binary package hint: samba

Ubuntu 10.04 i686
 smbfs 2:3.4.7
 libpam-mount 1.32-2

Issue:
I'm mounting home directories and file shares using cifs and pam_mount (likewise-open5 for authentication).  On logout pam_mount is not able to unmount the cifs shares.  I created a logout script (/etc/gdm/PostSession/Default) that runs 'umount -fl $MOUNT' but I get this kernel bug:

May 10 17:11:16 lstextub1004 kernel: [  216.942808] BUG: Dentry d5898110{i=3,n=/} still in use (2) [unmount of cifs cifs]
May 10 17:11:16 lstextub1004 kernel: [  216.943470] ------------[ cut here ]------------
May 10 17:11:16 lstextub1004 kernel: [  216.943493] kernel BUG at /build/buildd/linux-2.6.32/fs/dcache.c:670!
May 10 17:11:16 lstextub1004 kernel: [  216.943548] invalid opcode: 0000 [#1] SMP 
May 10 17:11:16 lstextub1004 kernel: [  216.943597] last sysfs file: /sys/devices/virtual/misc/rfkill/uevent
May 10 17:11:16 lstextub1004 kernel: [  216.943678] Modules linked in: nls_cp437 cifs binfmt_misc fbcon tileblit font bitblit softcursor ppdev parport_pc intel_agp lp vga16fb parport shpchp vgastate i2c_piix4 agpgart psmouse serio_raw mptspi mptscsih mptbase pcnet32 mii floppy scsi_transport_spi
May 10 17:11:16 lstextub1004 kernel: [  216.943811] 
May 10 17:11:16 lstextub1004 kernel: [  216.943912] Pid: 2059, comm: umount.cifs Not tainted (2.6.32-22-generic #33-Ubuntu) VMware Virtual Platform
May 10 17:11:16 lstextub1004 kernel: [  216.943929] EIP: 0060:[<c0219ea9>] EFLAGS: 00010286 CPU: 3
May 10 17:11:16 lstextub1004 kernel: [  216.944184] EIP is at shrink_dcache_for_umount_subtree+0x249/0x260
May 10 17:11:16 lstextub1004 kernel: [  216.944218] EAX: 0000005b EBX: d5898110 ECX: ffffffa8 EDX: 00000000
May 10 17:11:16 lstextub1004 kernel: [  216.944233] ESI: 00000002 EDI: e0a33728 EBP: df667f38 ESP: df667f0c
May 10 17:11:16 lstextub1004 kernel: [  216.944256]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
May 10 17:11:16 lstextub1004 kernel: [  216.944292] Process umount.cifs (pid: 2059, ti=df666000 task=dfe099a0 task.ti=df666000)
May 10 17:11:16 lstextub1004 kernel: [  216.944309] Stack:
May 10 17:11:16 lstextub1004 kernel: [  216.944343]  c06ce160 d5898110 00000003 d589816c 00000002 e0a33728 de69b964 d589816c
May 10 17:11:16 lstextub1004 kernel: [  216.944406] <0> de69b800 e0a30500 c0248b80 df667f44 c0219eed de69b800 df667f5c c0209c70
May 10 17:11:16 lstextub1004 kernel: [  216.944422] <0> df667f54 c058b6ed 00000018 e0a42de0 df667f68 c0209d91 de69b800 df667f7c
May 10 17:11:16 lstextub1004 kernel: [  216.944469] Call Trace:
May 10 17:11:16 lstextub1004 kernel: [  216.944807]  [<c0248b80>] ? vfs_quota_off+0x0/0x20
May 10 17:11:16 lstextub1004 kernel: [  216.944830]  [<c0219eed>] ? shrink_dcache_for_umount+0x2d/0x50
May 10 17:11:16 lstextub1004 kernel: [  216.944841]  [<c0209c70>] ? generic_shutdown_super+0x20/0xe0
May 10 17:11:16 lstextub1004 kernel: [  216.944853]  [<c058b6ed>] ? _spin_lock+0xd/0x10
May 10 17:11:16 lstextub1004 kernel: [  216.944857]  [<c0209d91>] ? kill_anon_super+0x11/0x50
May 10 17:11:16 lstextub1004 kernel: [  216.944861]  [<c020ab74>] ? deactivate_super+0x64/0x90
May 10 17:11:16 lstextub1004 kernel: [  216.944867]  [<c022009f>] ? mntput_no_expire+0x8f/0xe0
May 10 17:11:16 lstextub1004 kernel: [  216.944871]  [<c02206b7>] ? sys_umount+0x47/0xa0
May 10 17:11:16 lstextub1004 kernel: [  216.944879]  [<c01033ec>] ? syscall_call+0x7/0xb
May 10 17:11:16 lstextub1004 kernel: [  216.944924] Code: 64 01 00 00 89 54 24 18 8b 55 f0 89 7c 24 14 89 74 24 10 89 5c 24 04 89 54 24 0c 89 44 24 08 c7 04 24 60 e1 6c c0 e8 bc f0 36 00 <0f> 0b eb fe 0f 0b eb fe eb 0d 90 90 90 90 90 90 90 90 90 90 90 
May 10 17:11:16 lstextub1004 kernel: [  216.945069] EIP: [<c0219ea9>] shrink_dcache_for_umount_subtree+0x249/0x260 SS:ESP 0068:df667f0c
May 10 17:11:16 lstextub1004 kernel: [  216.945358] ---[ end trace e0186b2f99b7f194 ]---

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: libpam-mount samba smbfs
-- 
umount.cifs does not work on logout with libpam-mount
https://bugs.edge.launchpad.net/bugs/578587
You received this bug notification because you are a member of Kernel Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list