Red Hat Bugzilla – Bug 1376729
ipa-server-install script option --no_hbac_allow should match other options
Last modified: 2017-08-01 05:39:54 EDT
Description of problem: --no_hback_allow option in ipa-server-install contains underscore "_" as opposed to all other options which contains hypen "-" [root@ipamaster /]# ipa-server-install --help |grep no_ --no_hbac_allow Don't install allow_all HBAC rule Version-Release number of selected component (if applicable): ipa-server-4.4.0-11.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. ipa-server-install --help | grep no_hbac Actual results: Option --no_hbac_allow contains underscore as opposed to all other options Expected results: Replace underscore with hypen
This is a very old option. But I agree that in is not consistent. Any fix should keep the old option for backwards compatibility - it can be hidden in help though. An then new option with proper name created.
Upstream ticket: https://fedorahosted.org/freeipa/ticket/6357
Fixed upstream master: https://fedorahosted.org/freeipa/changeset/a42059228018839ae2656c27f5b00d96bc935ee3
Tested on RHEL7.4 using ipa-server-4.5.0-13.el7.x86_64 sssd-1.15.2-35.el7.x86_64 389-ds-base-1.3.6.1-14.el7.x86_64 pki-server-10.4.1-4.el7.noarch pki-ca-10.4.1-4.el7.noarch selinux-policy-3.13.1-152.el7.noarch [root@master ~]# ipa-server-install -no_hbac_allow Usage: ipa-server-install [options] ipa-server-install: error: option --domain: only letters, numbers, '-' are allowed. DNS label may not start or end with '-' ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information [root@master ~]# ipa-server-install --no-hbac-allow Configuring testrelm.test as NIS domain. Client configuration complete. The ipa-client-install command was successful
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://access.redhat.com/errata/RHBA-2017:2304