feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-10-14 19:32:48 +01:00
parent 48751f75b2
commit 185dc96d45
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
48 changed files with 165 additions and 120 deletions

View file

@ -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>
}