Bug 1353888
| Summary: | Fix the help for ipa otp and other topics | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Sudhir Menon <sumenon> |
| Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Kaleem <ksiddiqu> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | mbasti, pspacek, pvoborni, rcritten, xdong |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-4.4.0-4.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 05:56:44 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
Sudhir Menon
2016-07-08 10:53:01 UTC
[root@server ~]# ipa Error: Command not specified [root@server]# ipa automember ipa: ERROR: unknown command 'automember' [root@server]# ipa automount ipa: ERROR: unknown command 'automount' [root@server ~]# ipa ca ipa: ERROR: unknown command 'ca' [root@server ~]# ipa caacl ipa: ERROR: unknown command 'caacl' [root@server ~]# ipa cert ipa: ERROR: unknown command 'cert' [root@server ~]# ipa certprofile ipa: ERROR: unknown command 'certprofile' [root@server ~]# ipa config ipa: ERROR: unknown command 'config' [root@server ~]# ipa delegation ipa: ERROR: unknown command 'delegation' [root@server ~]# ipa dns ipa: ERROR: unknown command 'dns' [root@server ~]# ipa dnsserver ipa: ERROR: unknown command 'dnsserver' [root@server ~]# ipa domainlevel ipa: ERROR: unknown command 'domainlevel' [root@server ~]# ipa vault ipa: ERROR: unknown command 'vault' [root@server ~]# ipa user ipa: ERROR: unknown command 'user' [root@server ~]# ipa trust ipa: ERROR: unknown command 'trust' [root@server ~]# ipa topology ipa: ERROR: unknown command 'topology' [root@server ~]# ipa group ipa: ERROR: unknown command 'group' correct usage is: ipa help topics ipa help user output: """ $ ipa group ipa: ERROR: unknown command 'group' """ is actually correct. The bug should be returned to its original state: ipa help otp ipa help otptoken ipa help otpconfig don't return all expected commands. In at least 4.2 this would print the help out before displaying the unknown command error, I think that is what he is reporting. One could argue that the previous behavior was a bug. Rob, Yes that is what i meant to say. And I also agree with Petr on how to run the command in correct way. i.e ipa help <commandname> The very same problem applies to topics 'hbac', 'dns' (which contains only subset of commands). I would use to fix all of them because the code change will (likely) be the very same. Upstream ticket: https://fedorahosted.org/freeipa/ticket/6069 (In reply to Petr Spacek from comment #6) > The very same problem applies to topics 'hbac', 'dns' (which contains only > subset of commands). I would use to fix all of them because the code change > will (likely) be the very same. 'sudo' is also affected, please fix on that too, thanks! Fixed upstream master: https://fedorahosted.org/freeipa/changeset/92dea9b186611f7f1ba8aa5952b4cfdc363d75b8 Additional fix Fixed upstream master: https://fedorahosted.org/freeipa/changeset/34767ba25936700ba331fc5b7791ecd151083501 Fix is seen in ipa-server-4.4.0-4.el7.x86_64 Obseravtion: 1. When ipa help <commandname> is given, the help is displayed without any error. 2. When ipa <commandname> is given, the help is displayed which was not shown before. Note the error will also be displayed along with the help 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/RHBA-2016-2404.html |