Bug 822480 - move /var/lib/net-snmp from net-snmp to net-snmp-libs
move /var/lib/net-snmp from net-snmp to net-snmp-libs
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: net-snmp (Show other bugs)
6.2
All Linux
high Severity medium
: rc
: ---
Assigned To: Jan Safranek
BaseOS QE Security Team
:
: 827009 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-17 09:20 EDT by Karel Srot
Modified: 2012-06-20 03:21 EDT (History)
5 users (show)

See Also:
Fixed In Version: net-snmp-5.5-41.el6
Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of:
: 822508 (view as bug list)
Environment:
Last Closed: 2012-06-20 03:21:29 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Karel Srot 2012-05-17 09:20:50 EDT
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.

net-snmp-5.5-37.el6

# rpm -ql net-snmp | grep /var/lib/net-snmp
/var/lib/net-snmp
Comment 3 Jan Safranek 2012-05-18 06:17:40 EDT
    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.
    
    New Contents:
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.
Comment 7 Miroslav Grepl 2012-05-31 09:22:16 EDT
*** Bug 827009 has been marked as a duplicate of this bug. ***
Comment 8 errata-xmlrpc 2012-06-20 03:21:29 EDT
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.

http://rhn.redhat.com/errata/RHSA-2012-0876.html

Note You need to log in before you can comment on or make changes to this bug.