Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionElio Maldonado Batiz
2014-05-10 22:15:38 UTC
Description of problem: Use of xmlto produces bad formattiong on some of the nss certutil command line options on the man page.
As reported by Hubert Kario 2014-04-28 12:36:37 EDT on Bug 606022
... errors in certutil man page: I used nss-tools-3.15.3-11.el6.x86_64
-e argument is formatted as if it was an option for -d argument
same for:
-u and -t
-6 and -5
-7 and -6
Version-Release number of selected component: xmlto-0.0.23-3.el6.i686
How reproducible: always
Steps to Reproduce:
1. execute man certutil
Actual results:
-e argument formatted as if it was an option for -d argument (extra indentation) and similarly with -u and -t, -6 and -5 and -7 and -6
Expected results:
-e argument formatted at the same level as -d argument and the should happen for -u and -t, -6 and -5, and -7 and -6.
Additional info:
It works fine on rhel-7.0 and fedora. In all the man pages are generated from docbook xml using xmlto.
Running $ rpm -q xmlto shows me:
rhel-6.6: xmlto-0.0.23-3.el6.i686 -- bad results
rhel-7.0: xmlto-0.0.25-7.el7.x86_64 -- good results
Problem seems to be caused by the older version of xmlto we have on rhel-6.6.
Thanks for report, next time it would be good to attach the failing xml, so I can more easily analyze it. I checked out the nss sources, and managed to reproduce it. However, you are wrong with the analysis the issue is caused by xmlto - actually, xmlto is innocent here - docbook-style-xsl is causing the issues.
I haven't analyzed deeper what exactly is the issue, though - it seems like some issue with itemized lists. I'm not sure docbook-style-xsl will get updated in RHEL-6 anytime soon (there are other bugs causing doc build issues, proposed for fastracks, but it still slips through releases). For now, I would suggest to patch the generated man-pages...
note to myself, confirmed that using manpages/lists.xsl from 1.78.1 docbook xsl stylesheets package fixes the issue. There are just 4 small changes in this file, seems like an easyfix.
Difference of the generated man-pages is in:
236c236
< .sp
---
> .RS 4
Final listitem has to have .sp (add new line) instead of .RS 4 (relative indentation by 4) to finalize the bullet.
Comment 5Elio Maldonado Batiz
2014-05-14 17:00:37 UTC
(In reply to Ondrej Vasik from comment #3)
> note to myself, confirmed that using manpages/lists.xsl from 1.78.1 docbook
> xsl stylesheets package fixes the issue. There are just 4 small changes in
> this file, seems like an easyfix.
Thank Ondrej you for the prompt response. I confirm that the 4 small changes do indeed work, see https://bugzilla.redhat.com/show_bug.cgi?id=606022#c51.
I'm going to WONTFIX the issue for RHEL 6. Although fix is easy and known(and issue is fixed in RHEL 7), it is only useful for building new packages, workaround exists and with RHEL 6 in production phase 3, I don't think it makes sense to do an update for this.