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

Bug#255010: kdesktop: device icon mount/umount behavior broken by /etc/fstab edit



Package: kdesktop
Version: 4:3.2.2-1
Severity: normal

I had a device icon on my KDE desktop for a removable HD (USB stick) 
partition, /dev/sda1 on /keycard, user mount available.

Eventually, the system /etc/fstab was changed so that /keycard was
now associated with /dev/sda5:

/dev/sda5	/keycard	ext3	rw,user,noauto,nosuid 0 0

After that, attempt to mount the fs using the icon caused /keycard to
be mounted from /dev/sda5, yet no mount indication was shown on the
icon, and it was impossible to umount the disk via the icon. Changing
the device in the icon properties/device tab from sda1 to sda5 restored
the icon back to normal. This had to be repeated for all users that had
such an icon on their desktop.

I find this behavior inconsistent. Either mount should not proceed at
all (because there is no /dev/sda1 on /keycard user mount available
any more), or, if what matters is just the mount point (i.e. the icon
is following /etc/fstab), there should be no device association stored
with the icon, just the mount point, and the device should be looked up
from /etc/fstab. Personally, I would prefer the latter behavior as it
is more consistent with the centralized mountpoint to device mapping via 
the fstab.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-1-686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R

Versions of packages kdesktop depends on:
ii  kdebase-bin               4:3.2.2-1      KDE Base (binaries)
ii  kdelibs4                  4:3.2.2-2      KDE core libraries
ii  libart-2.0-2              2.3.16-5       Library of functions for 2D graphi
ii  libc6                     2.3.2.ds1-12   GNU C Library: Shared libraries an
ii  libfam0c102               2.7.0-5        client library to control the FAM 
ii  libgcc1                   1:3.3.4-1      GCC support library
ii  libice6                   4.3.0.dfsg.1-4 Inter-Client Exchange library
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libkonq4                  4:3.2.2-1      Core libraries for KDE's file mana
ii  libpcre3                  4.5-1.1        Perl 5 Compatible Regular Expressi
ii  libpng12-0                1.2.5.0-6      PNG library - runtime
ii  libqt3c102-mt             3:3.2.3-2      Qt GUI Library (Threaded runtime v
ii  libsm6                    4.3.0.dfsg.1-4 X Window System Session Management
ii  libstdc++5                1:3.3.4-1      The GNU Standard C++ Library v3
ii  libx11-6                  4.3.0.dfsg.1-4 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-4 X Window System miscellaneous exte
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  xlibs                     4.3.0.dfsg.1-4 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-3    compression library - runtime

-- no debconf information



Reply to: