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