Bug 1116084 - Auto-mounting encrypted external disk requires root password
Summary: Auto-mounting encrypted external disk requires root password
Status: NEW
: 1171215 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-14 20:10 UTC by Richard Gladman
Modified: 2023-08-03 14:22 UTC (History)
9 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
rokejulianlockhart+1674683091: needinfo? (devguy.ca)


Attachments
snap-01 (52.16 KB, image/png)
2021-01-22 22:47 UTC, Dev Guy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Gladman 2018-11-14 20:10:28 UTC
Operating System: openSUSE Tumbleweed 20181110
KDE Plasma Version: 5.14.3
Qt Version: 5.11.2
KDE Frameworks Version: 5.51.0
Kernel Version: 4.18.15-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 7.7 GiB of RAM


When auto-mounting an encrypted USB drive, it asks for the encryption password and if that is correct, it asks for the root password to perform the mount. When manually mounting the same drives, the root password is not required. This is the expected behaviour.
Comment 1 Wolfgang Bauer 2021-01-18 12:22:26 UTC
*** Bug 1171215 has been marked as a duplicate of this bug. ***
Comment 2 Wolfgang Bauer 2021-01-18 12:23:31 UTC
Seems to be related to udisks2...
Comment 3 Dev Guy 2021-01-22 22:47:33 UTC
Created attachment 845453 [details]
snap-01
Comment 4 Dev Guy 2021-01-22 22:52:00 UTC
I also started to notice the same bug, but my disk is not external nor encrypted. It is a SSD system installed disk.

I attached a pic of the nagging dialog I get each time I login after a bootup, asking me for my root password. See pic snap-01.png

This never happen before, but showed up a few weeks backs and I was just ignoring it at first.

I initially opened this as a KDE bug, but was told this is a openSUSE bug and was pointed to this one.


My system info

Operating System: openSUSE Tumbleweed 20210120
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.7-1-default
OS Type: 64-bit
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: Radeon RX 570 Series
Comment 5 Cruiz 2022-05-22 15:50:33 UTC
Unfortunately still exists in 15.4 :-(
Comment 6 roke beedell 2023-08-03 14:21:55 UTC
(In reply to Dev Guy from comment #4)
> I also started to notice the same bug, but my disk is not external nor
> encrypted. It is a SSD system installed disk.
> 
> I attached a pic of the nagging dialog I get each time I login after a
> bootup, asking me for my root password. See pic snap-01.png
> 
> This never happen before, but showed up a few weeks backs and I was just
> ignoring it at first.
> 
> I initially opened this as a KDE bug, but was told this is a openSUSE bug
> and was pointed to this one.

Where did you report this to KDE? Could you link the bugs.kde.org issue?
Comment 7 roke beedell 2023-08-03 14:22:10 UTC
If any of you are like me (capable of filing and following bug reports but not necessarily remediating the problem reliably yourself) luckily an easy solution exists. https://discuss.kde.org/t/how-can-i-provide-authorization-to-mount-internal-drives-at-boot-automatically/3329/8?u=rokejulianlockhart explains.