setsebool
Set SELinux boolean value. tldr-pages
On Linux
Linux
Show the current setting of all booleans
getsebool -aIdentifySet or unset a boolean temporarily (non-persistent across reboot)
sudo setsebool httpd_can_network_connect 1IdentifySet or unset a boolean Persistently
sudo setsebool -P container_use_devices 1IdentifySet or unset multiple booleans at once Persistently
sudo setsebool -P key1 1 key2 0 ...IdentifySet or unset a boolean persistently (alternative method using semanage-boolean)
sudo semanage boolean --modify -1 haproxy_connect_anyIdentify