Changes to the userdomain policy module
Make sure various virt user home content gets created with a type transition and proper file contexts for common users Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
This commit is contained in:
parent
88b2de1c17
commit
8b3ffb9663
|
@ -712,6 +712,14 @@ template(`userdom_common_user_template',`
|
|||
optional_policy(`
|
||||
usernetctl_run($1_t, $1_r)
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
virt_home_filetrans_virt_home($1_t, dir, ".libvirt")
|
||||
virt_home_filetrans_virt_home($1_t, dir, ".virtinst")
|
||||
virt_home_filetrans_virt_content($1_t, dir, "isos")
|
||||
virt_home_filetrans_svirt_home($1_t, dir, "qemu")
|
||||
virt_home_filetrans_virt_home($1_t, dir, "VirtualMachines")
|
||||
')
|
||||
')
|
||||
|
||||
#######################################
|
||||
|
|
Loading…
Reference in New Issue