Re: snmpd not working well with selinux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

On 05/31/2012 08:51 AM, John Horne wrote:
> 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.
> 
It looks like /var/run/net-snmp is correct,  I will fix our policy and get it
into RHEL6.4

For now you can set the label using semanage.


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

iEYEARECAAYFAk/Hcj0ACgkQrlYvE4MpobNgQwCfc4wsj2kwBbO1/cl7vktlD7Y3
CusAoOO5iGyW3nilLzMIBbmTfAZWtXxk
=IOwl
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux