Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update rtkit to 0.13 #2958

Closed
insilications opened this issue Sep 17, 2023 · 0 comments
Closed

update rtkit to 0.13 #2958

insilications opened this issue Sep 17, 2023 · 0 comments

Comments

@insilications
Copy link

All of these distributions are using version 0.13 from a more well maintained fork (https://github.com/af7567/rtkit):
https://build.opensuse.org/package/show/openSUSE:Factory/rtkit
https://packages.gentoo.org/packages/sys-auth/rtkit
https://archlinux.org/packages/extra/x86_64/rtkit/

I've rebased the patches from https://github.com/clearlinux-pkgs/rtkit and included a few patches that are interesting (heftig/rtkit#33):

https://github.com/insilications/rtkit-clr/blob/master/0001-Actually-let-meson-use-pre-generated-introspection-f.patch
https://github.com/insilications/rtkit-clr/blob/master/0002-meson-fix-librt-find_library-check.patch
https://github.com/insilications/rtkit-clr/blob/master/0003-meson-actually-use-systemd_systemunitdir.patch
https://github.com/insilications/rtkit-clr/blob/master/0004-rtkit-mq_getattr.patch
https://github.com/insilications/rtkit-clr/blob/master/0005-rtkit-daemon-Don-t-log-debug-messages-by-default.patch

meson setup --libdir=lib64 --sysconfdir=/usr/share --prefix=/usr --buildtype=plain -Ddefault_library=both \
    -Ddbus_systemservicedir="/usr/share/dbus-1/system-services" \
    -Ddbus_interfacedir="/usr/share/dbus-1/interfaces" \
    -Ddbus_rulesdir="/usr/share/dbus-1/system.d" \
    -Dpolkit_actiondir="/usr/share/polkit-1/actions" \
    -Dsystemd_systemunitdir="/usr/lib/systemd/system" \
    -Dlibsystemd=enabled \
    -Dinstalled_tests=false \
    builddir
clrpackages pushed a commit to clearlinux-pkgs/rtkit that referenced this issue Sep 21, 2023
Changes based on
clearlinux/distribution#2958, though not
switching to meson yet but keeping the patches around just in case.

Andrew Shadura (1):
      Add a format string to dbus_message_new_error_printf

Colin Walters (1):
      Pass uid of caller to polkit

Felipe Sateler (2):
      Do not keep CAP_SYS_PTRACE privilege
      build-sys: don't generate introspection xml by running the program

Jan Alexander Steffens (heftig) (22):
      systemd: Link to libsystemd instead of shipping sd-daemon
      systemd: Remove unneeded PrivateTmp
      systemd: Remove directive that causes warning
      Makefile.am: Move D-Bus system.d into datadir
      Makefile.am: Generate and install D-Bus interface XML
      Remove reading of exe names
      Makefile.am: Install rtkit-test into libexecdir/installed-tests/rtkit
      rtkit-daemon: Restore error handling for DBus property Get
      rtkit-daemon: Restore local `xml` variable
      configure.ac: Bump to 0.12
      build-sys: Use AC_PROG_SED
      build-sys: Use xxd to convert XML into .c file
      gitignore: Add xml-introspection.c, sort
      build-sys: Ensure introspect_xml is NULL-terminated
      build-sys: Replace xml-introspection.c with .h
      GPL: Update to version with https URLs
      README: Update
      editorconfig: Add config and correct indent
      build-sys: Add meson files
      Add XML prelude where missing
      Makefile.am: Dist the meson files
      build: Bump to 0.13

Julien Cristau (1):
      rtkit-test: RLIMIT_RTTIME is in usec, not nsec

Jörg Thalheim (1):
      Drop removed ControlGroup stanza

Lennart Poettering (2):
      build-sys: since clock_gettime() moved to libc use mq_open to check for librt
      systemd: update sd-daemon.[ch]

Marek Szuba (1):
      Make systemd integration (sd-daemon API calls) optional

Matt Porter (2):
      Fix rtkit-daemon dependency on xml-introspection.h
      Start rtkit-daemon service in the multi-user.target

Paul Adenot (2):
      Fix README.md to account for `WithPID` DBUS methods
      Fix two typos in README.md

Key imported:
--list-packet:
:public key packet:
	version 4, algo 1, created 1314292771, expires 0
	pkey[0]: [2048 bits]
	pkey[1]: [17 bits]
	keyid: A5E9288C4FA415FA
:user ID packet: "Jan Alexander Steffens (heftig) <[email protected]>"
:signature packet: algo 1, keyid A5E9288C4FA415FA

--fingerprint:
pub   rsa2048 2011-08-25 [SC]
      8218 F888 49AA C522 E94C  F470 A5E9 288C 4FA4 15FA
uid           [ unknown] Jan Alexander Steffens (heftig) <[email protected]>
uid           [ unknown] [jpeg image of size 3837]
uid           [ unknown] [jpeg image of size 3865]
sub   ed25519 2019-05-08 [A]
sub   rsa4096 2019-05-08 [A]
sub   rsa2048 2011-08-25 [E]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant