feat(profile): general update.
This commit is contained in:
parent
48751f75b2
commit
185dc96d45
48 changed files with 165 additions and 120 deletions
|
|
@ -6,26 +6,25 @@ abi <abi/4.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}{local/,}{s,}bin/sanoid
|
||||
@{exec_path} = @{bin}/sanoid
|
||||
profile sanoid @{exec_path} flags=(complain) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/perl>
|
||||
|
||||
@{exec_path} mr,
|
||||
@{exec_path} mr,
|
||||
@{sh_path} rix,
|
||||
@{bin}/perl rix,
|
||||
@{bin}/ps rPx,
|
||||
/{usr/,}{local/,}{s,}bin/zfs rPx,
|
||||
@{bin}/zfs rPx,
|
||||
|
||||
/etc/sanoid/{*,} r,
|
||||
/usr/share/sanoid/{,**} r,
|
||||
|
||||
/var/cache/sanoid/snapshots.txt rw,
|
||||
/etc/sanoid/{,*} r,
|
||||
|
||||
/usr/share/sanoid/{**,} r,
|
||||
/var/cache/sanoid/{,**} rw,
|
||||
|
||||
@{run}/sanoid/ rw,
|
||||
@{run}/sanoid/sanoid_cacheupdate.lock rwk,
|
||||
@{run}/sanoid/sanoid_pruning.lock rwk,
|
||||
@{run}/sanoid/** rwk,
|
||||
|
||||
include if exists <local/sanoid>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue