On 12/18/19 3:21 PM, Alberto Viana wrote:
Hi Guys,
I compiled my 389 with selinux enabled (--with-selinux):
configure:21564: checking for --with-selinux configure:21575: result: yes
with_selinux='yes'
but If I ran dscreate interactive, shows me: selinux is disabled, will not relabel ports or files.
The selinux is enabled on the system ~# getenforce Enforcing
Centos7 # ns-slapd -v 389 Project 389-Directory/1.4.2.4 http://1.4.2.4 B2019.352.1557
What am I missing? Could not found any related doc at 389 or rhds pages.
Not sure, this is the code that is generating the error message:
import selinux if selinux.is_selinux_enabled(): # We have selinux, continue. status = True else: # We have the module, but it's disabled. log.error('selinux is disabled, will not relabel ports or files.' )
So this is all happening in the python library (python3-libselinux). Are you running dscreate as root?
Mark
Thanks.
Alberto Viana
389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject....