luks encrypted volumes are not multi-user friendly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-disk-utility (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: cryptsetup
An encrypted volume is not easily shared among multiple users on the same system.
Steps to Reproduce:
On PC #1
-Make sure that cryptsetup is installed
-Open gnome-disk-
-Insert USB disk and format it selecting "Encrypt underlying layer"
-Provide password and format
On PC #2
-Make sure you have 2 admin users and that cryptsetup is installed
-Log in to first user
-Insert disk and enter passphrase
-Log out of first use and log into second user (switching users would also do)
-Select encrypted disk from "Places Menu"
Result: Error occurs. (error is different in 10.04 vs 10.10)
10.10 - unable to mount <label> - /dev/dm-0 is mounted
Expected: Encrypted volumes should be multi-user friendly. If second user has the correct passphrase they should be able to see the disk.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: cryptsetup 2:1.1.2-1ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Wed Oct 13 15:19:40 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: cryptsetup
crypttab: # <target name> <source device> <key file> <options>
This is not a bug in cryptsetup; like various others, it's a bug in whatever is mounting the disk without properly unmounting it on logout. Maybe this is gnome-disk-utility?
> Log out of first use and log into second user (switching users would also do)
No, because that implies that you want both users to mount the disk simultaneously. That's a recipe for filesystem corruption.