FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 05-31-2012, 01:29 PM
Daniel J Walsh
 
Default snmpd not working well with selinux?

-----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_ubject_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_ubject_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@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-31-2012, 01:54 PM
John Horne
 
Default snmpd not working well with selinux?

On Thu, 2012-05-31 at 09:29 -0400, Daniel J Walsh wrote:
> >
> It looks like /var/run/net-snmp is correct, I will fix our policy and get it
> into RHEL6.4
>
Hello,

I received a reply via Miroslav Grepl that this is already fixed. The
bug report is https://bugzilla.redhat.com/show_bug.cgi?id=822480

It seems that '/var/lib/net-snmp' should be used.
I have tested my use of pass_persist and it does work when using
'/var/lib/net-snmp'.



John.

--
John Horne Tel: +44 (0)1752 587287
Plymouth University, UK Fax: +44 (0)1752 587001
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 12:42 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org