KDE automounts devices that are not configured to do so

Bug #626323 reported by Mark
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdebase-runtime (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: kdesudo

This just started happening yesterday after installing a couple of packages (which ones, of course, I can't remember... I was in the process of trying to get compositing to work... and old age is cruel...)

Whenever I login (and when I unlock the screensaver) I get FOUR consecutive kdesudo dialogs asking for my password, saying it's required to access some "device"... I don't know what this is for.

Is it possible something is trying to harvest me password???

Revision history for this message
Mark (mark-localmotive) wrote :

Forgot to say... sorry... This is fairly recent (two weeks ago) full Kubuntu Lucid AMD64 install

Revision history for this message
Mark (mark-localmotive) wrote :

After looking deeper at this, I can see that kdesu is not the problem, but now I don't know which "package" is appropriate...

Here is output from "ps -ef":

/usr/lib/kde4/libexec/kdesu -d --noignorebutton --comment Please enter your password to use this device -c dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/volume_uuid_ACEAAB62EAAB2812 org.freedesktop.Hal.Device.Volume.Mount string: string: array:string:locale=en_US.UTF-8

/usr/lib/kde4/libexec/kdesu -d --noignorebutton --comment Please enter your password to use this device -c dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/volume_uuid_2C88743C8874071C org.freedesktop.Hal.Device.Volume.Mount string: string: array:string:locale=en_US.UTF-8

/usr/lib/kde4/libexec/kdesu -d --noignorebutton --comment Please enter your password to use this device -c dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/volume_uuid_202C327F2C324FD0 org.freedesktop.Hal.Device.Volume.Mount string: string: array:string:locale=en_US.UTF-8

/usr/lib/kde4/libexec/kdesu -d --noignorebutton --comment Please enter your password to use this device -c dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/volume_uuid_CAB80056B8004403 org.freedesktop.Hal.Device.Volume.Mount string: string: array:string:locale=en_US.UTF-8

The UUIS's are for these disk partitions:

/dev/sdb1
/dev/sdb2
/dev/sdb3
/dev/sda1

These just happen to be my Windows NTFS partitions.

So I try to find files in/under my home directory that contain one of these UUIDs and this is what I get...

sudo find . -type f -exec grep -l CAB80056B8004403 {} \;
./.kde/share/apps/amarok/collection.db
./.kde/share/config/kded_device_automounterrc
./.kde/share/config/kwikdiskrc

I suppose I could just delete these, but this still leaves me wondering what's trying to mount these and why???

Revision history for this message
Stefan Fleiter (stefan-fleiter) wrote :

I have the same problem:

# ps fwwwwx | grep kdesu |grep -v grep
11231 ? Sl 0:00 \_ /usr/lib/kde4/libexec/kdesu -d --noignorebutton --comment Bitte geben Sie Ihr Passwort ein, um dieses Gerät zu benutzen -c dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/volume_uuid_30040C1F040BE726 org.freedesktop.Hal.Device.Volume.Mount string: string: array:string:locale=de_DE.UTF-8

Setting package to my best guess, this is not a kdesudo problem.

I have Kde from
https://launchpad.net/~kubuntu-ppa/+archive/ppa

LANG=C apt-cache policy kdebase-runtime
kdebase-runtime:
  Installed: 4:4.5.4-0ubuntu1~maverick1~ppa1
  Candidate: 4:4.5.4-0ubuntu1~maverick1~ppa1
  Version table:
 *** 4:4.5.4-0ubuntu1~maverick1~ppa1 0
        500 http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status
     4:4.5.1-0ubuntu3.1 0
        500 http://de.archive.ubuntu.com/ubuntu/ maverick-updates/main amd64 Packages
     4:4.5.1-0ubuntu3 0
        500 http://de.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages

affects: kdesudo (Ubuntu) → kdebase-runtime (Ubuntu)
Changed in kdebase-runtime (Ubuntu):
status: New → Confirmed
Revision history for this message
Stefan Fleiter (stefan-fleiter) wrote :

Removing
################################################################################
[Devices][/org/freedesktop/Hal/devices/volume_uuid_30040C1F040BE726]
EverMounted=true
ForceAttachAutomount=false
ForceLoginAutomount=false
Icon=drive-harddisk
LastNameSeen=OS
LastSeenMounted=false
################################################################################
from ~/.kde/share/config/kded_device_automounterrc fixes the problem.

ForceLoginAutomount is set to false.
Shouldn't that prevent the dialog on session startup?

More about the device:
################################################################################
# findfs UUID=30040C1F040BE726·
/dev/sda3

LANG=C sudo fdisk -l /dev/sda

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x30000000

   Device Boot Start End Blocks Id System
   /dev/sda1 1 15 120456 de Dell Utility
   /dev/sda2 16 1321 10485760 7 HPFS/NTFS
   /dev/sda3 * 1321 5890 36700160+ 7 HPFS/NTFS
   /dev/sda4 5891 30402 196885920+ f W95 Ext'd (LBA)
   /dev/sda5 30075 30402 2620416 dd Unknown
   /dev/sda6 5891 5902 96358+ 83 Linux
   /dev/sda7 5903 10471 36700461 83 Linux
   /dev/sda8 10472 12038 12586896 83 Linux
   /dev/sda9 12039 29545 140624946 83 Linux
   /dev/sda10 29546 30074 4249161 82 Linux swap / Solaris

   Partition table entries are not in disk order
################################################################################

summary: - At login I get FOUR kdesudo dialogs
+ KDE automounts devices that are not configured to do so
Revision history for this message
Harald Sitter (apachelogger) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. While we appreciate your issue, it would be better if it was tracked at https://bugs.kde.org, so that the KDE developers can deal with this speedily and have direct communication with you as the reporter for more effective debugging.

Thanks!

Changed in kdebase-runtime (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Stefan Fleiter (stefan-fleiter) wrote :

For those bothered by this:

Simply removing ~/.kde/share/config/kded_device_automounterrc helps, the file is recreated automatically.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.