umount.cifs does not work on logout with libpam-mount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
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/
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/
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/
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_
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_
May 10 17:11:16 lstextub1004 kernel: [ 216.944830] [<c0219eed>] ? shrink_
May 10 17:11:16 lstextub1004 kernel: [ 216.944841] [<c0209c70>] ? generic_
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_
May 10 17:11:16 lstextub1004 kernel: [ 216.944861] [<c020ab74>] ? deactivate_
May 10 17:11:16 lstextub1004 kernel: [ 216.944867] [<c022009f>] ? mntput_
May 10 17:11:16 lstextub1004 kernel: [ 216.944871] [<c02206b7>] ? sys_umount+
May 10 17:11:16 lstextub1004 kernel: [ 216.944879] [<c01033ec>] ? syscall_
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_
May 10 17:11:16 lstextub1004 kernel: [ 216.945358] ---[ end trace e0186b2f99b7f194 ]---
security vulnerability: | yes → no |
visibility: | private → public |
affects: | samba (Ubuntu) → linux (Ubuntu) |
Upon further investigation, this kernel bug causing the system to hang only occurs with one of our samba shares. However, I'm still not sure why it is occurring at all.