Bug 527548
| Summary: | setroubleshoot: [xml.ERROR] read_xml_file() libxml2.parserError: xmlParseFile() failed | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> | ||||||
| Component: | setroubleshoot | Assignee: | Daniel Walsh <dwalsh> | ||||||
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | rawhide | CC: | 709280, dwalsh, jdennis, mgrepl | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2010-01-21 21:21:56 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 473302 | ||||||||
| Attachments: |
|
||||||||
|
Description
Nicolas Mailhot
2009-10-06 21:49:46 UTC
The first one is not a bug as restorecond is supposed to watch for content in public_html and you don't have that directory.
Not sure what causes the second. Could you attach the /var/lib/setroubleshoot/audit_listener_database.xml
File, there is something in there that is causing a problem. If you zero out this file, setroubleshoot should start working again.
> /var/lib/setroubleshoot/audit_listener_database.xml
You will loose all of your setroubleshoot data.
Created attachment 364333 [details]
audit_listener_database.xml
What did you compress this file with? It's an xz file Never heard of it. I moved your xml file into /var/lib/setroubleshoot/audit_listener_database.xml And my setroubleshoot had no problem reading the file. setroubleshoot-2.2.37-1.fc12.x86_64 If Created attachment 467348 [details]
Corrupted audit_listener_database.xml
This problem still occurs in F13. I don't know about F14.
Obviously, localized message is truncated without respecting UTF-8
character boundary.
Note: My /etc/sysconfig/i18n is LANG="ja_JP.UTF-8"
IMHO,
*: XML is fragile, at least for critical logging purpose.
*: At the time of logging (to disk), english diag message(and/or diag#) is enough.
Localization should be a matter of its Viewer.
I had same problem,and I change the file's code from ansi to utf-8,it's seems to be ok. /var/lib/setroubleshoot/audit_listener_database.xml cnfixit, I do not understand what you did? (In reply to comment #9) > cnfixit, I do not understand what you did? ah,my bad the attachment's encoding is ansi,and xml file's head: <?xml version="1.0" encoding="utf-8"?> I change the file's encoding from ansi to utf-8,it's seems to be ok. # uname -a Linux localhost.localdomain 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 EDT 2010 i686 i686 i386 GNU/Linux # cat /etc/sysconfig/i18n LANG="zh_CN.UTF-8" (In reply to comment #9) > cnfixit, I do not understand what you did? ah,my bad the attachment's encoding is ansi,and xml file's head: <?xml version="1.0" encoding="utf-8"?> I change the file's encoding from ansi to utf-8,it's seems to be ok. # uname -a Linux localhost.localdomain 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 EDT 2010 i686 i686 i386 GNU/Linux # cat /etc/sysconfig/i18n LANG="zh_CN.UTF-8" |