RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1276262 - Do not collect /proc/net/cdp by networking plugin
Summary: Do not collect /proc/net/cdp by networking plugin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sos
Version: 6.7
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: 6.6
Assignee: Shane Bradley
QA Contact: Miroslav Hradílek
URL:
Whiteboard:
Depends On:
Blocks: 1172231 1274384
TreeView+ depends on / blocked
 
Reported: 2015-10-29 09:46 UTC by Martin Frodl
Modified: 2018-12-09 19:27 UTC (History)
13 users (show)

Fixed In Version: sos-3.2-39.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 1004936
: 1290741 (view as bug list)
Environment:
Last Closed: 2016-05-10 21:07:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Kernel module for reproducer (10.00 KB, application/x-tar)
2015-10-29 09:46 UTC, Martin Frodl
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0819 0 normal SHIPPED_LIVE sos bug fix and enhancement update 2016-05-10 22:39:56 UTC

Description Martin Frodl 2015-10-29 09:46:11 UTC
Created attachment 1087436 [details]
Kernel module for reproducer

To fix bug 1004936, /proc/net/cdp was added to forbidden paths in order to prevent collecting possibly gigantic files that can be present in this directory. After rebase to sos 3.2, this path is not on the blacklist anymore.

Version-Release number of selected component (if applicable):
sos-3.2-28.el6.noarch

How reproducible:
While I have not directly encountered the space consumption issue reported in the original bug, it can be shown that /proc/net/cdp is currently indeed collected by sosreport.

Steps to Reproduce:
1. Download and extract cdp.tar from attachment
2. In the extracted directory, build kernel module that creates /proc/net/cdp:
   # make
   # insmod cdp.ko
3. Run sosreport (networking module is enough):
   # sosreport -o networking --batch
4. List files contained in the resulting archive:
   # tar tvf /var/tmp/sosreport-<something>.tar.xz

Actual results:
The archive contains /proc/net/cdp and everything in it.

Expected results:
/proc/net/cdp is not collected.

Additional info:
I have not explicitly checked if /sys/net/cdp needs to be blacklisted again too, but I am sure there is a good reason to do so.

+++ This bug was initially created as a clone of Bug #1004936 +++

Comment 13 errata-xmlrpc 2016-05-10 21:07:44 UTC
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.

https://rhn.redhat.com/errata/RHBA-2016-0819.html


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