Bug 1159330
| Summary: | RHEL7.1 ipa-server-install --uninstall Could not set SELinux booleans for httpd | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Scott Poore <spoore> |
| Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | CC: | mkosek, pvoborni, rcritten |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-4.1.0-7.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-05 10:14:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Scott Poore
2014-10-31 14:45:58 UTC
ipa-server-install --uninstall certainly should not use 'None' as setsebool's option value. But in your case, the `ipa-server-install --uninstall -U` output look as if ipa-server was previously uninstalled. `ipa-server-install` then incorrectly handles saved state(None) and does the incorrect call. to confirm comment 2: [root@host ~]$ getsebool -a | grep -E 'httpd_can_network_connect|httpd_manage_ipa' httpd_can_network_connect --> on httpd_can_network_connect_cobbler --> off httpd_can_network_connect_db --> off httpd_manage_ipa --> on [root@host ~]$ ipa-server-install --uninstall -U Shutting down all IPA services Removing IPA client configuration Unconfiguring ntpd Unconfiguring CA Unconfiguring named Unconfiguring web server Unconfiguring krb5kdc Unconfiguring kadmin Unconfiguring directory server Unconfiguring ipa_memcached Unconfiguring ipa-otpd [root@host ~]$ getsebool -a | grep -E 'httpd_can_network_connect|httpd_manage_ipa' httpd_can_network_connect --> off httpd_can_network_connect_cobbler --> off httpd_can_network_connect_db --> off httpd_manage_ipa --> off [root@host ~]$ ipa-server-install --uninstall -U WARNING: Failed to connect to Directory Server to find information about replication agreements. Uninstallation will continue despite the possible existing replication agreements. Shutting down all IPA services Removing IPA client configuration WARNING: Could not set SELinux booleans: httpd_can_network_connect=None httpd_manage_ipa=None Upstream ticket: https://fedorahosted.org/freeipa/ticket/4678 Fixed upstream master: https://fedorahosted.org/freeipa/changeset/a14ce85357419f41f0994625d29d3f1af7a53d4c ipa-4-1: https://fedorahosted.org/freeipa/changeset/1d7407c06caa06119635910d34213167d97125a0 Verified. Version :: ipa-server-4.1.0-7.el7.x86_64 Results :: [root@vm3 log]# getsebool httpd_can_network_connect httpd_can_network_connect --> on [root@vm3 log]# getsebool httpd_manage_ipa httpd_manage_ipa --> on [root@vm3 log]# ipa-server-install --uninstall -U Shutting down all IPA services Removing IPA client configuration Unconfiguring ntpd Unconfiguring CA Unconfiguring named Unconfiguring web server Unconfiguring krb5kdc Unconfiguring kadmin Unconfiguring directory server Unconfiguring ipa_memcached Unconfiguring ipa-otpd [root@vm3 log]# ipa-server-install --uninstall -U WARNING: Failed to connect to Directory Server to find information about replication agreements. Uninstallation will continue despite the possible existing replication agreements. Shutting down all IPA services Removing IPA client configuration [root@vm3 log]# ipa-server-install --uninstall -U WARNING: Failed to connect to Directory Server to find information about replication agreements. Uninstallation will continue despite the possible existing replication agreements. Shutting down all IPA services Removing IPA client configuration [root@vm3 log]# getsebool httpd_can_network_connect httpd_can_network_connect --> off [root@vm3 log]# getsebool httpd_manage_ipa httpd_manage_ipa --> off Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0442.html |