init: Added fcontext for openrc-init.

Signed-off-by: Jonathan Davies <jpds@protonmail.com>
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
Jonathan Davies 2020-11-16 19:46:24 -08:00 committed by Chris PeBenito
parent 1a39e4dfbe
commit b7acd3c4f9
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ ifdef(`distro_gentoo',`
ifdef(`distro_gentoo', `
/usr/lib/rc/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
/usr/sbin/rc -- gen_context(system_u:object_r:rc_exec_t,s0)
/usr/sbin/openrc-init -- gen_context(system_u:object_r:init_exec_t,s0)
')
ifdef(`distro_redhat',`