Allow systemd-tmpfiles to manage all files
The `systemd_tmpfiles_manage_all` SELinux boolean allows systemd-tmpfiles to manage any file, not just the (very small) subset allowed by the default SELinux policy. Since we're using systemd-tmpfiles to create directories and subvolumes for our applications, we need this setting enabled.master
parent
b7f2d22586
commit
5fef6f1665
|
@ -97,6 +97,7 @@ fi
|
|||
unshare -m sh -e <<EOF
|
||||
mount -o bind /mnt/gentoo/var/lib/selinux /var/lib/selinux
|
||||
mount -o bind /mnt/gentoo/etc/selinux /etc/selinux
|
||||
semanage boolean -N -m --on systemd_tmpfiles_manage_all
|
||||
semanage boolean -N -m --on ssh_sysadm_login
|
||||
semanage login -N -m -s root root
|
||||
semanage user -N -m -R sysadm_r root
|
||||
|
|
Reference in New Issue