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.

Bug 1099779

Summary: Validation of manual pages in xml format failed.
Product: Red Hat Enterprise Linux 6 Reporter: Lukas Slebodnik <lslebodn>
Component: libxml2Assignee: Daniel Veillard <veillard>
Status: CLOSED WONTFIX QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.7CC: gsterlin, jhrozek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 12:58:51 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:
Attachments:
Description Flags
Manual page in XML format none

Description Lukas Slebodnik 2014-05-21 07:49:19 UTC
Description of problem:
I tried to rebuild sssd-1.9.2-129.el6_5.6.src.rpm on rhel6, but xmllint was not able to validate some xml files and thus manual pages could not be built and building process failed.


Version-Release number of selected component (if applicable):
bash-4.1# rpm -q libxml2
libxml2-2.7.6-14.el6_5.1.x86_64

How reproducible:
Always

Steps to Reproduce:
1. download sssd source rpm
  yumdownloader --source sssd
2. rebuild file sssd-1.9.2-129.el6_5.6.src.rpm (I used mock for this purpose)
  mock --root epel-6-x86_64 --resultdir . --rebuild sssd-1.9.2-129.el6_5.6.src.rpm

Actual results:
sssd rpms are not built and log file contains a lot of warnings.
make[2]: Entering directory `/builddir/build/BUILD/sssd-1.9.2/src/man'
/usr/bin/xmllint --catalogs --postvalid --nonet --xinclude --noout sss_usermod.8.xml
sss_usermod.8.xml:4: element reference: validity error : No declaration for element reference
sss_usermod.8.xml:5: element title: validity error : No declaration for element title
sss_usermod.8.xml:6: element refentry: validity error : No declaration for element refentry
include/upstream.xml:1: element refentryinfo: validity error : No declaration for element refentryinfo
include/upstream.xml:1: element refentryinfo: validity error : No declaration for attribute base of element refentryinfo
include/upstream.xml:2: element productname: validity error : No declaration for element productname
include/upstream.xml:3: element orgname: validity error : No declaration for element orgname
sss_usermod.8.xml:9: element refmeta: validity error : No declaration for element refmeta
sss_usermod.8.xml:10: element refentrytitle: validity error : No declaration for element refentrytitle
sss_usermod.8.xml:11: element manvolnum: validity error : No declaration for element manvolnum
sss_usermod.8.xml:14: element refnamediv: validity error : No declaration for element refnamediv

...


Expected results:
rpms are build successfully


Additional info:
It worked with version libxml2-2.7.6-14.el6.x86_64.rpm
I think it can be related to the recent change
  "Do not fetch external parameter entities (CVE-2014-0191)"
Is there any easy fix or workaround?

Comment 2 Lukas Slebodnik 2014-05-21 14:29:11 UTC
Created attachment 898029 [details]
Manual page in XML format

I attached xml file which was mentioned in bug description and xmllint failed to validate it.

Comment 3 Jan Kurik 2017-12-06 12:58:51 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/