Opened 3 months ago

Closed 3 months ago

#19143 closed enhancement (fixed)

polkit-124

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 12.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New version.

Change History (6)

comment:1 by Bruce Dubbs, 3 months ago

## polkit 124

### Highlights:

  • PIDFDs are used if available to track processes
  • pidfd parameter available for CheckAuthorization()
  • systemd-sysuser enabled for polkit

### Build requirements

  • glib, gobject, gio >= 2.32
  • mozjs-115 OR duktape
  • gobject-introspection >= 0.6.2 (optional)
  • pam (optional)
  • ConsoleKit OR systemd
  • gettext
  • meson

### Changes since polkit 123:

  • PIDFD implementation and fixes/extensions around it
  • new systemd_unit and no_new_privileges subject attributes
  • general and/or buildsystem fixes
  • uninitialized pointer warning fix
  • mozjs 115 dependency upgrade and fixes
  • general fixes
  • systemd-sysuser implementation
  • localization

comment:2 by Bruce Dubbs, 3 months ago

The seds for version 123 are no longer needed.

comment:3 by Bruce Dubbs, 3 months ago

For sysV, this FTPFS:

meson setup ..                      \
      --prefix=/usr                 \
      --buildtype=release           \
      -Dman=true                    \
      -Dsession_tracking=libelogind \
      -Dtests=true    

Gives:

...
Has header "netgroup.h" : NO 
Checking if "setnetgrent return support" compiles: YES 
Run-time dependency libelogind found: YES 252.9
Checking for function "sd_uid_get_display" with dependency libelogind: YES 
Checking for function "sd_pidfd_get_session" with dependency libelogind: NO 

../meson.build:222:37: ERROR: Unknown variable "systemd_dep".

comment:4 by Bruce Dubbs, 3 months ago

Builds OK with

sed -i '222 s//#/' meson.build

or

sed -i '/systemd_sysusers_dir/s//#/' meson.build

This may only be appropriate for sysV.

comment:5 by Bruce Dubbs, 3 months ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:6 by Bruce Dubbs, 3 months ago

Resolution: fixed
Status: assignedclosed

Fixed at commits

730d47f29f Update to polkit-124.
fb4719be50 Spelling (which, witch, wich ;) )
21de0f0055 Fix external wildmidi url
Note: See TracTickets for help on using tickets.