Bug 1202189 - Polkit pkexec split breaks desktop applications
Summary: Polkit pkexec split breaks desktop applications
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: All openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Marcus Meissner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-06 13:14 UTC by Georg Pfuetzenreuter
Modified: 2022-08-09 14:13 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georg Pfuetzenreuter 2022-08-06 13:14:21 UTC
Hello,

a user in #opensuse reported `gparted` to no longer launch if started without root privileges since the last update of Tumbleweed.
Investigation revealed that this is caused by https://build.opensuse.org/request/show/989831 no longer providing `pkexec` by default.

I submitted a patch for `gparted` (https://build.opensuse.org/request/show/993466), however I still like to address this bug in a broader scheme.

It seems other applications faced the same issue, and got a "Recommends: pkexec" added as a solution, for example Nautilus (https://bugzilla.opensuse.org/show_bug.cgi?id=1202070). But it seems clear that this won't be the only applications facing the issue - other desktop programs utilizing `pkexec` are likely to be affected as well.

- Can we trace all affected applications and add the necessary "Recommends: pkexec" to them?

- Alternatively, as suggested by the reporter in IRC, would it be feasible to add `pkexec` to one of the desktop patterns?

Best,
Georg
Comment 1 Georg Pfuetzenreuter 2022-08-06 13:16:05 UTC
Additional note: there is an existing bug 1202126, but it was filed against MicroOS.
Comment 2 Marcus Meissner 2022-08-09 14:13:01 UTC
i added the ones where I was aware that they NEED pkexec as they had polkit rules, but they seem to be more of them that use pkexec as a "su" clone.

They should all get recommends if possible.

I am currently on vacation, but I hope with gvfs-backends and nautilus covered, we will likely get it for default GNOME installs.