On Fri, Sep 18, 2015 at 7:30 PM, Bond Masuda <bond.masuda@xxxxxxxxxx> wrote: > Hello, > > I'm trying to run setsebool in a chroot environment like: > > chroot /mnt/test /usr/sbin/setsebool -P antivirus_can_scan_system 1 > > But I get: > > setsebool: SELinux is disabled. > > I'm guessing this is because the environment is not running. Is there a way > around this? I need to be able to set some of the booleans this way. You are likely seeing the SELinux disabled message because you don't have /sys/fs/selinux mounted in your chroot. -- paul moore www.paul-moore.com _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.