Red Hat Bugzilla – Bug 1276262
Do not collect /proc/net/cdp by networking plugin
Last modified: 2016-05-10 17:07:44 EDT
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):
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:
# 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
The archive contains /proc/net/cdp and everything in it.
/proc/net/cdp is not collected.
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 +++
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.