When SELinux is disabled and attempting to update my replica's registration, "setup-ds-admin.pl -u" fails with the following message in the terminal:
Error: command 'getsebool httpd_can_connect_ldap' failed - output [getsebool: SELinux is disabled] error Exiting . . .
Enabling SELinux allows the script to complete successfully.
fix for bug 377 - Unchecked use of SELinux command
I have attached a patch to solve this issue. It wraps the calls to getsebool/setsebool in a test of selinuxenabled.
set default ticket origin to Community
Added initial screened field value.
Then, force the use of those commands in your PATH:
chmod +x ~/bin/*sebool
PATH=~/bin:$PATH setup-ds-admin.pl -u
7c7b49a..6b67232 master -> master
Author: Wes Hardin firstname.lastname@example.org
Date: Mon May 21 10:50:22 2012 -0500
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1173265
Metadata Update from @nhosoi:
- Issue assigned to rmeggins
- Issue set to the milestone: 389-admin,console 1.1.36
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here:
If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)
to comment on this ticket.