From e63897c28b65abd44e1dae7459e4a9653228ddb2 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 1 Aug 2024 15:01:52 +0000 Subject: automatic import of fapolicyd --- var-run-selinux.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 var-run-selinux.patch (limited to 'var-run-selinux.patch') diff --git a/var-run-selinux.patch b/var-run-selinux.patch new file mode 100644 index 0000000..511fe00 --- /dev/null +++ b/var-run-selinux.patch @@ -0,0 +1,26 @@ +From 750c5e288f8253c71a9722da960addb078aee93c Mon Sep 17 00:00:00 2001 +From: Zdenek Pytela +Date: Tue, 6 Feb 2024 21:17:27 +0100 +Subject: [PATCH] Rename all /var/run file context entries to /run + +With the 1f76e522a ("Rename all /var/run file context entries to /run") +selinux-policy commit, all /var/run file context entries moved to /run +and the equivalency was inverted. Subsequently, changes in fapolicyd.fc +need to be done, too, in a similar manner. +--- + fapolicyd.fc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/fapolicyd-selinux-0.7/fapolicyd.fc b/fapolicyd-selinux-0.7/fapolicyd.fc +index 2bdc7aa..d081dc8 100644 +--- a/fapolicyd-selinux-0.7/fapolicyd.fc ++++ b/fapolicyd-selinux-0.7/fapolicyd.fc +@@ -8,6 +8,6 @@ + + /var/log/fapolicyd-access.log -- gen_context(system_u:object_r:fapolicyd_log_t,s0) + +-/var/run/fapolicyd(/.*)? gen_context(system_u:object_r:fapolicyd_var_run_t,s0) ++/run/fapolicyd(/.*)? gen_context(system_u:object_r:fapolicyd_var_run_t,s0) + +-/var/run/fapolicyd\.pid -- gen_context(system_u:object_r:fapolicyd_var_run_t,s0) ++/run/fapolicyd\.pid -- gen_context(system_u:object_r:fapolicyd_var_run_t,s0) -- cgit v1.2.3