[Bug 1188919] New: polkit no longer honors /etc/polkit-default-privs.local
http://bugzilla.opensuse.org/show_bug.cgi?id=1188919 Bug ID: 1188919 Summary: polkit no longer honors /etc/polkit-default-privs.local Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Security Assignee: meissner@suse.com Reporter: suse-beta@cboltz.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Since one of the last Tumbleweed snapshots (somewhen between 20210723 and 20210726), /etc/polkit-default-privs.local gets ignored - with the effect that for example shutdown from KDE no longer works (I use PERMISSION_SECURITY="secure local" + a few polkit local overrides, one of them allows shutdown from KDE). Actually there are two problems in one: - /etc/polkit-default-privs.local was renamed to /etc/polkit-default-privs.local.rpmsave during zypper dup - renaming it back and running set_polkit_default_privs didn't change/fix anything. set_polkit_default_privs completely ignores /etc/polkit-default-privs.local (confirmed by running it with bash -x) I don't have a problem with moving the default config to /usr/etc/ - but PLEASE avoid breaking things while doing so. (Severity major because it's a regression, and because it breaks shutdown and some other things for me.) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188919 http://bugzilla.opensuse.org/show_bug.cgi?id=1188919#c3 Laudecir Daniel <hehe_br-opensuse@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hehe_br-opensuse@yahoo.com --- Comment #3 from Laudecir Daniel <hehe_br-opensuse@yahoo.com> --- I got the same problem in Tumbleweed snapshot 20210803. Creating the new folder and renaming the file inside it fixed the permission:
sudo mkdir /etc/polkit-default-privs sudo mv /etc/polkit-default-privs.local /etc/polkit-default-privs/local sudo /sbin/set_polkit_default_privs
The fix should be added as a patch to the last update of polkit that changed the previous location of local permissions. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188919 Eugene Popov <popov895@ukr.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |popov895@ukr.net -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com