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 +++
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