Bug 233641 - targeted policy is incomplete for net-snmp daemon
targeted policy is incomplete for net-snmp daemon
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy-targeted (Show other bugs)
5.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-23 11:36 EDT by Subhendu Ghosh
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2007-0544
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-11-07 11:38:43 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


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

  None (edit)
Description Subhendu Ghosh 2007-03-23 11:36:53 EDT
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 12:12:45 EDT
Please attach /var/log/audit/audit.log
Comment 2 Subhendu Ghosh 2007-03-23 12:23:31 EDT
Created attachment 150773 [details]
audit log for snmp avc denied messages
Comment 3 RHEL Product and Program Management 2007-05-15 09:43:50 EDT
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 11:13:35 EDT
Fixed in selinux-policy-targeted-2.4.6-69.el5
Comment 9 errata-xmlrpc 2007-11-07 11:38:43 EST
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.