Cleanup profiles according to standards
This commit is contained in:
parent
c9b4423e45
commit
59f8b893ff
3 changed files with 47 additions and 49 deletions
|
|
@ -10,8 +10,9 @@ profile zfs @{exec_path} flags=(complain) {
|
|||
|
||||
@{exec_path} r,
|
||||
|
||||
/dev/zfs rw,
|
||||
@{PROC}/@{pids}/mounts r,
|
||||
|
||||
/dev/zfs rw,
|
||||
|
||||
include if exists <local/zfs>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,18 +11,19 @@ profile zpool @{exec_path} flags=(complain) {
|
|||
|
||||
@{exec_path} rm,
|
||||
/{usr/,}{local/,}lib/zfs-linux/zpool.d/* rix,
|
||||
/{usr/,}{local/,}bin/{ba,da,k,z,}sh rix,
|
||||
|
||||
/dev/zfs rw,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
|
||||
/etc/hostid r,
|
||||
|
||||
@{run}/blkid/blkid.tab rw,
|
||||
@{run}/blkid/blkid.tab.old l,
|
||||
@{run}/blkid/blkid.tab-* rwl,
|
||||
|
||||
@{PROC}/sys/kernel/spl/hostid r,
|
||||
@{PROC}/@{pids}/mounts r,
|
||||
|
||||
/dev/zfs rw,
|
||||
/dev/pts/[0-9]* rw,
|
||||
/etc/hostid r,
|
||||
@{PROC}/sys/kernel/spl/hostid r,
|
||||
|
||||
/run/blkid/blkid.tab wr,
|
||||
/run/blkid/blkid.tab.old l,
|
||||
/run/blkid/blkid.tab-* wrl,
|
||||
|
||||
include if exists <local/zfs>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue