mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
Initramfs generation updates
This commit is contained in:
parent
99c311e699
commit
cc5d1a0e07
@ -24,12 +24,16 @@ profile mount-zfs @{exec_path} flags=(complain) {
|
|||||||
mount fstype=zfs -> @{MOUNTS}/*/,
|
mount fstype=zfs -> @{MOUNTS}/*/,
|
||||||
mount fstype=zfs -> /,
|
mount fstype=zfs -> /,
|
||||||
mount fstype=zfs -> /*/,
|
mount fstype=zfs -> /*/,
|
||||||
|
mount fstype=zfs -> /tmp/zfsmnt.*/
|
||||||
|
mount fstype=zfs -> /tmp/zfsmnt.*/*/
|
||||||
|
|
||||||
umount @{MOUNTDIRS}/,
|
umount @{MOUNTDIRS}/,
|
||||||
umount @{MOUNTS}/,
|
umount @{MOUNTS}/,
|
||||||
umount @{MOUNTS}/*/,
|
umount @{MOUNTS}/*/,
|
||||||
umount /,
|
umount /,
|
||||||
umount /*/,
|
umount /*/,
|
||||||
|
umount fstype=zfs -> /tmp/zfsmnt.*/
|
||||||
|
mount fstype=zfs -> /tmp/zfsmnt.*/*/
|
||||||
|
|
||||||
@{PROC}/@{pids}/mounts r,
|
@{PROC}/@{pids}/mounts r,
|
||||||
|
|
||||||
|
@ -20,5 +20,9 @@ profile zpool @{exec_path} flags=(complain) {
|
|||||||
/etc/hostid r,
|
/etc/hostid r,
|
||||||
@{PROC}/sys/kernel/spl/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>
|
include if exists <local/zfs>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user