[CentOS] snmpd not working well with selinux?

Thu May 31 12:51:33 UTC 2012
John Horne <john.horne at plymouth.ac.uk>

On Thu, 2012-05-31 at 08:43 -0400, Daniel J Walsh wrote:
> > 
> Ok in Fedora we have /var/run/net-snmpd, is /var/run/net-snmp a standard
> directory for this?
> 
Hello,

What I have is:

Fedora 15:
=================================
ls -ldZ /var/run/net-snmp
drwxr-xr-x. root root system_u:object_r:var_run_t:s0   /var/run/net-snmp

rpm -qf /var/run/net-snmp
net-snmp-5.6.1-7.fc15.x86_64
=================================

RHEL 6.2/CentOS 6.2:
=================================
ls -ldZ /var/run/net-snmp
drwxr-xr-x. root root system_u:object_r:var_run_t:s0   /var/run/net-snmp

rpm -qf /var/run/net-snmp
net-snmp-5.5-37.el6_2.1.x86_64
=================================


So '/var/run/net-snmpd' must have come in at a later date than F15.



John.

-- 
John Horne                   Tel: +44 (0)1752 587287
Plymouth University, UK      Fax: +44 (0)1752 587001