Bug 233641 - targeted policy is incomplete for net-snmp daemon
Summary: targeted policy is incomplete for net-snmp daemon
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy-targeted
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-03-23 15:36 UTC by Subhendu Ghosh
Modified: 2016-10-04 04:28 UTC (History)
2 users (show)

Fixed In Version: RHBA-2007-0544
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-07 16:38:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
audit log for snmp avc denied messages (5.34 KB, text/plain)
2007-03-23 16:23 UTC, Subhendu Ghosh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0544 0 normal SHIPPED_LIVE selinux-policy bug fix update 2007-11-08 14:16:49 UTC

Description Subhendu Ghosh 2007-03-23 15:36:53 UTC
Description of problem:
snmpd startup generated warnings/error.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-2.4.6-30.el5
net-snmp-5.3.1-14.el5

How reproducible:
Always

Steps to Reproduce:
1.Run in SELinux enforcing mode
2.service snmpd start
3.
  
Actual results:
Mar 23 11:13:43 dakar-lap setroubleshoot:      SELinux is preventing
/usr/sbin/snmpd (snmpd_t) "read" access to sendmail.cf (etc_mail_t).      For
complete SELinux messages. run sealert -l af0d74e2-26cf-4301-b07f-7ac2029fb5da
Mar 23 11:13:43 dakar-lap setroubleshoot:      SELinux is preventing
/usr/sbin/snmpd (snmpd_t) "getattr" access to /etc/mail/sendmail.cf
(etc_mail_t).      For complete SELinux messages. run sealert -l
d8430316-b15a-4ab9-8670-81d025a437f3
Mar 23 11:13:43 dakar-lap setroubleshoot:      SELinux is preventing
/usr/sbin/snmpd (snmpd_t) "search" access to mqueue (mqueue_spool_t).      For
complete SELinux messages. run sealert -l 949f4f8b-4677-4bdd-96c9-a8bd2623dda1
Mar 23 11:13:43 dakar-lap setroubleshoot:      SELinux is preventing
/usr/sbin/snmpd (snmpd_t) "read" access to statistics (sendmail_log_t).      For
complete SELinux messages. run sealert -l db3bb240-d843-4644-a38f-3ae5cae7a806


Expected results:
No error messages

Additional info:
net-snmp is compiled with support for module mibII/mta_sendmail that can give
you mailqueue stats.  In order to do this, it needs to read sendmail.cf and
queue contents.

Comment 1 Daniel Walsh 2007-03-23 16:12:45 UTC
Please attach /var/log/audit/audit.log

Comment 2 Subhendu Ghosh 2007-03-23 16:23:31 UTC
Created attachment 150773 [details]
audit log for snmp avc denied messages

Comment 3 RHEL Program Management 2007-05-15 13:43:50 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 Daniel Walsh 2007-05-15 15:13:35 UTC
Fixed in selinux-policy-targeted-2.4.6-69.el5

Comment 9 errata-xmlrpc 2007-11-07 16:38:43 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0544.html



Note You need to log in before you can comment on or make changes to this bug.