Description of problem:
Needed because of bug 814091.
/var/lib/net-snmp directory should belong to net-snmp-libs
because of other applications that requires libs but don't need net-snmp itself.
# rpm -ql net-snmp | grep /var/lib/net-snmp
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Net-SNMP daemons and utilites use /var/lib/net-snmp directory to store persistent data, e.g. cache of parsed MIB files. This directory is created by net-snmp package and when this package is not installed, Net-SNMP utilities and libraries create the directory with wrong SELinux context, which results in AVC reported by SELinux. In this update, the /var/lib/net-snmp directory is created by net-snmp-lib package, therefore all Net-SNMP utilities and libraries don't need to create the directory and the directory will have correct SELinux context.
*** Bug 827009 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.