Portage Compiling in tmpfs with SELinux
Has anyone had success with using a tmpfs for '/var/tmp/portage/' while using SELinux configured as enforcing?
Posted Dec 6, 2015, 7:25 AM UTC
53
Has anyone had success with using a tmpfs for '/var/tmp/portage/' while using SELinux configured as enforcing?
Posted Dec 6, 2015, 7:25 AM UTC
The Gentoo Handbook in its SELinux section describes how to have SELinux play nicely with tmpfs file systems. I think you need to set a SELinux type in your fstab: https://wiki.gentoo.org/wiki/SELinux/Installation
You can use adit2aulow on the log files to create a policy that allows that behaviour.
That works, thanks!