[CentOS] snmpd not working well with selinux?

Daniel J Walsh dwalsh at redhat.com
Thu May 31 12:43:43 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/31/2012 07:59 AM, John Horne wrote:
> 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.
> 
Ok in Fedora we have /var/run/net-snmpd, is /var/run/net-snmp a standard
directory for this?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/HZ38ACgkQrlYvE4MpobOT8gCfR2NMFHfS1TNv2v1hKm4yMnxm
m2cAniP19fDy6HYLcTSZPh4uTjqBI72e
=ChFY
-----END PGP SIGNATURE-----



More information about the CentOS mailing list