Unable to set SELinux boolean

Solution Verified - Updated -

Issue

  • When we execute the command below we get the following error:
# setsebool -P allow_httpd_mod_auth_ntlm_winbind 1

libsepol.context_from_record: MLS is enabled, but no MLS context found
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert system_u:object_r:httpd_sys_content_t to sid
invalid context system_u:object_r:httpd_sys_content_t
libsemanage.semanage_install_active: setfiles returned error code 1.
libsepol.context_from_record: MLS is enabled, but no MLS context found
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert system_u:object_r:httpd_sys_content_t to sid
invalid context system_u:object_r:httpd_sys_content_t
libsemanage.semanage_install_active: setfiles returned error code 1.
Could not change policy booleans

Environment

  • Red Hat Enterprise Linux 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content