Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: In today's boot logs: Oct 6 23:44:53 restorecond: Unable to watch (/home/nim/public_html/*) No such file or directory Oct 6 23:44:57 setroubleshoot: [xml.ERROR] read_xml_file() libxml2.parserError: xmlParseFile() failed Version-Release number of selected component (if applicable): setroubleshoot-2.2.33-1.fc12.x86_64
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"