Bug 634989
Summary: | AVC error when pushing to channel | |||
---|---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Jan Hutař <jhutar> | |
Component: | Server | Assignee: | Jan Pazdziora (Red Hat) <jpazdziora> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | 1.2 | CC: | jpazdziora | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | spacewalk-selinux-1.5.2-1 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 703485 (view as bug list) | Environment: | ||
Last Closed: | 2011-07-21 14:42:54 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: | 695242, 703485 |
Description
Jan Hutař
2010-09-17 14:13:31 UTC
Mass-moving to space13. I assume that the sendmail process seems to be started when Apache wants to send some traceback email. Unfortunately, rhnpush seems to be that stable on my Spacewalk 1.2 (Fedora 13, PostgreSQL) that I did not get any tracebacks. So I put i = 1 / 0 to /usr/share/rhn/upload_server/handlers/package_push/package_push.py to handler and I indeed can see the reproducer. type=AVC msg=audit(1290274022.882:21541): avc: denied { search } for pid=3005 comm="sendmail" name="clientmqueue" dev=dm-0 ino=833 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:mqueue_spool_t:s0 tclass=dir Taking. We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5. We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5. The fix is to set the httpd_can_sendmail boolean: # setsebool -P httpd_can_sendmail on This issue is also present on Satellite 5.4.0. We now set the boolean in spacewalk-selinux-enable: Spacewalk master 87e7077f0a2923763ef5ce9ec5de6e3aa7533467. The same AVCs happen on https://FQDN/help/forgot_password.pxt, with the SELinux boolean turned off. This bugzilla is currently MODIFIED, so we believe the fix is in the Spacewalk nightly yum repository at http://spacewalk.redhat.com/yum/nightly/ Therefore, moving ON_QA. I have used Spacewalk nightly (RHEL6; Oracle DB backend; spacewalk-selinux-1.5.4-1.el6.noarch) to reset my password (for user with password root.eng.rdu.redhat.com): https://FQDN/help/forgot_password.pxt and no new messages appeared in audit.log. => VERIFIED Spacewalk 1.5 was released. |