Skip to content

Commit

Permalink
Label /usr/libexec/selinux/selinux-autorelabel with semanage_exec_t
Browse files Browse the repository at this point in the history
The script is executed from the selinux-autorelabel.service.
  • Loading branch information
zpytela committed Nov 2, 2023
1 parent bb517fb commit d901854
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions policy/modules/system/selinuxutil.fc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

/usr/lib/selinux(/.*)? gen_context(system_u:object_r:policy_src_t,s0)

/usr/libexec/selinux/selinux-autorelabel -- gen_context(system_u:object_r:semanage_exec_t,s0)

/usr/sbin/load_policy -- gen_context(system_u:object_r:load_policy_exec_t,s0)
/usr/sbin/restorecon -- gen_context(system_u:object_r:setfiles_exec_t,s0)
/usr/sbin/restorecond -- gen_context(system_u:object_r:restorecond_exec_t,s0)
Expand Down

0 comments on commit d901854

Please sign in to comment.