luks encrypted volumes are not multi-user friendly

Bug #660140 reported by komputes
8
This bug affects 1 person
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-utility's palimsest (System > Administration > Disk Utility)
-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
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
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>

Revision history for this message
komputes (komputes) wrote :
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote :

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.

affects: cryptsetup (Ubuntu) → gnome-disk-utility (Ubuntu)
Revision history for this message
Hussam Al-Tayeb (hussam) wrote :

Please take a look at this bug
https://bugzilla.gnome.org/show_bug.cgi?id=624067
same error that /dev/dm-0 is already mounted.
But in this case, it was mounted at boot (root filesystem) so we don't want it unmounted ;)
Instead gdu should not be showing entries for already unlocked and mounted disks.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the stable release - Oneiric Ocelot. It would help us greatly if you could test with it so we can work on getting it fixed. You can find out more about it at http://www.ubuntu.com/download . Thanks again and we appreciate your help.

Changed in gnome-disk-utility (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Paul White (paulw2u) wrote :

Upstream report was closed as "RESOLVED OBSOLETE" ON 2018-04-14
This report did not expire due to existence of bug watch
So closing now as "Invalid"

Changed in gnome-disk-utility (Ubuntu):
status: Incomplete → Invalid
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.