Public bug reported: I'm using pam_mount in my setup to mount automatically a dm-crypt partition to /home/user when 'user' logs into the system. When the user logs in the console or to a ssh session, there is no problem. There is also no problem if the user logs in a Fluxbox session and subsequently logs out.
But when the user logs in an Unity session, then subsequently logs out, I can't umount /home/user. It always reports "device is busy", even after killing all processes belonging to the user: # pkill -u user # lsof +f -- /home/user lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/lightdm/gvfs Output information may be incomplete # fuser /home/user # umount /home/user umount: /home/user: device is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) # When I boot 3.5.0-21-generic instead of 3.5.0-22-generic, everything works fine: after killing all the processes owned by the user, I can successfully umount /home/user. ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: linux-image-3.5.0-22-generic 3.5.0-22.34 ProcVersionSignature: Ubuntu 3.5.0-22.34-generic 3.5.7.2 Uname: Linux 3.5.0-22-generic x86_64 ApportVersion: 2.6.1-0ubuntu9 Architecture: amd64 AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC1', '/dev/snd/hwC1D0', '/dev/snd/hwC1D1', '/dev/snd/hwC1D2', '/dev/snd/hwC1D3', '/dev/snd/pcmC1D3p', '/dev/snd/pcmC1D7p', '/dev/snd/pcmC1D8p', '/dev/snd/pcmC1D9p', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D2c', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found. Date: Fri Jan 18 17:46:03 2013 HibernationDevice: RESUME=UUID=c0ad8697-aa0c-40eb-b081-6e942765f98d IwConfig: eth0 no wireless extensions. lo no wireless extensions. MachineType: System manufacturer System Product Name MarkForUpload: True ProcEnviron: LANGUAGE=pt_BR:pt:en TERM=linux PATH=(custom, no user) LANG=pt_BR.UTF-8 SHELL=/bin/bash ProcFB: 0 nouveaufb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-22-generic root=UUID=57442425-2446-4cc3-87f9-938e256aebee ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: linux-restricted-modules-3.5.0-22-generic N/A linux-backports-modules-3.5.0-22-generic N/A linux-firmware 1.95 RfKill: SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 09/06/2011 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 0901 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: P8P67-M PRO dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev X.0X dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0901:bd09/06/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP8P67-MPRO:rvrRevX.0X:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug quantal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1101355 Title: can't umount home partition on 3.5.0-22-generic (works on 3.5.0-21-generic) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1101355/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs