1
0
mirror of https://passt.top/passt synced 2024-07-04 00:42:41 +00:00
passt/contrib/fedora
Stefano Brivio 479a9e1b4d fedora: Install pasta as hard link to ensure SELinux file context match
The Makefile installs symbolic links by default, which actually
worked at some point (not by design) with SELinux, but at least on
recent kernel versions it doesn't anymore: override pasta (and
pasta.avx2) with hard links.

Otherwise, even if the links are labeled as pasta_exec_t, SELinux
will "resolve" them to passt_exec_t, and we'll have pasta running as
passt_t instead of pasta_t.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Acked-by: Richard W.M. Jones <rjones@redhat.com>
2023-08-18 13:18:34 +02:00
..
passt.spec fedora: Install pasta as hard link to ensure SELinux file context match 2023-08-18 13:18:34 +02:00
rpkg.conf passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
rpkg.macros passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00