RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1782838 - certmonger man pages and help do not include long options
Summary: certmonger man pages and help do not include long options
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: certmonger
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Rob Crittenden
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-12 13:29 UTC by Rob Crittenden
Modified: 2020-11-04 02:52 UTC (History)
4 users (show)

Fixed In Version: certmonger-0.79.7-12.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 02:51:52 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4671 0 None None None 2020-11-04 02:52:13 UTC

Description Rob Crittenden 2019-12-12 13:29:53 UTC
Description of problem:

The certmonger man pages generally don't include the long options when they are available and only include the short ones. The long should be added.

For example, getcert-start-tracking(1) provides -r and -R but not --renew and --no-renew.

This also affects the command-line help.

Version-Release number of selected component (if applicable):

certmonger-0.79.7-3.el8.x86_64

How reproducible:


Steps to Reproduce:
1. man getcert-start-tracking or getcert start-tracking --help

Additional info:

The long options are configured in popt but only the short ones are displayed in command help.

Comment 1 Rob Crittenden 2020-05-07 20:31:08 UTC
The commands to verify will include the subcommands from getcert:

request         request a new certificate from a CA
start-tracking  begin monitoring an already-issued certificate
stop-tracking   stop monitoring a certificate
resubmit        resubmit an in-progress enrollment request, or start a new one
rekey           generate a new private key and replace a certificate
refresh         check on the status of an in-progress enrollment request
list            list certificates being monitored and requested
status          check the status of a certificate being monitored or requested
add-ca          add a CA configuration
add-scep-ca     add an SCEP CA configuration
list-cas        list known CA configurations
modify-ca       modify a CA configuration
refresh-ca      refresh cache of all information obtained from a CA
remove-ca       remove a CA configuration

Using: getcert <command> --help

In /usr/libexec/certmonger/, run with --help:

certmaster-submit
certmonger-session
dogtag-ipa-renew-agent-submit
dogtag-submit
ipa-submit
local-submit
scep-submit

The man pages to verify are:
certmaster-getcert.1
getcert-add-ca.1
getcert-add-scep-ca.1
getcert-list-cas.1
getcert-list.1
getcert-modify-ca.1
getcert-refresh-ca.1
getcert-refresh.1
getcert-rekey.1
getcert-remove-ca.1
getcert-request.1
getcert-resubmit.1
getcert-start-tracking.1
getcert-status.1
getcert-stop-tracking.1
getcert.1
ipa-getcert.1
local-getcert.1
selfsign-getcert.1
certmonger.conf.5
certmonger-certmaster-submit.8
certmonger-dogtag-ipa-renew-agent-submit.8
certmonger-dogtag-submit.8
certmonger-ipa-submit.8
certmonger-local-submit.8
certmonger-scep-submit.8
certmonger.8

Comment 2 Rob Crittenden 2020-05-14 17:54:42 UTC
fixed upstream

master:
6bf7aef2b5b5840cad6cff038e3d13998da6eb01
525a9b4fcc2401cae044526626c6d15b83c07731

This involved changes to both the man pages and some of the cli to include the long options.

Comment 8 errata-xmlrpc 2020-11-04 02:51:52 UTC
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 (certmonger bug fix and enhancement update), 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-2020:4671


Note You need to log in before you can comment on or make changes to this bug.