Shellinabox upstream provides own selinux module at https://github.com/shellinabox/shellinabox/tree/master/misc/selinux/shellinabox Please insert it into ebuild if USE="selinux" is enabled. May some adjustments needed. I removed the systemd and unconfined strings because not known on my system. Reproducible: Always