fedora-selinux / setroubleshoot

Abandoned, use https://gitlab.com/setroubleshoot
https://gitlab.com/setroubleshoot
9 stars 12 forks source link

Operation not permitted for chmod+chown and xmlParseFile() failed on Fedora Silverblue #95

Open Mershl opened 3 years ago

Mershl commented 3 years ago

Description: The following error messages are visible in journalctl after startup on a fresh Silverblue installation:

setroubleshoot[1726]: cannot chmod /var/lib/setroubleshoot/setroubleshoot_database.xml to 600 [Operation not permitted]
setroubleshoot[1726]: cannot chown /var/lib/setroubleshoot/setroubleshoot_database.xml to setroubleshoot:setroubleshoot [Operation not permitted]
setroubleshoot[1726]: read_xml_file() libxml2.parserError: xmlParseFile() failed
setroubleshoot[1726]: cannot chmod /var/lib/setroubleshoot/email_alert_recipients to 600 [Operation not permitted]
setroubleshoot[1726]: cannot chown /var/lib/setroubleshoot/email_alert_recipients to setroubleshoot:setroubleshoot [Operation not permitted]

Tested on:

Mershl commented 3 years ago

Can confirm the bug is reproduciable on latest main (and on Silverblue 35 / Fedora 35).

In addition the following is logged:

dbus-broker-launch[1811]: Service file '/usr/share//dbus-1/services/sealert.service' is not named after the D-Bus name 'org.fedoraproject.Setroubleshootd'.