ryanhay / ocp4-metal-install

Install OpenShift 4 on Bare Metal - UPI
212 stars 419 forks source link

When issueing setbool command under haproxy section error #16

Open dingofarmer opened 2 years ago

dingofarmer commented 2 years ago

When issueing this command

setsebool -P haproxy_connect_any 1 # SELinux name_bind access

I get the following error and cannot enable haproxy

[root@ocp-svc haproxy]# libsepol.context_from_record: type hwtracing_device_t is not defined 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:hwtracing_device_t:s0 to sid invalid context system_u:object_r:hwtracing_device_t:s0 Failed to commit changes to booleans: Success

RHEL 9

dingofarmer commented 2 years ago

Started over with RHEL 8.5 and issue no longer exist.