aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-08-14 15:58:13 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-08-14 15:58:13 +0100
commit44e01afbd86f60760af85ad64810e56cf5e77140 (patch)
tree9ac6386fd67b041e026b1ab2c179e7f13f2df29c
parent1a73d5932a3f8153a9d1440c931823720e7e6245 (diff)
downloadsos-44e01afbd86f60760af85ad64810e56cf5e77140.tar.gz
Do not attempt to read use-gss-proxy file in procfs
The networking plug-in scoops up /proc/net. There are some pseudo- files in here that we should avoid touching. These either have side-effects or hang the reading process. Add a forbidden path for the /proc/net/rpc/use-gss-proxy file. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/networking.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index 90b740ca..8d3509bb 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -80,6 +80,7 @@ class Networking(Plugin):
"/etc/NetworkManager/NetworkManager.conf",
"/etc/NetworkManager/system-connections",
"/etc/dnsmasq*"])
+ self.add_forbidden_path("/proc/net/rpc/use-gss-proxy")
ip_addr_file=self.get_cmd_output_now("ip -o addr", root_symlink = "ip_addr")
ip_addr_out=self.call_ext_prog("ip -o addr")