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 1300791 - cosmetic fix to the .TH titles in subscription-manager man pages
Summary: cosmetic fix to the .TH titles in subscription-manager man pages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.8
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: William Poteat
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-21 17:41 UTC by John Sefler
Modified: 2016-05-10 20:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 20:39:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0797 0 normal SHIPPED_LIVE python-rhsm and subscription-manager bug fix and enhancement update 2017-01-06 16:31:50 UTC

Description John Sefler 2016-01-21 17:41:05 UTC
Description of problem:

Looking at the source code for the man pages, a dash was used to effectively remove the left and center footer of a man page which are often used for versioning information.  Rather than use a dash which makes the page appear to have extraneous characters, let's just pass an empty "" string.  Currently the footers generally look like this (notice the dashes)...

[root@jsefler-6 ~]# man subscription-manager | tail -1
-                                      -               subscription-manager(8)



Version-Release number of selected component (if applicable):
subscription-manager-1.16.8-1.el6.x86_64

How reproducible:


Steps to Reproduce:
From the git cloned subscription-manager source code....
[jsefler@jseflerT540p man]$ grep "\.TH" *.8
install-num-migrate-to-rhsm.8:.TH "install-num-migrate-to-rhsm" "8"
rct.8:.TH RCT 8 - - "RHSM Certificate Tool"
rhn-migrate-classic-to-rhsm.8:.TH "rhn-migrate-classic-to-rhsm" "8"
rhsmcertd.8:.TH rhsmcertd 8 - - "Subscription Management"
rhsm-debug.8:.TH RHSM-DEBUG 8 - - "RHSM Debug Tool"
rhsm-icon.8:.TH rhsm-icon 8
sat5to6.8:.TH "sat5to6" "8"
subscription-manager.8:.TH subscription-manager 8 - - "Subscription Management"
subscription-manager-gui.8:.TH subscription-manager-gui 8 - - "Subscription Management"



Actual results:
above

Expected results:
for each of the man pages, I would suggest changing these as follows (Before/After)...

install-num-migrate-to-rhsm.8:.TH "install-num-migrate-to-rhsm" "8"
install-num-migrate-to-rhsm.8:.TH "install-num-migrate-to-rhsm" "8" "" "" "Migration Tool"

rct.8:.TH RCT 8 - - "RHSM Certificate Tool"
rct.8:.TH RCT 8 "" "" "RHSM Certificate Tool"

rhn-migrate-classic-to-rhsm.8:.TH "rhn-migrate-classic-to-rhsm" "8"
rhn-migrate-classic-to-rhsm.8:.TH "rhn-migrate-classic-to-rhsm" "8" "" "" "Migration Tool"

rhsmcertd.8:.TH rhsmcertd 8 - - "Subscription Management"
rhsmcertd.8:.TH rhsmcertd 8 "" "" "Subscription Management"

rhsm-debug.8:.TH RHSM-DEBUG 8 - - "RHSM Debug Tool"
rhsm-debug.8:.TH RHSM-DEBUG 8 "" "" "RHSM Debug Tool"

rhsm-icon.8:.TH rhsm-icon 8
rhsm-icon.8:.TH rhsm-icon 8 "" "" "RHSM Desktop Icon"

sat5to6.8:.TH "sat5to6" "8"
sat5to6.8:.TH "sat5to6" "8" "" "" "Migration Tool"

subscription-manager.8:.TH subscription-manager 8 - - "Subscription Management"
subscription-manager.8:.TH subscription-manager 8 "" "" "Subscription Management"

subscription-manager-gui.8:.TH subscription-manager-gui 8 - - "Subscription Management"
subscription-manager-gui.8:.TH subscription-manager-gui 8 "" "" "Subscription Management"




Additional info:

Comment 1 William Poteat 2016-02-05 19:51:00 UTC
master commit 3b462b9db938a29c4c501c32cc0290dbb32e1d01

Comment 4 John Sefler 2016-03-08 17:41:11 UTC
(In reply to William Poteat from comment #1)
> master commit 3b462b9db938a29c4c501c32cc0290dbb32e1d01

I believe this is the correct commit
master commit a8997dd0c1328e86065dfae479cc45008da6489c

    1300791: Update man page footers

Comment 5 John Sefler 2016-03-08 17:52:29 UTC
Verifying Version...
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.16.8-4.el6.x86_64


[root@jsefler-6 ~]# man rct | tail -1
                                                                        RCT(8)
[root@jsefler-6 ~]# 
[root@jsefler-6 ~]# man rhn-migrate-classic-to-rhsm | tail -1
                                                rhn-migrate-classic-to-rhsm(8)
[root@jsefler-6 ~]# 
[root@jsefler-6 ~]# man rhsmcertd | tail -1
                                                                  rhsmcertd(8)
[root@jsefler-6 ~]# 
[root@jsefler-6 ~]# man rhsm-debug | tail -1
                                                                 RHSM-DEBUG(8)
[root@jsefler-6 ~]# 
[root@jsefler-6 ~]# man rhsm-icon | tail -1
                                                                  rhsm-icon(8)
[root@jsefler-6 ~]# 
[root@jsefler-6 ~]# man subscription-manager | tail -1
                                                       subscription-manager(8)
[root@jsefler-6 ~]# 
[root@jsefler-6 ~]# man subscription-manager-gui | tail -1
                                                   subscription-manager-gui(8)


VERIFIED: The man page footers no longer have a "-" placeholder.

Comment 7 errata-xmlrpc 2016-05-10 20:39:27 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, 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-0797.html


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