lvm-activation-generator also needs to execute lvm
lvm will also try to read localization. Signed-off-by: bauen1 <j2468h@gmail.com>
This commit is contained in:
parent
ee323d3b9a
commit
7eae84a8b4
|
@ -361,9 +361,13 @@ systemd_log_parse_environment(systemd_gpt_generator_t)
|
|||
# lvm2 activation generator local policy
|
||||
#
|
||||
|
||||
allow systemd_lvm2_generator_t self:fifo_file rw_fifo_file_perms;
|
||||
|
||||
optional_policy(`
|
||||
lvm_exec(systemd_lvm2_generator_t)
|
||||
lvm_map_config(systemd_lvm2_generator_t)
|
||||
lvm_read_config(systemd_lvm2_generator_t)
|
||||
miscfiles_read_localization(systemd_lvm2_generator_t)
|
||||
')
|
||||
|
||||
#######################################
|
||||
|
|
Loading…
Reference in New Issue