Re: how to run setsebool -P in chroot?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/18/2015 07:30 PM, Bond Masuda 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.

I would try using semanage boolean -N instead of setsebool -P.


_______________________________________________
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.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux