You are not logged in.
Hi,
I use sudo, and my login is member of the wheel-group and I have an entry in /etc/sudoers
%wheel ALL=(root) NOPASSWD:/usr/bin/truecryptMounting a device (/mnt/truecrypt2 does not exist) with:
truecrypt /dev/disk/by-id/<uuid> /mnt/truecrypt2works in xfce or lxqt, but in KDE I'll be asked for root password to "mount a filesystem on a system device": /dev/mapper/truecrypt2.
Then I cancel and everything is fine; I can access my files and I see:
$ ls -al /dev/mapper/
insgesamt 0
drwxr-xr-x 2 root root 80 23. Dez 20:02 .
drwxr-xr-x 22 root root 3460 23. Dez 20:02 ..
crw------- 1 root root 10, 236 23. Dez 18:02 control
lrwxrwxrwx 1 root root 7 23. Dez 20:02 truecrypt2 -> ../dm-0If I enter the password or change the appropriate polkit-udisks2-rule I can mount w/o password, but I'll get an error when I dismount:
device-mapper: remove ioctl on truecrypt2 failed: Device or resource is busy
Command failedthen I have to repeat the dismount command to remove /dev/mapper/truecrypt2 and then the device is proper dismounted.
here is the journal:
Dez 23 19:51:01 dixi-arch sudo[7104]: dixi : TTY=pts/1 ; PWD=/home/dixi ; USER=root ; COMMAND=/usr/bin/truecrypt --core-service
Dez 23 19:51:01 dixi-arch sudo[7104]: pam_unix(sudo:session): session opened for user root by dixi(uid=0)
Dez 23 19:51:01 dixi-arch sudo[7104]: pam_unix(sudo:session): session closed for user root
Dez 23 19:51:02 dixi-arch krunner[5670]: "/org/freedesktop/UDisks2/block_devices/dm_2d0" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem")
Dez 23 19:51:02 dixi-arch dolphin[7059]: "/org/freedesktop/UDisks2/block_devices/dm_2d0" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem")
Dez 23 19:51:02 dixi-arch kdeinit5[5626]: "/org/freedesktop/UDisks2/block_devices/dm_2d0" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem")
Dez 23 19:51:02 dixi-arch baloo_file[5668]: "/org/freedesktop/UDisks2/block_devices/dm_2d0" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem")
Dez 23 19:51:02 dixi-arch dolphin[7059]: org.kde.baloo: "/org/freedesktop/UDisks2/block_devices/dm_2d0"
Dez 23 19:51:02 dixi-arch dolphin[7059]: org.kde.baloo: "/org/freedesktop/UDisks2/block_devices/dm_2d0"
Dez 23 19:51:02 dixi-arch kdeinit5[5626]: QObject::connect: invalid null parameter
Dez 23 19:51:02 dixi-arch baloo_file[5668]: org.kde.baloo: "/org/freedesktop/UDisks2/block_devices/dm_2d0"
Dez 23 19:51:02 dixi-arch polkit-kde-authentication-agent-1[5680]: Listener adapter polkit_qt_listener_initiate_authentication
Dez 23 19:51:02 dixi-arch polkit-kde-authentication-agent-1[5680]: GSimpleAsyncResult: 0xdc2c20
Dez 23 19:51:02 dixi-arch polkit-kde-authentication-agent-1[5680]: polkit_qt_listener_initiate_authentication callback for 0xcca120
Dez 23 19:51:02 dixi-arch polkit-kde-authentication-agent-1[5680]: Initiating authentication
Dez 23 19:51:02 dixi-arch polkit-kde-authentication-agent-1[5680]: Message of action: "Legitimierung ist zum Einhängen von /dev/mapper/truecrypt2 notwendig"
Dez 23 19:51:02 dixi-arch polkit-kde-authentication-agent-1[5680]: Action description has been found
Dez 23 19:51:02 dixi-arch polkit-kde-authentication-agent-1[5680]: WinId of the dialog is 33554451 0
Dez 23 19:51:02 dixi-arch polkit-kde-authentication-agent-1[5680]: WinId of the shown dialog is 33554451 33554451
Dez 23 19:51:02 dixi-arch polkit-kde-authentication-agent-1[5680]: Trying again
Dez 23 19:51:02 dixi-arch polkit-kde-authentication-agent-1[5680]: REQUEST
Dez 23 19:51:02 dixi-arch polkit-kde-authentication-agent-1[5680]: Request: "Password: "
Dez 23 19:51:02 dixi-arch polkit-kde-authentication-agent-1[5680]: "Password: "
Dez 23 19:51:02 dixi-arch kernel: EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
Dez 23 19:51:02 dixi-arch dolphin[7059]: org.kde.baloo: true "/org/freedesktop/UDisks2/block_devices/dm_2d0"
Dez 23 19:51:02 dixi-arch dolphin[7059]: org.kde.baloo: true "/org/freedesktop/UDisks2/block_devices/dm_2d0"
Dez 23 19:51:02 dixi-arch baloo_file[5668]: org.kde.baloo: true "/org/freedesktop/UDisks2/block_devices/dm_2d0"Any idea? Bug in KDE or bug in all other environments? :-)
Edit: It worked also with KDE4
Edit2 Even after "su" as root I get this legitimation window with password :-/
Solved: It's the automounter of Plasma/Frameworks? I set "automount every removable device automatically"; so KDE tried to automount the same time as truecrypt.
I limited the automount to known unencrypted usb-devices and now it works
weird: this proble never came across with KDE4
Last edited by midixinga (2015-12-24 00:53:18)
Offline