227 Commits

Author SHA256 Message Date
05f2ffb71a Accepting request 1328443 from Base:System
- change to /var/lib/polkit-1 being tmpfiles created (jsc#PED-14794) (forwarded request 1328198 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/1328443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=98
2026-01-22 14:11:49 +00:00
c0b836a01e Accepting request 1328198 from home:msmeissn:branches:Base:System
- change to /var/lib/polkit-1 being tmpfiles created (jsc#PED-14794)

OBS-URL: https://build.opensuse.org/request/show/1328198
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=210
2026-01-21 09:08:14 +00:00
275d57091f Accepting request 1326294 from Base:System
- Updated to version 127:
  - socket-activated polkit-agent-helper can now run without SETUID (Luca Boccassi)
  - user id (UID) now accessible to JavaScript rules via subject.uid (Rosentti, Jan Rybar)
  - INI config file support for polkitd with configurable auth expiration timer (Luca Boccassi)
  - auth_keep: skip re-authentication if new process shares same UID/parent/cgroup/tty (Luca Boccassi)
  - CheckAuthorization now returns 'polkit.result' in the details dict (Luca Boccassi)
  - pkexec: set $SUDO_UID/$SUDO_GID for compatibility with sudo (Lennart Poettering)
  - pkexec: use realpath when comparing org.freedesktop.policykit.exec.path (Walter Doekes)
  - memory limits added to systemd unit to mitigate memory leaks (Alexander Meshcheryakov)
  - new translations: Bulgarian (twlvnn kraftwerk), Occitan (Mejans)
- systemd-socket-activation.patch: upstream, removed
- auth_keep.patch: upstream, removed
- sudo_uid.patch: upstream, removed
- added polkitd.conf.5 manpage, added polkitd.conf

OBS-URL: https://build.opensuse.org/request/show/1326294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=97
2026-01-12 09:10:46 +00:00
f2cede71bc OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=208 2026-01-09 08:54:56 +00:00
78948b7b6e Accepting request 1325956 from home:msmeissn:branches:Base:System
- Updated to version 127:
  - socket-activated polkit-agent-helper can now run without SETUID (Luca Boccassi)
  - user id (UID) now accessible to JavaScript rules via subject.uid (Rosentti, Jan Rybar)
  - INI config file support for polkitd with configurable auth expiration timer (Luca Boccassi)
  - auth_keep: skip re-authentication if new process shares same UID/parent/cgroup/tty (Luca Boccassi)
  - CheckAuthorization now returns 'polkit.result' in the details dict (Luca Boccassi)
  - pkexec: set $SUDO_UID/$SUDO_GID for compatibility with sudo (Lennart Poettering)
  - pkexec: use realpath when comparing org.freedesktop.policykit.exec.path (Walter Doekes)
  - memory limits added to systemd unit to mitigate memory leaks (Alexander Meshcheryakov)
  - new translations: Bulgarian (twlvnn kraftwerk), Occitan (Mejans)
- systemd-socket-activation.patch: upstream, removed
- auth_keep.patch: upstream, removed
- sudo_uid.patch: upstream, removed
- added polkitd.conf.5 manpage, added polkitd.conf

OBS-URL: https://build.opensuse.org/request/show/1325956
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=207
2026-01-08 12:49:43 +00:00
46f4452900 Accepting request 1315270 from Base:System
- Backport for NoNewPrivs support:
  - systemd-socket-activation.patch: start agent via socket, no setuid
- Backport of patches for better run0 usability:
  - auth_keep.patch: do not ask for reauth if new process shares same UID/parent/cgroup/tty
  - sudo_uid.patch: also set $SUDO_UID/$SUDO_GID for compat with sudo (forwarded request 1315266 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/1315270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=96
2025-11-05 15:17:56 +00:00
8a41cf2b0d Accepting request 1315266 from home:kukuk:pwaccess
- Backport for NoNewPrivs support:
  - systemd-socket-activation.patch: start agent via socket, no setuid
- Backport of patches for better run0 usability:
  - auth_keep.patch: do not ask for reauth if new process shares same UID/parent/cgroup/tty
  - sudo_uid.patch: also set $SUDO_UID/$SUDO_GID for compat with sudo

OBS-URL: https://build.opensuse.org/request/show/1315266
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=205
2025-11-03 10:39:07 +00:00
77d6ab0c65 Accepting request 1305233 from Base:System
- Skip tests in qemu emulation (forwarded request 1305226 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1305233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=95
2025-09-17 14:43:09 +00:00
31741dfaa4 Accepting request 1305226 from home:Andreas_Schwab:Factory
- Skip tests in qemu emulation

OBS-URL: https://build.opensuse.org/request/show/1305226
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=203
2025-09-16 15:36:12 +00:00
cfdf3d3404 Accepting request 1304764 from home:msmeissn:branches:Base:System
- change /etc/polkit-1/rules.d group ownership back to polkitd 
  (bsc#1249581)

OBS-URL: https://build.opensuse.org/request/show/1304764
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=202
2025-09-15 09:41:54 +00:00
c493b40c24 Emergency fix - user generations was broken inoriginal submission
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=94
2025-09-12 07:32:53 +00:00
OBS User buildservice-autocommit
e494408873 Updating link to change in openSUSE:Factory/polkit revision 94
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=5b9b8309cc5f90bbc924f7a9bdf514c5
2025-09-12 07:32:53 +00:00
31b093b4e6 Accepting request 1303595 from Base:System
(forwarded request 1303593 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/1303595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=93
2025-09-11 12:38:14 +00:00
2f3b7e9706 Accepting request 1303593 from home:msmeissn:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/1303593
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=200
2025-09-10 09:24:43 +00:00
74a78b2a85 Accepting request 1303228 from home:msmeissn:branches:Base:System
- revert upstream change to have /etc/polkit-1/rules.d as tempdir

OBS-URL: https://build.opensuse.org/request/show/1303228
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=199
2025-09-08 14:36:47 +00:00
5e9987fd46 Accepting request 1302995 from home:msmeissn:branches:Base:System
- store our defaults in /usr/share/ as /etc/polkit is now a tempdir

OBS-URL: https://build.opensuse.org/request/show/1302995
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=198
2025-09-06 08:47:20 +00:00
29c7235525 Accepting request 1302945 from home:msmeissn:branches:Base:System
- Updated to version 126:
  + Highlights:
    - many code fixes detected either by CI or the author himself (Frantisek Sumsal)
    - shellcheck and dependabot integration (Jan Macku)
    - search for rules in /usr/local/share rather than /usr/local/lib (Luca Boccassi)
    - Implement LogControl1 protocol for dynamic log level changes (Luca Boccassi)
    - read actions also from /etc/, /run/ and /usr/local/share/ (Luca Boccassi)
    - mozjs dropped in favor of duktape (Xi Ruoyao)
    - many other fixes in build system and polkit code (Many thanks to all the authors.)
- Updated to version 125:
  + Highlights:
    - introduction of CodeQL and a new integration test suite (Frantisek Sumsal)
    - dropped mocklibc (Frantisek Sumsal)
    - syslog-style log-levels introduction (Jan Rybar)
    - LogControl integration (Luca Boccassi)
    - pkexec: "No session for cookie" finally fixed (huxiaodong)
    - resources optimizations: only instances affected by sessions-change recalculate authorizations (Jan Rybar, thanks to Michal Sekletar and Milan Crha)
    - meson tweaks (Alyssa Ross, Luca Boccassi, Michael Biebl, Michael Olbrich)
    - build warnings cleanup (peelz)
    - Packit service configuration for the new upstream platform (Vincent Mihalkovic)
    - systemd-tmpfiles.d integration (Vincent Mihalkovic)
    - other fixes and changes (Gleb Popov, heather7283, Tianyu Chen, Tobias Stoeckmann)
    - internationalization: Slovenian (filmsi), Hindi (Scrambled777)
- Updated to version 124:
  + Highlights:
    - PIDFDs are used if available to track processes
    - pidfd parameter available for CheckAuthorization()
    - systemd-sysuser enabled for polkit
- polkit-actions-in-etc.patch: done upstream in commit 9958c259f82b066f613d171d2934c1bd829e31a4
- polkit-fix-implicit.patch: not needed anymore

OBS-URL: https://build.opensuse.org/request/show/1302945
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=197
2025-09-05 15:12:14 +00:00
a368c00968 Accepting request 1193878 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1193878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=92
2024-08-15 07:57:39 +00:00
f31b7b30bd Accepting request 1193874 from home:dimstar:Factory
- BuildRequire gettext-devel instead of gettext: Allows OBS to
  shortcut throught gettext-runtime-mini.

OBS-URL: https://build.opensuse.org/request/show/1193874
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=195
2024-08-14 12:50:59 +00:00
b9a37eb73e Accepting request 1187081 from Base:System
- Add -Wno-error=implicit-function-declaration to %optflags to
  work-around an issue in mocklibc (which has been meanwhile removed
  by upstream) with exactly this kind of issue.

If the request is OK, please forward it to Factory soon-ish so that we
can switch the default compiler. (forwarded request 1187079 from jamborm)

OBS-URL: https://build.opensuse.org/request/show/1187081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=91
2024-07-14 06:48:49 +00:00
eca3cbd3a7 Accepting request 1187079 from home:jamborm:gcc14fixes
- Add -Wno-error=implicit-function-declaration to %optflags to
  work-around an issue in mocklibc (which has been meanwhile removed
  by upstream) with exactly this kind of issue.

If the request is OK, please forward it to Factory soon-ish so that we
can switch the default compiler.

OBS-URL: https://build.opensuse.org/request/show/1187079
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=193
2024-07-12 13:08:58 +00:00
2705f6c109 Accepting request 1132614 from Base:System
- Add 'dbus-service' as Requires instead of /usr/bin/dbus-daemon
  This allow to use other dbus implementations such as dbus-broker with this
  package again. (bsc#1217863) (forwarded request 1132569 from tobijk)

OBS-URL: https://build.opensuse.org/request/show/1132614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=90
2023-12-12 18:31:44 +00:00
d2c9b0eaab Accepting request 1132569 from home:tobijk:branches:Base:System
- Add 'dbus-service' as Requires instead of /usr/bin/dbus-daemon
  This allow to use other dbus implementations such as dbus-broker with this
  package again. (bsc#1217863)

OBS-URL: https://build.opensuse.org/request/show/1132569
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=191
2023-12-12 08:40:24 +00:00
f52355c222 Accepting request 1127651 from Base:System
- Update to version 123:
  + Highlights:
    - better safety with deeper restriction of the configuration
      files
    - better safety with restricting the daemon's owner under
      systemd
    - better safety with the systemd unit sandboxing
    - less thread races during upload of the configuration
- Changes from version 122:
  + Highlights:
    - new Georgian translation
    - port to mozjs-102
    - daemon-less build (support for e.g. flatpak deps)
    - re-enable of (API) documentation build
- See more detailed changes in the included NEWS.md file.
- Change URL and Source to new home, and drop polkit.keyring and
  tar.gz.sign tarball signature, no longer available.
- Drop polkit-fix-pam-prefix.patch: Fixed upstream.
- Add /usr/bin/dbus-daemon BuildRequires, needed for tests. Replace
  the dbus-1 with /usr/bin/dbus-daemon Requires.

- change /usr/share/polkit-1/rules.d to 555,root:root. /usr content
  isn't secret anyway so this avoids non-root owned files in /usr
  (boo#1215482)
- update 50-default.rules to allow adding more admin rules
  (jsc#PED-260, drop polkit-no-wheel-group.patch)

OBS-URL: https://build.opensuse.org/request/show/1127651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=89
2023-12-05 16:02:21 +00:00
f163fe3de5 - better safety with deeper restriction of the configuration
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=189
2023-11-20 09:44:30 +00:00
51a16a0212 - better safety with deeper resrtiction of the configuration
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=188
2023-11-20 07:57:15 +00:00
c0662bea55 Accepting request 1114786 from home:iznogood:branches:Base:System
Bump and tweaks

OBS-URL: https://build.opensuse.org/request/show/1114786
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=187
2023-10-03 08:40:00 +00:00
c4640c4fac Accepting request 1112287 from home:lnussel:branches:Base:System
- change /usr/share/polkit-1/rules.d to 555,root:root. /usr content
  isn't secret anyway so this avoids non-root owned files in /usr
  (boo#1215482)
- update 50-default.rules to allow adding more admin rules
  (jsc#PED-260, drop polkit-no-wheel-group.patch)

OBS-URL: https://build.opensuse.org/request/show/1112287
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=186
2023-09-19 15:44:51 +00:00
2d7867851c Accepting request 1075521 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1075521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=88
2023-03-31 19:15:09 +00:00
a372189673 Accepting request 1075307 from home:jsegitz:branches:Base:System
- Change permissions for rules folders (bsc#1209282)

OBS-URL: https://build.opensuse.org/request/show/1075307
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=184
2023-03-30 09:30:23 +00:00
14fbc06890 Accepting request 1034882 from Base:System
- read actions also from /etc/polkit-1/actions (jsc#PED-1405)
  added polkit-actions-in-etc.patch

OBS-URL: https://build.opensuse.org/request/show/1034882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=87
2022-11-10 13:19:33 +00:00
ab9839a13e added polkit-actions-in-etc.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=182
2022-11-09 16:18:51 +00:00
808d602907 Accepting request 1034870 from home:aschnell:branches:Base:System
- read actions also from /etc/polkit-1/actions (jsc#PED-1405)

OBS-URL: https://build.opensuse.org/request/show/1034870
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=181
2022-11-09 15:54:16 +00:00
e982b327f7 Accepting request 1003905 from Base:System
next try

- obsolete libpolkit0 also from baselibs.

OBS-URL: https://build.opensuse.org/request/show/1003905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=86
2022-09-16 11:32:13 +00:00
c630e83434 - obsolete libpolkit0 also from baselibs.
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=179
2022-09-15 14:37:12 +00:00
a86140148b - obsolete libpolkit0 correctly, also do this for the baselibs.
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=178
2022-09-15 13:26:54 +00:00
55d23ab356 Accepting request 997525 from Base:System
Update to 121 stable release. (forwarded request 997456 from luc14n0)

OBS-URL: https://build.opensuse.org/request/show/997525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=85
2022-08-18 14:48:51 +00:00
67b6ed7232 Accepting request 997456 from home:luc14n0:branches:Base:System
Update to 121 stable release.

OBS-URL: https://build.opensuse.org/request/show/997456
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=176
2022-08-17 11:30:42 +00:00
aaa0825405 Accepting request 993702 from Base:System
OBS-URL: https://build.opensuse.org/request/show/993702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=84
2022-08-09 13:26:00 +00:00
b5ad31b2bc Accepting request 993691 from home:kukuk:branches:Base:System
- Use %_pam_vendordir

OBS-URL: https://build.opensuse.org/request/show/993691
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=174
2022-08-08 08:14:05 +00:00
2afcdac6fb Accepting request 992575 from Base:System
- add split-provides for polkit:/usr/bin/pkexec. (bsc#1202070) (forwarded request 992574 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/992575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=83
2022-08-04 11:22:58 +00:00
577557153b Accepting request 992574 from home:msmeissn:branches:Base:System
- add split-provides for polkit:/usr/bin/pkexec. (bsc#1202070)

OBS-URL: https://build.opensuse.org/request/show/992574
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=172
2022-08-03 12:34:34 +00:00
ec14636c0d Accepting request 989831 from Base:System
- split out pkexec into seperate package to make system hardening
  easier (to avoid installing it jsc#PED-132 jsc#PED-148). (forwarded request 989830 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/989831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=82
2022-07-31 21:00:22 +00:00
70919da179 Accepting request 989830 from home:msmeissn:branches:Base:System
- split out pkexec into seperate package to make system hardening
  easier (to avoid installing it jsc#PED-132 jsc#PED-148).

OBS-URL: https://build.opensuse.org/request/show/989830
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=170
2022-07-18 09:49:15 +00:00
c197b59d5e Accepting request 956662 from Base:System
- Fixed denial of service via file descriptor leak (bsc#1195542 CVE-2021-4115)
  0001-CVE-2021-4115-GHSL-2021-077-fix.patch

OBS-URL: https://build.opensuse.org/request/show/956662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=81
2022-02-23 15:25:48 +00:00
92d4914aa9 - Fixed denial of service via file descriptor leak (bsc#1195542 CVE-2021-4115)
0001-CVE-2021-4115-GHSL-2021-077-fix.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=169
2022-02-22 10:49:38 +00:00
204da5c1cb Accepting request 949264 from Base:System
- Switch from mozjs to duktape:
  * Add duktape-support.patch

Provides the same features as with mozjs, but is *much* smaller both during
build and runtime. Before, installing polkit needed 62.0 MiB, with this it's
just 16.3 MiB. (Tested in an opensuse/tumbleweed container).

I didn't encounter any errors while playing around with it in a Live CD. (forwarded request 949263 from favogt)

OBS-URL: https://build.opensuse.org/request/show/949264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=80
2022-01-27 22:16:25 +00:00
0f67cffa04 Accepting request 949263 from home:favogt:dukkit
- Switch from mozjs to duktape:
  * Add duktape-support.patch

Provides the same features as with mozjs, but is *much* smaller both during
build and runtime. Before, installing polkit needed 62.0 MiB, with this it's
just 16.3 MiB. (Tested in an opensuse/tumbleweed container).

I didn't encounter any errors while playing around with it in a Live CD.

OBS-URL: https://build.opensuse.org/request/show/949263
OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=168
2022-01-26 12:54:22 +00:00
dd1b57c1c4 - Fixed pkexec Local Privilege Escalation aka pwnkit (CVE-2021-4034 bsc#1194568)
CVE-2021-4034-pkexec-fix.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=167
2022-01-25 18:16:00 +00:00
41a62ba464 Accepting request 936198 from Base:System
- update to 0.120:
  * transition from Intltool to gettext
  * several tarball, meson and pipeline fixups
  * Portuguese translation
  * Romanian translation
  * meson build system added
  * CVE-2021-3560 mitigation
  * properties in text listener
  * typos fixups
  * Update Hungarian translation
- drop CVE-2021-3560.patch  (upstream) (forwarded request 936022 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/936198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=79
2021-12-11 23:55:53 +00:00