You are not logged in.
After I switched to systemd (everything else works fine now) I cannot mount any disk (CD/DVD/USB disk) with KDE 4.9.2.
I only get the error message "cannot mount the following device: [...]".
This is also the case when logged in as root, so it's probably not a problem with permissions.
Manually mounting works fine.
These lines show up in syslog when attaching a USB disk:
Nov 3 12:04:49 localhost kernel: [ 310.752533] sd 5:0:0:0: [sdb] Attached SCSI removable disk
Nov 3 12:04:49 localhost udisks-daemon[752]: **** ADDING /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/host5/target5:0:0/5:0:0:0/block/sdb
Nov 3 12:04:49 localhost udisks-daemon[752]: **** UPDATING /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/host5/target5:0:0/5:0:0:0/block/sdb
Nov 3 12:04:49 localhost udisks-daemon[752]: **** ADDED /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/host5/target5:0:0/5:0:0:0/block/sdb
Nov 3 12:04:49 localhost udisks-daemon[752]: **** EMITTING ADDED for /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/host5/target5:0:0/5:0:0:0/block/sdb
Nov 3 12:04:49 localhost udisks-daemon[752]: **** ADDING /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/host5/target5:0:0/5:0:0:0/block/sdb/sdb1
Nov 3 12:04:49 localhost udisks-daemon[752]: **** UPDATING /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/host5/target5:0:0/5:0:0:0/block/sdb/sdb1
Nov 3 12:04:49 localhost udisks-daemon[752]: **** ADDED /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/host5/target5:0:0/5:0:0:0/block/sdb/sdb1
Nov 3 12:04:49 localhost udisks-daemon[752]: **** EMITTING ADDED for /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/host5/target5:0:0/5:0:0:0/block/sdb/sdb1
Nov 3 12:04:51 localhost udisks-daemon[752]: **** USING MOUNT OPTIONS 'uhelper=udisks,nodev,nosuid,uid=1000,gid=1001,shortname=mixed,dmask=0077,utf8=1,showexec,flush' FOR DEVICE /dev/sdb1
The error is only displayed in KDE, does not appear in the log.
I have no idea where to look for a missing or wrong setting, so I would appreciate any advice.
If you need more information about my system, feel free to ask.
Last edited by iromeister (2012-12-12 17:39:47)
Offline
Have you recently updated your system? Systemd replaced consolekit functionality so packages had to be rebuilt. Check your services.
Offline
Yes, I did, and today I did another pacman -Syau but with no effect on my problem.
I also uninstalled consolekit, which didn't change anything as well.
What about group membership, the Wiki says most groups are not needed anymore and can even cause problems? I'm not sure about this, playing around with group membership did not have an effect either.
When I try mounting the disk manually using udisks it says that the option "uid=1000" is not allowed - where are those mount options defined?
I also don't have the directory /run/media. This should be created by systemd (or udisks?), shouldn't it?
Last edited by iromeister (2012-11-04 14:03:05)
Offline
Hi there,
I have the same problem, it seems that the desktop environment has no more the right permissions to mount/unmount.
I can mount/unmount disks using sudo on a console, how can I restore the automounting on kde?
Last edited by alwaysanoob (2012-11-04 22:28:51)
Offline
The more I delve into this issue, the more I agree with IgnorantGuru: Udisks2: Another Loss For Linux. Are there any efforts to go back to simpler tools, like the recent udev fork?
With systemd and udisks/udisks2, Arch seems to go astray from the KISS principle which was the reason I fell in love with Arch in the first place.
Offline
I'm not sure I really agree with IgnorantGuru in that I used to use a script which mounted my floppy with udisk --sorry old school--and with the systemd change, I now only had to change my script back to the KISS principle of mount and umount, without udisk, to make it work. I don't understand all the complaints about the direction arch is going. To me it's the same as it's always been. Arch is for competent linux users, simple as that. If you don't want to do the work and figure it out--as best you can--on your own, then the forum is your friend. ![]()
edit: @alwaysanoob: Recently, with the change away from consolekit to logind, check to see if your polkit.service is active as many posts are showing that the polkit upgrade is not always activated due to conflicting group id's. I myself had this problem as polkit was trying to use group id 102 which was already taken by an old install of gdm--which I had to remove--before the polkit.service could be started properly after a reinstall of polkit
.
Last edited by bgc1954 (2012-11-05 05:03:48)
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
I have a similar problem with automounting in XFCE not working after a fresh netinstall.
See my other post here: https://bbs.archlinux.org/viewtopic.php?id=152324
polkit.service is running on my system.
Last edited by zilverling (2012-11-05 17:32:20)
Offline
It's a shame that I still keep not reading things accurately.
I still have a mixed systemd/initscripts installation, once completed the switch to systemd everything is gone well.
Sorry to waste someone else time!
Bye
Offline
I noticed something quite strange: After booting, I cannot mount external media with KDE. After running udisksctl mount -b /dev/sdXY once, it works afterwards, i.e. I can unmount the disk using KDE and mount any other media without problem until the next reboot.
Offline
After the latest update automounting works again ![]()
Offline