Bug 563049
| Summary: | SELinux is preventing /usr/sbin/sendmail.sendmail "setsched" access. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chris Schanzle <bugzilla> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:ca2df80487b51eb50c4a0a3c65eb119fff62a1a809caedee6093e96699b80e88 | ||
| Fixed In Version: | selinux-policy-3.6.32-89.fc12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-02-20 00:22:17 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: | |||
|
Description
Chris Schanzle
2010-02-09 03:53:19 UTC
thinking of high-level potential reasons why I'm seeing this...early production stages of getting a cyrus mail server going on Fedora 12. Includes MailScanner (sorry), clamd; default mailer is MAILER(cyrusv2). Alerts happen on send of outgoing mail + incoming, so I doubt it's a unique codepath due to the local mailer. Thanks for having a look! I have never seen this before, but I see it with other mailers, so I guess we should allow it. Miroslov can you add this access. Fixed in selinux-policy-3.6.32-86.fc12 Cool, thanks! Watching http://koji.fedoraproject.org/koji/packageinfo?packageID=32 I'm relatively new to selinux; had you denied this, what would I do make a local change to enable this syscall? I'm just not "getting it" from the guides, which focus on file contexts. You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp many thanks for your patience. I grepped just the particular avc, it seems 'semodule -i' is persistent across reboots, and I should 'semodule -d mypol' when selinux-policy is actually updated. Good stuff, selinux! selinux-policy-3.6.32-86.fc12 solves this issue. Thanks! You might want to make a note in the changelog, though. [continuing above, better to 'semodule -r mypol' to remove policy, not just disable.] selinux-policy-3.6.32-89.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-89.fc12 selinux-policy-3.6.32-89.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1836 selinux-policy-3.6.32-89.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |