! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Handling of LUKS partitions randomly fails
Status:
RESOLVED: INVALID
Product:
Thunar-volman
Component:
General

Comments

Description Robert Delahunt 2010-05-19 15:55:54 CEST
Created attachment 2983 
/sbin/lspci output

Upon inserting an external hard drive with LUKS partitions on it, I am prompted for a password for each, but randomly the icon for the LUKS partition on the desktop does not appear.  Noted that /dev/mapper/luks_crypto_{uuid} appears for each unlocked LUKS partition, but cannot figure out where the break between unlock and icon populating on the desktop fails.  Happens on both my laptops (this one is core2duo, the other atom).

Running Slackware 13.1-rc1.  Previously in Slackware 13.0 I got the famous "asked twice for password" bug, but they never seemed to fail to populate on the desktop or to unlock, so I'm baffled.  Versions: Thunar Volume Manager 0.3.80, Xfce 4.6.1, Xfce Notifyd 0.1.0, Xfce Power Manager 0.8.5, GLIBC 2.11.1, GCC 4.4.4, GTK 1.2.10/2.18.9.
Comment 1 Robert Delahunt 2010-05-19 15:56:42 CEST
Created attachment 2984 
dmesg output
Comment 2 Robert Delahunt 2010-05-19 15:57:13 CEST
Created attachment 2985 
ls /var/log/packages/*
Comment 3 Robert Delahunt 2010-05-25 02:03:51 CEST
Confirmed in Slackware 13.1 (just released as stable) on (again) the same two machines (same external drive, worked fine in Slackware 13.0).
Comment 4 Robert Delahunt 2010-05-26 02:50:08 CEST
Tried opening the device manually this time, resulting in:

bash-4.1# luksOpen /dev/sdb2 BACKUP
Enter passphrase for /dev/sdb2: 
device-mapper: remove ioctl failed: Device or resource busy
Key slot 0 unlocked.
bash-4.1# ls /media
README       cdrecorder1  cdrom1  dvd1     floppy1  hd1      memory1  zip1
cdrecorder   cdrom        dvd     floppy   hd       memory   zip
cdrecorder0  cdrom0       dvd0    floppy0  hd0      memory0  zip0

Therefore the problem may not be Xfce.  I'd say mark this as UNCONFIRMED.
Comment 5 Robert Delahunt 2010-05-29 22:22:52 CEST
Nevermind.  It appears cryptsetup in Slackware 13.1 is the culprit.  I am marking this RESOLVED/INVALID.  However, please note that in Slackware 13.0 the Bug of Xfce asking more than one for the password for a LUKS partition is still in effect (the user learns to enter password at the first prompt and to press ESC on the second prompt).

Bug #6457

Reported by:
Robert Delahunt
Reported on: 2010-05-19
Last modified on: 2010-05-29

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

/sbin/lspci output (2.15 KB, text/plain)
2010-05-19 15:55 CEST , Robert Delahunt
no flags
dmesg output (30.22 KB, text/plain)
2010-05-19 15:56 CEST , Robert Delahunt
no flags
ls /var/log/packages/* (20.21 KB, text/plain)
2010-05-19 15:57 CEST , Robert Delahunt
no flags

Additional information