feat(profiles): general update.
This commit is contained in:
parent
1fb5475ad1
commit
155ef6bef1
24 changed files with 83 additions and 43 deletions
|
|
@ -7,17 +7,20 @@ abi <abi/3.0>,
|
|||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/multipath
|
||||
profile multipath @{exec_path} {
|
||||
profile multipath @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/disks-write>
|
||||
|
||||
capability sys_admin,
|
||||
capability sys_resource,
|
||||
|
||||
unix (send, receive, connect) type=stream peer=(addr="@/org/kernel/linux/storage/multipathd"),
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/multipath.conf r,
|
||||
/etc/multipath/bindings rwk,
|
||||
/etc/multipath/ r,
|
||||
/etc/multipath/* rwk,
|
||||
/etc/systemd/system/ r,
|
||||
|
||||
@{run}/systemd/system/ r,
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ profile multipathd @{exec_path} {
|
|||
capability net_admin,
|
||||
capability sys_admin,
|
||||
capability sys_nice,
|
||||
capability sys_rawio,
|
||||
capability sys_resource,
|
||||
|
||||
network netlink raw,
|
||||
|
|
@ -24,7 +25,8 @@ profile multipathd @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
/etc/multipath.conf r,
|
||||
/etc/multipath/bindings rwk,
|
||||
/etc/multipath/ r,
|
||||
/etc/multipath/* rwk,
|
||||
/etc/systemd/system/ r,
|
||||
|
||||
@{run}/multipathd.pid rwk,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue