Bug 268870

Summary: Device automounter asks for passwords for already opened LUKS devices
Product: [Applications] systemsettings Reporter: timshel <timshel>
Component: kcm_deviceautomounterAssignee: Torrie Fischer <tdfischer>
Status: RESOLVED WORKSFORME    
Severity: normal CC: sebastian.r.walther
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: dolphin, luks, encrypted container

Description timshel 2011-03-19 09:14:54 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

I have activated the device automounter and the option "Mount all removable media at login" recently in the System Settings.
Since then I get ask for a password for a LUKS device which is already opened and mounted during boot. If I deactivate the option "Mount all removable media at loging" the problem disappears.

So the device automounter should check if an device is already opened or mounted before trying to auto mount.

Reproducible: Always

Steps to Reproduce:
1. make sure that you have a LUKS device which is automounted during boot with crypttab
2. enable automatic mounting of removable media
3. activate the option "Mount all removable media at login"
4. restart

Actual Results:  
You get asked for a password for the LUKS device during KDE start.

Expected Results:  
The KDE device mounter should realize that the device/partition is already mounted and don't ask for a password.

Since the home partition is encrypted there is no way that the device wasn't ready during the KDE seesion loading.
Comment 1 Sebastian 2011-04-13 21:54:06 UTC
Created attachment 58928 [details]
dolphin, luks, encrypted container
Comment 2 Sebastian 2011-04-13 21:57:40 UTC
same problem here.
like you i get a password prompt, although luks device got already mounted via crypttab/fstab.

odd thing is, i only get one prompt, but i have three luks devices. i think there could be some bug in recognition of unopened/opened luks container. 
in my case two of three (opened) luks devices get recognized correctly. the third one were still displayed as "Encrypted Container" in dolphin (see above attachment).
Comment 3 Andrew Crouthamel 2018-11-05 03:08:52 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-16 05:37:03 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!
Comment 5 Justin Zobel 2022-12-13 02:54:20 UTC
Thank you for reporting this issue in KDE software. As it was reported on an older version, can we please ask you to see if you cazn reproduce the issue with a more recent software version?  
  
If you can confirm this issue still exists in a recent version, please change the version field and the status to "REPORTED" when replying. Thank you!
Comment 6 Bug Janitor Service 2022-12-28 05:26:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2023-01-12 05:18:59 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!