commit:     d740fd2342fbfa017cf567fc9b7c9c498fdaadc1
Author:     Rahul Sandhu <nvraxn <AT> gmail <DOT> com>
AuthorDate: Fri Mar  7 20:56:09 2025 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Mar  9 00:19:37 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d740fd23

tmpfiles: update path to openrc utilities

openrc-0.56 changed the default path for rc utilities [1]. Still keep
the old locations however, they don't hurt to have and can always be
dropped in the future if desired.

[1] 
https://github.com/OpenRC/openrc/commit/7c31e504d5b48d688e5977f9616a1cd256310b03

Closes: https://github.com/gentoo/hardened-refpolicy/pull/10
Signed-off-by: Rahul Sandhu <nvraxn <AT> gmail.com>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 policy/modules/system/tmpfiles.fc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/policy/modules/system/tmpfiles.fc 
b/policy/modules/system/tmpfiles.fc
index a25eaa580..c0669e0e3 100644
--- a/policy/modules/system/tmpfiles.fc
+++ b/policy/modules/system/tmpfiles.fc
@@ -7,4 +7,5 @@ ifndef(`init_systemd',`
 /usr/bin/tmpfiles                              --      
gen_context(system_u:object_r:tmpfiles_exec_t,s0)
 /usr/lib/rc/bin/checkpath                      --      
gen_context(system_u:object_r:tmpfiles_exec_t,s0)
 /usr/lib/rc/sh/tmpfiles\.sh                    --      
gen_context(system_u:object_r:tmpfiles_exec_t,s0)
-
+/usr/libexec/rc/bin/checkpath                  --      
gen_context(system_u:object_r:tmpfiles_exec_t,s0)
+/usr/libexec/rc/sh/tmpfiles\.sh                        --      
gen_context(system_u:object_r:tmpfiles_exec_t,s0)

Reply via email to