Public bug reported:

Binary package hint: gdm

I use a crypted home directory using cryptmount, cryptsetup etc.
I use pam-mount to pass my password to the mount command.
This way everything works but I want the directory to be unmounted at logout. 
This doesn't work.
I tried to modify PostSession/Default script to unmount.
The unmount failed because of open files.
I tried to kill -9 `lsof -t $HOME_DIR` but some are persistent.

COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF     NODE NAME
gconfd-2  2469 pinus   17w   REG  252,4      299 67166268 
/home/pinus/.gconf/apps/nautilus/desktop-metadata/directory/%gconf.xml.new
gnome-pan 2494 pinus  cwd    DIR  252,4     4096      128 /home/pinus
nautilus  2496 pinus  cwd    DIR  252,4     4096      128 /home/pinus
gdu-notif 2593 pinus  cwd    DIR  252,4     4096      128 /home/pinus
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF     NODE NAME
pulseaudi 2626 pinus  mem    REG  252,4      696      136 
/home/pinus/.pulse/9b4e51497724cc5218ebb1614c2617ca-card-database.tdb
pulseaudi 2626 pinus  mem    REG  252,4    73728      135 
/home/pinus/.pulse/9b4e51497724cc5218ebb1614c2617ca-stream-volumes.tdb
pulseaudi 2626 pinus  mem    REG  252,4    61440      134 
/home/pinus/.pulse/9b4e51497724cc5218ebb1614c2617ca-device-volumes.tdb
pulseaudi 2626 pinus   11u   REG  252,4    61440      134 
/home/pinus/.pulse/9b4e51497724cc5218ebb1614c2617ca-device-volumes.tdb
pulseaudi 2626 pinus   12u   REG  252,4    73728      135 
/home/pinus/.pulse/9b4e51497724cc5218ebb1614c2617ca-stream-volumes.tdb
pulseaudi 2626 pinus   13u   REG  252,4      696      136 
/home/pinus/.pulse/9b4e51497724cc5218ebb1614c2617ca-card-database.tdb
gconfd-2  2628 pinus   18w   REG  252,4   238602 67166474 
/home/pinus/.gconfd/saved_state

I think something is broken in the shutdown sequence/scrips.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gdm 2.30.2.is.2.30.0-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic x86_64
Architecture: amd64
Date: Sat Jul 24 22:20:54 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: gdm

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


** Tags: amd64 apport-bug lucid

-- 
gdm doesn't unmount crypted directories
https://bugs.launchpad.net/bugs/609575
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to