Commit Graph

13 Commits

Author SHA1 Message Date
Stefano Brivio 866d458f66 Rebase from Fedora 40 to passt-0^20240510.g7288448-1.el9 2024-05-23 03:37:31 +00:00
Stefano Brivio f195ccc910 Rebase from Fedora 39 to passt-0^20231204.gb86afe3-1.el9
Resolves: RHEL-19590
2023-12-15 21:22:04 +01:00
Stefano Brivio 71e80c7335 passt-0^20230818.g0af928e-4.el9
Switch to hard copies instead of hard links -- previous workaround is
not working consistently across filesystems (xfs vs. ext4) and how
cpio archives contents.
2023-08-22 19:00:44 +02:00
Stefano Brivio 7375212a6a passt-0^20230818.g0af928e-3.el9
pasta and pasta.avx2 are now hard links, and their file context
didn't change from previous versions, but the SELinux plug-in of
rpm(8) might mix up their contexts depending on the order of entries
in the archive. This doesn't happen on Fedora by luck, but on RHEL:

D: create     100755  1 (   0,   0)184640 /usr/bin/passt.avx2;64e4a813
ufdio:       6 writes,   184640 total bytes in 0.000104 secs
D: Plugin: calling hook fsm_file_prepare in selinux plugin
D: lsetfilecon: (/usr/bin/passt.avx2;64e4a813, system_u:object_r:passt_exec_t:s0)
D: create     100755  1 (   0,   0)184640 /usr/bin/pasta.avx2;64e4a813
ufdio:       6 writes,   184640 total bytes in 0.000065 secs
D: Plugin: calling hook fsm_file_prepare in selinux plugin
D: lsetfilecon: (/usr/bin/pasta.avx2;64e4a813, system_u:object_r:pasta_exec_t:s0)

so far so good. Then:

D: create     100755  2 (   0,   0)     0 /usr/bin/passt;64e4a813
D: create     100755  2 (   0,   0)164128 /usr/bin/pasta;64e4a813
ufdio:       6 writes,   164128 total bytes in 0.000058 secs
D: Plugin: calling hook fsm_file_prepare in selinux plugin
D: lsetfilecon: (/usr/bin/pasta;64e4a813, system_u:object_r:pasta_exec_t:s0)

which leads to:

[sbrivio@passt ~]$ ls -lZ /usr/bin/passt
-rwxr-xr-x. 2 root root system_u:object_r:pasta_exec_t:s0 164128 Aug 21 17:53 /usr/bin/passt
[sbrivio@passt ~]$ ls -lZ /usr/bin/passt.avx2
-rwxr-xr-x. 1 root root system_u:object_r:passt_exec_t:s0 184640 Aug 21 17:53 /usr/bin/passt.avx2
[sbrivio@passt ~]$ ls -lZ /usr/bin/pasta
-rwxr-xr-x. 2 root root system_u:object_r:pasta_exec_t:s0 164128 Aug 21 17:53 /usr/bin/pasta
[sbrivio@passt ~]$ ls -lZ /usr/bin/pasta.avx2
-rwxr-xr-x. 1 root root system_u:object_r:pasta_exec_t:s0 184640 Aug 21 17:53 /usr/bin/pasta.avx2

Add (back) an explicit restorecon call in the scriptlet.

Resolves: RHELPLAN-155811
2023-08-22 15:44:29 +02:00
Stefano Brivio 520bfe09a9 passt-0^20230818.g0af928e-2.el9
passt-selinux policies from passt-0^20230818.g0af928e-1.el9 fail to
load on the current el9 kernel -- add a patch.

Resolves: RHELPLAN-155811
2023-08-21 17:57:28 +02:00
Stefano Brivio 5f29bbb2e9 Rebase from Fedora 39 to passt-0^20230818.g0af928e-1.el9
Resolves: RHELPLAN-155811
2023-08-19 12:54:42 +02:00
Miroslav Rezanina 9fa8549bd0 Release: 4
Resolves: rhbz#2183089 rhbz#2183106
2023-06-12 01:56:06 -04:00
Stefano Brivio 66073926b2 passt-0^20230222.g4ddbcb9-4.el9
In passt-0^20230222.g4ddbcb9-3.el9, I mistakenly added patches for
the Fedora spec file solving these issues, instead of actually
applying those changes to the spec file we use. Drop them, and
actually fix those issues.

Resolves: rhbz#2183089 rhbz#2183106
2023-06-11 11:48:25 +02:00
Camilla Conte 932340f339 Release: 3
Resolves: rhbz#2183089 rhbz#2183106
2023-05-25 10:20:23 +01:00
Stefano Brivio fcae47c9a6 passt-0^20230222.g4ddbcb9-3.el9
Resolves: rhbz#2183089 rhbz#2183106
2023-04-28 14:29:26 +02:00
Stefano Brivio 06462cfc7c passt-0^20230222.g4ddbcb9-2.el9
Resolves: rhbz#2177075 rhbz#2177084 rhbz#2177080 rhbz#2177083 rhbz#2176813
2023-03-16 17:44:16 +01:00
Camilla Conte c62d57a1a1 * Wed Feb 22 2023 Camilla Conte <cconte@redhat.com> - 0^20230222.g4ddbcb9-1
- Import from fedora to CentOS/RHEL
- Resolves: rhbz#2172244
2023-02-22 13:02:25 +00:00
Miroslav Rezanina b50bfe6556 * Wed Nov 16 2022 Miroslav Rezanina <mrezanin@redhat.com> - 0^20221110.g4129764-1
- Import from fedora to CentOS/RHEL
- Resolves: rhbz#2131015
2022-11-16 12:15:49 -05:00