|
|
f9bb81 |
Name: rtkit
|
|
|
f9bb81 |
Version: 0.11
|
|
|
f9bb81 |
Release: 28%{?dist}
|
|
|
f9bb81 |
Summary: Realtime Policy and Watchdog Daemon
|
|
|
f9bb81 |
# The daemon itself is GPLv3+, the reference implementation for the client BSD
|
|
|
f9bb81 |
License: GPLv3+ and BSD
|
|
|
f9bb81 |
URL: http://git.0pointer.net/rtkit.git/
|
|
|
f9bb81 |
Requires: dbus
|
|
|
f9bb81 |
Requires: polkit
|
|
|
f9bb81 |
BuildRequires: make
|
|
|
f9bb81 |
BuildRequires: systemd-devel
|
|
|
f9bb81 |
BuildRequires: dbus-devel >= 1.2
|
|
|
f9bb81 |
BuildRequires: libcap-devel
|
|
|
f9bb81 |
BuildRequires: polkit-devel
|
|
|
f9bb81 |
BuildRequires: autoconf automake libtool
|
|
|
f9bb81 |
Source0: http://0pointer.de/public/%{name}-%{version}.tar.xz
|
|
|
f9bb81 |
Patch1: rtkit-mq_getattr.patch
|
|
|
f9bb81 |
Patch2: 0001-SECURITY-Pass-uid-of-caller-to-polkit.patch
|
|
|
f9bb81 |
Patch3: rtkit-controlgroup.patch
|
|
|
f9bb81 |
|
|
|
f9bb81 |
# Temporarily disable -Werror=format-security since it breaks the build
|
|
|
f9bb81 |
Patch4: format-security.patch
|
|
|
f9bb81 |
|
|
|
f9bb81 |
Patch5: 0001-Fix-borked-error-check.patch
|
|
|
f9bb81 |
Patch6: 0001-systemd-update-sd-daemon.-ch.patch
|
|
|
f9bb81 |
Patch7: 0002-Remove-bundled-copy-of-sd-daemon.-ch.patch
|
|
|
f9bb81 |
|
|
|
f9bb81 |
%description
|
|
|
f9bb81 |
RealtimeKit is a D-Bus system service that changes the
|
|
|
f9bb81 |
scheduling policy of user processes/threads to SCHED_RR (i.e. realtime
|
|
|
f9bb81 |
scheduling mode) on request. It is intended to be used as a secure
|
|
|
f9bb81 |
mechanism to allow real-time scheduling to be used by normal user
|
|
|
f9bb81 |
processes.
|
|
|
f9bb81 |
|
|
|
f9bb81 |
%prep
|
|
|
f9bb81 |
%autosetup -p1
|
|
|
f9bb81 |
|
|
|
f9bb81 |
%build
|
|
|
f9bb81 |
autoreconf -fvi
|
|
|
f9bb81 |
%configure --with-systemdsystemunitdir=%{_unitdir}
|
|
|
f9bb81 |
%make_build
|
|
|
f9bb81 |
./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
|
|
|
f9bb81 |
|
|
|
f9bb81 |
%install
|
|
|
f9bb81 |
%make_install
|
|
|
f9bb81 |
install -Dm0644 org.freedesktop.RealtimeKit1.xml %{buildroot}%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
|
|
|
f9bb81 |
|
|
|
f9bb81 |
%pre
|
|
|
f9bb81 |
getent group rtkit >/dev/null 2>&1 || groupadd \
|
|
|
f9bb81 |
-r \
|
|
|
f9bb81 |
-g 172 \
|
|
|
f9bb81 |
rtkit
|
|
|
f9bb81 |
getent passwd rtkit >/dev/null 2>&1 || useradd \
|
|
|
f9bb81 |
-r -l \
|
|
|
f9bb81 |
-u 172 \
|
|
|
f9bb81 |
-g rtkit \
|
|
|
f9bb81 |
-d /proc \
|
|
|
f9bb81 |
-s /sbin/nologin \
|
|
|
f9bb81 |
-c "RealtimeKit" \
|
|
|
f9bb81 |
rtkit
|
|
|
f9bb81 |
:;
|
|
|
f9bb81 |
|
|
|
f9bb81 |
%post
|
|
|
f9bb81 |
%systemd_post rtkit-daemon.service
|
|
|
f9bb81 |
dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
|
|
|
f9bb81 |
|
|
|
f9bb81 |
%preun
|
|
|
f9bb81 |
%systemd_preun rtkit-daemon.service
|
|
|
f9bb81 |
|
|
|
f9bb81 |
%postun
|
|
|
f9bb81 |
%systemd_postun_with_restart rtkit-daemon.service
|
|
|
f9bb81 |
|
|
|
f9bb81 |
%files
|
|
|
f9bb81 |
%doc README GPL LICENSE rtkit.c rtkit.h
|
|
|
f9bb81 |
%attr(0755,root,root) %{_sbindir}/rtkitctl
|
|
|
f9bb81 |
%attr(0755,root,root) %{_libexecdir}/rtkit-daemon
|
|
|
f9bb81 |
%{_datadir}/dbus-1/system-services/org.freedesktop.RealtimeKit1.service
|
|
|
f9bb81 |
%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
|
|
|
f9bb81 |
%{_datadir}/polkit-1/actions/org.freedesktop.RealtimeKit1.policy
|
|
|
f9bb81 |
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf
|
|
|
f9bb81 |
%{_prefix}/lib/systemd/system/rtkit-daemon.service
|
|
|
f9bb81 |
%{_mandir}/man8/*
|
|
|
f9bb81 |
|
|
|
f9bb81 |
%changelog
|
|
|
f9bb81 |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.11-28
|
|
|
f9bb81 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
f9bb81 |
Related: rhbz#1991688
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.11-27
|
|
|
f9bb81 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-26
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Sun Jan 24 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.11-22
|
|
|
f9bb81 |
- Stop using a bundled subset of libsystemd (#1907730)
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-25
|
|
|
f9bb81 |
- Second attempt - Rebuilt for
|
|
|
f9bb81 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-24
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-23
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Fri Aug 2 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.11-22
|
|
|
f9bb81 |
- Fix %%systemd_postun macro use (#1736594)
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-22
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-21
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Tue Oct 9 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.11-20
|
|
|
f9bb81 |
- Modernize a bit and fix BuildRequires (#1637496)
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-19
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-18
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-17
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-16
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Fri May 12 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.11-15
|
|
|
f9bb81 |
- Temporarily disable -Werror=format-security to unbreak the build
|
|
|
f9bb81 |
- Build with verbose command-line visible in the logs
|
|
|
f9bb81 |
- Resolves: rhbz#1424270
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-14
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-13
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Wed Nov 4 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.11-12
|
|
|
f9bb81 |
- Make dbus interface file non-executable (#1245938)
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-11
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-10
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-9
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Sat Nov 16 2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.11-8
|
|
|
f9bb81 |
- Use a simpler patch for -lrt.
|
|
|
f9bb81 |
- Remove ControlGroup setting from the service file
|
|
|
f9bb81 |
Resolves: #1010534
|
|
|
f9bb81 |
- Turn on hardening flags
|
|
|
f9bb81 |
Resolves: #996735, #1008399
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Mon Sep 23 2013 Colin Walters <walters@verbum.org> - 0.11-7
|
|
|
f9bb81 |
- CVE-2013-4326
|
|
|
f9bb81 |
Resolves: #1009543
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Thu Aug 22 2013 Colin Walters <walters@verbum.org> - 0.11-6
|
|
|
f9bb81 |
- Add patch to make this build again
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Fri Sep 14 2012 Lennart Poettering <lpoetter@redhat.com> - 0.11-3
|
|
|
f9bb81 |
- Make use of the new systemd macros
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Tue May 15 2012 Lennart Poettering <lpoetter@redhat.com> - 0.11-1
|
|
|
f9bb81 |
- New upstream release
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-2
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Thu Feb 17 2011 Lennart Poettering <lpoetter@redhat.com> - 0.10-1
|
|
|
f9bb81 |
- new upstream release
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Wed Aug 4 2010 Lennart Poettering <lpoetter@redhat.com> - 0.9-2
|
|
|
f9bb81 |
- Convert systemd-install to systemctl
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Tue Jul 13 2010 Lennart Poettering <lpoetter@redhat.com> - 0.9-1
|
|
|
f9bb81 |
- New upstream release
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Tue Jun 29 2010 Lennart Poettering <lpoetter@redhat.com> - 0.8-1
|
|
|
f9bb81 |
- New upstream release
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Fri Dec 18 2009 Lennart Poettering <lpoetter@redhat.com> - 0.5-1
|
|
|
f9bb81 |
- New release
|
|
|
f9bb81 |
- By default don't demote unknown threads
|
|
|
f9bb81 |
- Make messages less cute
|
|
|
f9bb81 |
- Fixes 530582
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Wed Aug 5 2009 Lennart Poettering <lpoetter@redhat.com> - 0.4-1
|
|
|
f9bb81 |
- New release
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
|
|
|
f9bb81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Thu Jul 2 2009 Lennart Poettering <lpoetter@redhat.com> - 0.3-1
|
|
|
f9bb81 |
- New release
|
|
|
f9bb81 |
|
|
|
f9bb81 |
* Wed Jun 17 2009 Lennart Poettering <lpoetter@redhat.com> - 0.2-1
|
|
|
f9bb81 |
- Initial packaging
|