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 625485 - XML report generated by report lib from within Anaconda is not valid XML
Summary: XML report generated by report lib from within Anaconda is not valid XML
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libreport
Version: 6.0
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Denys Vlasenko
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On: 635116
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-19 15:23 UTC by David Kutálek
Modified: 2012-06-20 07:03 UTC (History)
4 users (show)

Fixed In Version: libreport-2.0.9-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 635116 (view as bug list)
Environment:
Last Closed: 2012-06-20 07:03:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Report XML file generated by Anaconda - not a valid xml (218.65 KB, text/xml)
2010-08-19 15:23 UTC, David Kutálek
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0841 0 normal SHIPPED_LIVE Low: abrt, libreport, btparser, and python-meh security and bug fix update 2012-06-19 19:29:03 UTC

Description David Kutálek 2010-08-19 15:23:58 UTC
Created attachment 439715 [details]
Report XML file generated by Anaconda - not a valid xml

Description of problem:

XML report generated by report lib from within Anaconda is not valid XML:

---
[dkutalek@timothy]$ xmllint ~/Downloads/anaconda-tb-3XJ8VFbLypPT.xml 
/home/dkutalek/Downloads/anaconda-tb-3XJ8VFbLypPT.xml:851: parser error : PCDATA invalid Char value 8
04:25:56,951 INFO    : Writing inode tables:  3/63
                                                  ^
/home/dkutalek/Downloads/anaconda-tb-3XJ8VFbLypPT.xml:851: parser error : PCDATA invalid Char value 8
04:25:56,951 INFO    : Writing inode tables:  3/63
                                                   ^
/home/dkutalek/Downloads/anaconda-tb-3XJ8VFbLypPT.xml:851: parser error : PCDATA invalid Char value 8
04:25:56,951 INFO    : Writing inode tables:  3/63
                                                    ^
...
---

Assuming this is the report lib problem, not Anaconda problem.

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

report-0.18-6.el6.x86_64

How reproducible:

Always

Steps to Reproduce:

1. Run RHEL6 install in virtual machine, use broken updates image to get error at the end of installation - add this parameter to kernel command line: updates=http://akozumpl.fedorapeople.org/broken.img

2. Report problem to eg. scp target 
3. run xmllint on saved report xml file
  
Actual results:

report file is not valid xml

Expected results:

should be valid

Additional info:

See attachment for example file

Comment 1 Gavin Romig-Koch 2011-01-18 20:03:12 UTC
xmllint is complaining about ^H characters in a log file that anaconda includes
in the report.

Comment 2 Gavin Romig-Koch 2011-01-26 18:35:23 UTC
Clearing acks.  This is not easy to solve and not a serious problem.

Comment 5 RHEL Program Management 2011-08-16 03:27:56 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 7 Denys Vlasenko 2012-01-19 13:53:15 UTC
Fixed in git:

commit cb258b9052c2dcfaf95345416ae7d445c2fa75ae
Author: Denys Vlasenko <dvlasenk>
Date:   Thu Jan 19 14:51:42 2012 +0100

    On loading text problem data, escape control chars too

Comment 16 errata-xmlrpc 2012-06-20 07:03:10 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.

http://rhn.redhat.com/errata/RHSA-2012-0841.html


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