Bug 456325 - Two authentication prompts appear at app startup
Summary: Two authentication prompts appear at app startup
Status: RESOLVED DOWNSTREAM
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.04.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
: 459001 463243 481087 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-07-04 14:15 UTC by l1ttleofficial
Modified: 2024-02-08 22:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description l1ttleofficial 2022-07-04 14:15:24 UTC
SUMMARY
When launching the program, *two* password prompts appear saying "Administrative priviliges are required to manage disks" instead of the usual one


STEPS TO REPRODUCE
1. Run the Partition Manager

OBSERVED RESULT
Two prompts appear

EXPECTED RESULT
One prompt appears

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20220702
(available in About System)
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
In the first prompt, 'polkit.subject-pid' and 'polkit.caller-pid' are the same
In the second prompt, these PIDs are different

Both prompts have Action set to 'Run priviliged partition manager helper' and ID set to 'org.kde.kpmcore.externalcommand.init'

This is *not* caused by an incorrect password, as password correctness is checked before the first prompt is closed
Comment 1 Andrius Štikonas 2022-07-04 18:41:28 UTC
I can't reproduce it on my system. Might be something to do with OpenSUSE or packaging issue. Maybe you should report downstream bug on suse bugzilla?

I only have a single prompt with subject and caller pids identical.
Comment 2 l1ttleofficial 2022-07-13 09:09:13 UTC
> Might be something to do with OpenSUSE or packaging issue

Seems like it, this issue does not occur on Fedora 36
Comment 3 Andrius Štikonas 2022-09-11 15:50:42 UTC
*** Bug 459001 has been marked as a duplicate of this bug. ***
Comment 4 Andrius Štikonas 2022-12-19 20:53:21 UTC
*** Bug 463243 has been marked as a duplicate of this bug. ***
Comment 5 Andrius Štikonas 2024-02-08 22:13:32 UTC
*** Bug 481087 has been marked as a duplicate of this bug. ***