[CentOS] snmpd not working well with selinux?

Thu May 31 11:59:07 UTC 2012
John Horne <john.horne at plymouth.ac.uk>

On Wed, 2012-05-30 at 13:49 -0400, Daniel J Walsh wrote:
>
> restorecon -R -v /var/run
> 
> I think the directory is mislabeled.
>
Hello,

It looks like it is mislabelled by default. If I set the context of
'/var/run/net-snmp' to 'snmpd_var_run_t' then the use of pass_persist
works fine.

I'll submit this as a bug for your consideration.




John.

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