Description of problem:
sosreport in RHEL6.1 does not collect details of /proc/net and /etc/modprobe.d details.
/proc/net/bonding/bondx has a lot of useful details which could help troubleshoot issues. So it's recommended to take the whole contents of the directory.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Please can you file separate bugs for /proc/net items and modprobe? They aren't really related and it's confusing to have them in a single feature request.
For network stuff exposed in proc we generally prefer to use tools like netstat where possible or to just pick up specific files (e.g. bondX) rather than pull in the entire directory.
I will keep this for /proc/net.
Almost all files under /proc/net is useful files. So I prefer to grab the directory entirely.
Eg, While working with a bonding it's highly useful to have /proc/net/bonding/bondx files.
/proc/net/dev is useful sometimes.
/proc/net/igmp is useful. While looking through, I see more files to include than to exclude.
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
I noticed that no bugzilla for the modprobe.d directory was opened.
I then created the BZ#747864 for that specific issue.
I removed modprobe.d part from bug Summary, since this is going to be /proc/net bug only.
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.
* Previous versions of sos did not collect the contents of the /proc/net directory due to an incorrect path specification
* As a result information necessary to debug certain bonding configurations was not available in the resulting archive
* The sos networking module has been corrected to ensure this directory tree is collected
* Generated sosreport tarballs now contain the expected set of /proc/net files
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.
> Almost all files under /proc/net is useful files. So I prefer to grab the
> directory entirely.
Unfortunately this is not true of the */channel files used to communicate with e.g. userspace RPC daemons. Reading these files can break this communication, see bug 913201.
I think in the future for changes of this sort we will need sign-off from a senior/SEG member of the relevant SBR to verify that these operations are safe and free from side-effects.