Bug 430194
| Summary: | Service starts but then dies | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Highley <david.m.highley> |
| Component: | setroubleshoot | Assignee: | John Dennis <jdennis> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 8 | CC: | dwalsh |
| 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: | 2008-01-30 15:24:21 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: | 430195 | ||
| Bug Blocks: | |||
|
Description
David Highley
2008-01-25 04:18:46 UTC
Are there errors in /var/log/setroubleshoot/setroubleshootd.log or /var/log/messages? 2008-01-24 19:35:19,686 [email.WARNING] cannot open file /var/lib/setroubleshoot/email_alert_recipients, No such file or directory 2008-01-24 19:35:54,956 [program.ERROR] Can not handle AVC'S related to dispatcher. exiting setroubleshoot context=system_u:system_r:setroubleshootd_t:s0, AVC scontext=system_u:system_r:setroubleshootd_t:s0 This appears to be a labeling problem, I still need some more information to diagnose it. Would you please open up /var/log/audit/audit.log (as root) and search for AVC's related to setroubleshoot and copy the full text into this bug report. Thank you. See bug 430195 where I attached a complete audit log file. re comment #4, this is a different issue, in bug 430195 binary data was incorrectly inserted into a text buffer because the audit message was incorrectly decoded, in this bug setroubleshoot is exiting because it generated an AVC, a recursive situation which must be broken out of by exiting the daemon. Looks like a labeling issue that I'm trying to figure out with Dan Walsh. It
appears that passwd file entries with a home directory in /var/lib are causing
other /var/lib locations to get labeled as home directories; 430195. See the
audit log entry below:
type=AVC msg=audit(1201582580.411:116): avc: denied { lock } for pid=3704
comm="setroubleshootd" path="/var/lib/rpm/Packages" dev=dm-0 ino=26968074
scontext=system_u:system_r:setroubleshootd_t:s0
tcontext=system_u:object_r:user_home_t:s0 tclass=file
Changing a passwd file shell to /sbin/nologin and relabeling has fixed this issue. |