lvm: create /etc/lvm/archive if it doesn't exist
Signed-off-by: bauen1 <j2468h@gmail.com>
This commit is contained in:
parent
67dfa3651f
commit
955c5c5253
|
@ -212,6 +212,8 @@ read_files_pattern(lvm_t, lvm_etc_t, lvm_etc_t)
|
|||
allow lvm_t lvm_etc_t:file map;
|
||||
|
||||
read_lnk_files_pattern(lvm_t, lvm_etc_t, lvm_etc_t)
|
||||
# create /etc/lvm/archive
|
||||
allow lvm_t lvm_etc_t:dir create_dir_perms;
|
||||
# Map for vgchange on /etc/lvm/backup/ files
|
||||
allow lvm_t lvm_metadata_t:file map;
|
||||
# Write to /etc/lvm, /etc/lvmtab, /etc/lvmtab.d
|
||||
|
|
Loading…
Reference in New Issue