container-selinux-2.229.0-2.el8

- remove watch statements properly for RHEL8 and lower
- Related: Jira:RHEL-2110

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
Jindrich Novy 2024-01-23 17:53:44 +01:00
parent 4078b5d200
commit ba5e1aaff3

View File

@ -20,7 +20,7 @@
Epoch: 2 Epoch: 2
Name: container-selinux Name: container-selinux
Version: 2.229.0 Version: 2.229.0
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 License: GPLv2
URL: %{git0} URL: %{git0}
Summary: SELinux policies for container runtimes Summary: SELinux policies for container runtimes
@ -53,7 +53,8 @@ SELinux policy modules for use with container runtimes.
%if ! 0%{?fedora} && 0%{?rhel} <= 8 %if ! 0%{?fedora} && 0%{?rhel} <= 8
sed -i 's/watch watch_reads//' container.if sed -i 's/watch watch_reads//' container.if
sed -i 's/watch watch_reads//' container.te sed -i 's/watch watch_reads//' container.te
sed -i '/sysfs_t:dir watch/d' container.te sed -i '/watch;/d' container.te
sed -i '/watch;/d' container.if
sed -i '/systemd_chat_resolved/d' container.te sed -i '/systemd_chat_resolved/d' container.te
%endif %endif
@ -122,6 +123,10 @@ fi
%{_datadir}/udica/templates/* %{_datadir}/udica/templates/*
%changelog %changelog
* Tue Jan 23 2024 Jindrich Novy <jnovy@redhat.com> - 2:2.229.0-2
- remove watch statements properly for RHEL8 and lower
- Related: Jira:RHEL-2110
* Tue Jan 23 2024 Jindrich Novy <jnovy@redhat.com> - 2:2.229.0-1 * Tue Jan 23 2024 Jindrich Novy <jnovy@redhat.com> - 2:2.229.0-1
- update to https://github.com/containers/container-selinux/releases/tag/v2.229.0 - update to https://github.com/containers/container-selinux/releases/tag/v2.229.0
- Related: Jira:RHEL-2110 - Related: Jira:RHEL-2110