systemd-252-47
Resolves: RHEL-58179
This commit is contained in:
parent
996d4ef1bd
commit
981555c9c2
Binary file not shown.
25
systemd.spec
25
systemd.spec
@ -12,10 +12,6 @@
|
|||||||
%global system_unit_dir %{pkgdir}/system
|
%global system_unit_dir %{pkgdir}/system
|
||||||
%global user_unit_dir %{pkgdir}/user
|
%global user_unit_dir %{pkgdir}/user
|
||||||
|
|
||||||
# defining macros needed by SELinux
|
|
||||||
%global selinuxtype targeted
|
|
||||||
%global modulename systemd-container-coredump
|
|
||||||
|
|
||||||
# Bootstrap may be needed to break intercircular dependencies with
|
# Bootstrap may be needed to break intercircular dependencies with
|
||||||
# cryptsetup, e.g. when re-building cryptsetup on a json-c SONAME-bump.
|
# cryptsetup, e.g. when re-building cryptsetup on a json-c SONAME-bump.
|
||||||
%bcond_with bootstrap
|
%bcond_with bootstrap
|
||||||
@ -25,7 +21,7 @@
|
|||||||
Name: systemd
|
Name: systemd
|
||||||
Url: https://systemd.io
|
Url: https://systemd.io
|
||||||
Version: 252
|
Version: 252
|
||||||
Release: 46%{?dist}
|
Release: 47%{?dist}
|
||||||
# For a breakdown of the licensing, see README
|
# For a breakdown of the licensing, see README
|
||||||
License: LGPLv2+ and MIT and GPLv2+
|
License: LGPLv2+ and MIT and GPLv2+
|
||||||
Summary: System and Service Manager
|
Summary: System and Service Manager
|
||||||
@ -74,8 +70,6 @@ Source25: rc.local
|
|||||||
%global rhel_nns_version 0.5
|
%global rhel_nns_version 0.5
|
||||||
Source26: https://gitlab.com/mschmidt2/rhel-net-naming-sysattrs/-/archive/v%{rhel_nns_version}/rhel-net-naming-sysattrs-v%{rhel_nns_version}.tar.gz
|
Source26: https://gitlab.com/mschmidt2/rhel-net-naming-sysattrs/-/archive/v%{rhel_nns_version}/rhel-net-naming-sysattrs-v%{rhel_nns_version}.tar.gz
|
||||||
|
|
||||||
Source27: %{modulename}.pp.bz2
|
|
||||||
|
|
||||||
%if 0
|
%if 0
|
||||||
GIT_DIR=../../src/systemd/.git git format-patch-ab --no-signature -M -N v235..v235-stable
|
GIT_DIR=../../src/systemd/.git git format-patch-ab --no-signature -M -N v235..v235-stable
|
||||||
i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done|xclip
|
i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done|xclip
|
||||||
@ -1199,7 +1193,6 @@ BuildRequires: git-core
|
|||||||
%if 0%{?have_gnu_efi}
|
%if 0%{?have_gnu_efi}
|
||||||
BuildRequires: gnu-efi gnu-efi-devel
|
BuildRequires: gnu-efi gnu-efi-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: selinux-policy-devel
|
|
||||||
BuildRequires: libfido2-devel
|
BuildRequires: libfido2-devel
|
||||||
|
|
||||||
Requires(post): coreutils
|
Requires(post): coreutils
|
||||||
@ -1207,11 +1200,6 @@ Requires(post): sed
|
|||||||
Requires(post): acl
|
Requires(post): acl
|
||||||
Requires(post): grep
|
Requires(post): grep
|
||||||
|
|
||||||
# selinux
|
|
||||||
Requires(post): libselinux-utils
|
|
||||||
Requires(post): policycoreutils
|
|
||||||
Requires(post): selinux-policy
|
|
||||||
|
|
||||||
# systemd-machine-id-setup requires libssl
|
# systemd-machine-id-setup requires libssl
|
||||||
Requires(post): openssl-libs
|
Requires(post): openssl-libs
|
||||||
Requires(pre): coreutils
|
Requires(pre): coreutils
|
||||||
@ -1711,9 +1699,6 @@ install -m 0644 -D -t %{buildroot}%{_rpmconfigdir}/fileattrs/ %{SOURCE22}
|
|||||||
install -m 0755 -D -t %{buildroot}%{_rpmconfigdir}/ %{SOURCE23}
|
install -m 0755 -D -t %{buildroot}%{_rpmconfigdir}/ %{SOURCE23}
|
||||||
install -m 0755 -D -t %{buildroot}%{_rpmconfigdir}/ %{SOURCE24}
|
install -m 0755 -D -t %{buildroot}%{_rpmconfigdir}/ %{SOURCE24}
|
||||||
|
|
||||||
# install policy modules
|
|
||||||
install -m 0644 -D -t %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}/ %{SOURCE27}
|
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
# Split files in build root into rpms. See split-files.py for the
|
# Split files in build root into rpms. See split-files.py for the
|
||||||
@ -1816,9 +1801,6 @@ chmod g+s /{run,var}/log/journal/{,${machine_id}} &>/dev/null || :
|
|||||||
# Apply ACL to the journal directory
|
# Apply ACL to the journal directory
|
||||||
setfacl -Rnm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal/ &>/dev/null || :
|
setfacl -Rnm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal/ &>/dev/null || :
|
||||||
|
|
||||||
# Install our own selinux-policy module that allows systemd-coredump access to containers
|
|
||||||
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2
|
|
||||||
|
|
||||||
[ $1 -eq 1 ] || exit 0
|
[ $1 -eq 1 ] || exit 0
|
||||||
|
|
||||||
# We reset the enablement of all services upon initial installation
|
# We reset the enablement of all services upon initial installation
|
||||||
@ -1963,7 +1945,6 @@ systemd-hwdb update &>/dev/null || :
|
|||||||
%global _docdir_fmt %{name}
|
%global _docdir_fmt %{name}
|
||||||
|
|
||||||
%files -f %{name}.lang -f .file-list-main
|
%files -f %{name}.lang -f .file-list-main
|
||||||
%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.*
|
|
||||||
%doc %{_pkgdocdir}
|
%doc %{_pkgdocdir}
|
||||||
%exclude %{_pkgdocdir}/LICENSE.*
|
%exclude %{_pkgdocdir}/LICENSE.*
|
||||||
%license LICENSE.GPL2 LICENSE.LGPL2.1
|
%license LICENSE.GPL2 LICENSE.LGPL2.1
|
||||||
@ -1983,7 +1964,6 @@ systemd-hwdb update &>/dev/null || :
|
|||||||
%ghost %dir %attr(0755,-,-) /etc/systemd/system/system-update.target.wants
|
%ghost %dir %attr(0755,-,-) /etc/systemd/system/system-update.target.wants
|
||||||
%ghost %dir %attr(0755,-,-) /etc/systemd/system/timers.target.wants
|
%ghost %dir %attr(0755,-,-) /etc/systemd/system/timers.target.wants
|
||||||
%ghost %dir %attr(0755,-,-) /var/lib/rpm-state/systemd
|
%ghost %dir %attr(0755,-,-) /var/lib/rpm-state/systemd
|
||||||
%ghost %verify(not md5 size mode mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
|
|
||||||
|
|
||||||
%files libs -f .file-list-libs
|
%files libs -f .file-list-libs
|
||||||
%license LICENSE.LGPL2.1
|
%license LICENSE.LGPL2.1
|
||||||
@ -2021,6 +2001,9 @@ systemd-hwdb update &>/dev/null || :
|
|||||||
%{_prefix}/lib/dracut/modules.d/70rhel-net-naming-sysattrs/*
|
%{_prefix}/lib/dracut/modules.d/70rhel-net-naming-sysattrs/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 10 2024 systemd maintenance team <systemd-maint@redhat.com> - 252-47
|
||||||
|
- get rid of SELinux policy module (RHEL-58179)
|
||||||
|
|
||||||
* Fri Aug 30 2024 systemd maintenance team <systemd-maint@redhat.com> - 252-46
|
* Fri Aug 30 2024 systemd maintenance team <systemd-maint@redhat.com> - 252-46
|
||||||
- ukify: Skip test on architectures without UEFI (RHEL-56019)
|
- ukify: Skip test on architectures without UEFI (RHEL-56019)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user