[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#425314: ksmserver: $HOME still in use after session has been closed



Package: ksmserver
Version: 4:3.5.5a.dfsg.1-6
Severity: normal

Hello,

I've been desperately trying to resolve a session-related issue with my
dm-crypt-backed $HOME directory.

I use libpam-mount to set up and mount the encrypted device on $HOME
when I log in and umount/remove it when I log out.

umount always fails because kdeinit-launched processes keep $HOME and
$HOME/.xsession-errors open *after* the session has been closed.
libpam-mount cannot umount/remove the device when it is in use.


What I could gather so far:
*) The session is supposedly closed (auth.log claims so; it also
triggers libpam-mount)
*) The processes are started after I logout (determined through acct)
*) The error regarding .xsession-errors can be avoided by changing its
location (I did that in /etc/X11/Xsession:78).
*) Only $HOME is affected, other libpam-mounted devices are umounted
cleanly


Is there any way I can trace what kdm is doing after I log out - eg,
which processes are launched through kdeinit? I can supply logfiles if
needed.

Regards,
Chris

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.21
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ksmserver depends on:
ii  kdelibs4c2a            4:3.5.5a.dfsg.1-8 core libraries and binaries for al
ii  kwin [x-window-manager 4:3.5.5a.dfsg.1-6 the KDE window manager
ii  libart-2.0-2           2.3.17-1          Library of functions for 2D graphi
ii  libaudio2              1.8-4             The Network Audio System (NAS). (s
ii  libc6                  2.3.6.ds1-13      GNU C Library: Shared libraries
ii  libfontconfig1         2.4.2-1.2         generic font configuration library
ii  libfreetype6           2.2.1-5           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libice6                1:1.0.1-2         X11 Inter-Client Exchange library
ii  libidn11               0.6.5-1           GNU libidn library, implementation
ii  libjpeg62              6b-13             The Independent JPEG Group's JPEG
ii  libpng12-0             1.2.15~beta5-1    PNG library - runtime
ii  libqt3-mt              3:3.3.7-4         Qt GUI Library (Threaded runtime v
ii  libsm6                 1:1.0.1-3         X11 Session Management library
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxau6                1:1.0.1-2         X11 authorisation library
ii  libxcursor1            1.1.7-4           X cursor management library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension librar
ii  libxft2                2.1.8.2-8         FreeType-based font drawing librar
ii  libxi6                 1:1.0.1-4         X11 Input extension library
ii  libxinerama1           1:1.0.1-4.1       X11 Xinerama extension library
ii  libxrandr2             2:1.1.0.2-5       X11 RandR extension library
ii  libxrender1            1:0.9.1-3         X Rendering Extension client libra
ii  libxt6                 1:1.0.2-2         X11 toolkit intrinsics library
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages ksmserver recommends:
ii  kpersonalizer          4:3.5.5a.dfsg.1-6 installation personalizer for KDE

-- no debconf information



Reply to: