Hi all!
Is it just me or can sombody else replicate this behaviour:
1) pmount installed, udisks2 not installed: I get the "device inserted .."-dialog, but the device icons do not show up. Mounting and unmounting works. After removing all external devicis I still have /media/ populated with "interesting" folders, each containing one file ".creaded_by_pmount". Zhese survive a reboot, so I have to remove them by hand.
2) udisks2 is installed, pmount not instaled: I get the "device inserted .."-dialog, and all device icons as expected. Mounting and unmounting works. /media/ is working as expected, i.e. folders disappear when the device is removed.
So ... save to say "install udisks2 and forget aboult pmount" ? pmount i used in exegnulinux, that's why I ran into it.
Nik
On 2020/11/06 03:42 PM, Dr. Nikolaus Klepp wrote:
Hi all!
Is it just me or can sombody else replicate this behaviour:
pmount installed, udisks2 not installed: I get the "device inserted .."-dialog, but the device icons do not show up. Mounting and unmounting works. After removing all external devicis I still have /media/ populated with "interesting" folders, each containing one file ".creaded_by_pmount". Zhese survive a reboot, so I have to remove them by hand.
udisks2 is installed, pmount not instaled: I get the "device inserted .."-dialog, and all device icons as expected. Mounting and unmounting works. /media/ is working as expected, i.e. folders disappear when the device is removed.
So ... save to say "install udisks2 and forget aboult pmount" ? pmount i used in exegnulinux, that's why I ran into it.
Hi everyone, I will reply here although I read the other messages too. I spent lot of time testing with udisks2 and pmount in my work on LUKS support.
I assume you are using R14.0.x since you still have the "device inserted" dialog (not to worry, this will still be there in R14.1.0 although currently it is not... long story behind it).
udisks2 works like a charm, at least as root. If you are a normal user, you may need permissions, but that is another matter. Each operation (unlock, mount, unmount, lock) can be executed individually and overall there are no issues.
pmount provided partial functionality, as in you cannot execute those 4 operations individually but only combined. Also pmount only supports removable devices, while udisks2 works also on internal disks (like /dev/sdX).
Overall, based on my experience I fully recommend to use udisks2. pmount, udevil, udisks provide partial or support for LUKS devices.
Cheers Michele
On Friday 06 November 2020 10:06:30 am Michele Calgaro via tde-users wrote:
On 2020/11/06 03:42 PM, Dr. Nikolaus Klepp wrote:
Hi all!
Is it just me or can sombody else replicate this behaviour:
- pmount installed, udisks2 not installed: I get the "device inserted
.."-dialog, but the device icons do not show up. Mounting and unmounting works. After removing all external devicis I still have /media/ populated with "interesting" folders, each containing one file ".creaded_by_pmount". Zhese survive a reboot, so I have to remove them by hand.
- udisks2 is installed, pmount not instaled: I get the "device inserted
.."-dialog, and all device icons as expected. Mounting and unmounting works. /media/ is working as expected, i.e. folders disappear when the device is removed.
So ... save to say "install udisks2 and forget aboult pmount" ? pmount i used in exegnulinux, that's why I ran into it.
Hi everyone, I will reply here although I read the other messages too. I spent lot of time testing with udisks2 and pmount in my work on LUKS support.
I assume you are using R14.0.x since you still have the "device inserted" dialog (not to worry, this will still be there in R14.1.0 although currently it is not... long story behind it).
udisks2 works like a charm, at least as root. If you are a normal user, you may need permissions, but that is another matter. Each operation (unlock, mount, unmount, lock) can be executed individually and overall there are no issues.
pmount provided partial functionality, as in you cannot execute those 4 operations individually but only combined. Also pmount only supports removable devices, while udisks2 works also on internal disks (like /dev/sdX).
Overall, based on my experience I fully recommend to use udisks2. pmount, udevil, udisks provide partial or support for LUKS devices.
Hi Michele,
I wanted to thank you for both this post and the last LUKS post you made! It’s always nice to understand the ‘backend’ of the software we use.
Oddly I though my machine was running udisks2, but it seems to only have pmount and udevil installed.[1]
Would you have any recommendations on how to add udisks2 and remove pmount, udevil, and udisks, such that nothing ‘bad’ happens? Or is it safer to just add udisks2?
Background: I used encrypted removable drives in the past for backups.[2] When the last one died (year+ ago) I switched backups to ‘tar | gpg’, so I’m not real sure I’ve used encrypted removable drives on this specific system. [3]
I’d like to go back to using encrypted removable drives for backups (definitely easier), so I’m really glad these posts came up identifying I may not have ‘good’ software installed currently for that.
Again, thanks for you help and knowledge.
Best, Michael
[1] # which udisks2 # which udisks # which pmount /usr/bin/pmount # which udevil /usr/bin/udevil
[2] Known usage was Ubuntu 14.04
[3] michael@local [~]# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)"
On 2020/11/07 12:51 AM, Michael via tde-users wrote:
Hi Michele,
I wanted to thank you for both this post and the last LUKS post you made! It’s always nice to understand the ‘backend’ of the software we use.
Hi Michael, glad to be of help :-)
Would you have any recommendations on how to add udisks2 and remove pmount, udevil, and udisks, such that nothing ‘bad’ happens? Or is it safer to just add udisks2?
You can pretty much have all of them installed, there isn't any conflict AFAICT. In R14.1.0 udisks2 has the top priority, followed by udisks, udevil and lastly pmount. tdehw library will use the first available method that it finds. I normally have just udisks2 installed, but for testing I experimented with different combinations and didn't run in any problem other than the limitations of the various tools. Note that udisks is no longer available in recent distros, having been replaced by udisks2.
If you run R14.0.x you won't be able to unlock/lock LUKS disks from the GUI, you still need to use CLI or D-bus calls to the backend that you have installed. Deoending on what is your policy on updates, you may want to consider switching to PTB, where you can unlock a disk with a double click + password.
Cheers Michele