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

Bug#252571: kdebase-kio-plugins: unable to unmount usb stick; open file still held by old k* processes



Package: kdebase-kio-plugins
Version: 4:3.5.5a.dfsg.1-5
Followup-For: Bug #252571

I see there's a work around for this issue.  I'm following up on it, as it
still takes me by suprise this is normal behaivor. (eg, principle of least
suprise).

When I plugin my usb flash stick, I commonly get a prompt asking what I
would like to do with it.  Most times I open it, because I want it mounted,
and I'm prepared to print off a pdf file to save there.  I don't think so
much the problem is with what steps follow, but apparently after some
files are opened, saved, printed to, what have you, they're still left
open by processes that were presumed closed.

I think what ever requests the umount/detach/eject work flow, should
tell other programs to release those busy filehandles if they're not in
use any more.

Here is lsof -p ... -p ... | grep /media durring the time of the error:

konqueror 21539 supaplex 15r REG 8,1 12015 1653 /media/PEN DISK/29061.pdf
konqueror 21539 supaplex 16r REG 8,1 11531 1648 /media/PEN DISK/64252.pdf
kio_media 21699 supaplex 15r REG 8,1 12015 1653 /media/PEN DISK/29061.pdf
kio_media 21699 supaplex 16r REG 8,1 11531 1648 /media/PEN DISK/64252.pdf

Thank you!  Nice way of doing things with hotpluggable media btw :)

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.1-20061221
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages kdebase-kio-plugins depends on:
ii  kdelibs4c2a          4:3.5.5a.dfsg.1-5   core libraries and binaries for al
ii  kdesktop             4:3.5.5a.dfsg.1-5   miscellaneous binaries and files f
ii  libc6                2.3.6.ds1-8         GNU C Library: Shared libraries
ii  libdbus-1-3          1.0.2-1             simple interprocess messaging syst
ii  libdbus-qt-1-1c2     0.62.git.20060814-2 simple interprocess messaging syst
ii  libgcc1              1:4.1.1-21          GCC support library
ii  libhal-storage1      0.5.8.1-4           Hardware Abstraction Layer - share
ii  libhal1              0.5.8.1-4           Hardware Abstraction Layer - share
ii  libldap2             2.1.30-13.2         OpenLDAP libraries
ii  libopenexr2c2a       1.2.2-4.3           runtime files for the OpenEXR imag
ii  libqt3-mt            3:3.3.7-2           Qt GUI Library (Threaded runtime v
ii  libsasl2-2           2.1.22.dfsg1-8      Authentication abstraction library
ii  libsasl2-modules     2.1.22.dfsg1-8      Pluggable Authentication Modules f
ii  libsmbclient         3.0.23d-2+b1        shared library that allows applica
ii  libstdc++6           4.1.1-21            The GNU Standard C++ Library v3
ii  libxcursor1          1.1.7-4             X cursor management library
ii  psmisc               22.3-1              Utilities that use the proc filesy
ii  zlib1g               1:1.2.3-13          compression library - runtime

Versions of packages kdebase-kio-plugins recommends:
ii  hal                          0.5.8.1-4   Hardware Abstraction Layer
ii  kamera                       4:3.5.5-2   digital camera io_slave for Konque
ii  kdemultimedia-kio-plugins    4:3.5.5-2   enables the browsing of audio CDs 
ii  pmount                       0.9.13-1+b1 mount removable devices as normal 

-- no debconf information




Reply to: