diff --git a/policy/modules/services/zfs.te b/policy/modules/services/zfs.te index 57dbe0582..68ce14c76 100644 --- a/policy/modules/services/zfs.te +++ b/policy/modules/services/zfs.te @@ -135,6 +135,13 @@ userdom_use_user_terminals(zfs_t) zfs_rw_zpool_cache(zfs_t) +# for reading compatibility file in /usr/share/zfs/compatibility.d/ +files_read_usr_files(zfs_t) +files_mmap_read_usr_files(zfs_t) + +# auto-snapshots through systemd-timer not working without this +allow zfs_t zfs_exec_t:file execute_no_trans; + optional_policy(` fstools_manage_runtime_files(zfs_t) fstools_runtime_filetrans(zfs_t, dir, "blkid")