aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth D'souza <kennethdsouza94@gmail.com>2019-09-20 10:40:43 +0530
committerBryn M. Reeves <bmr@redhat.com>2019-10-08 15:20:38 +0100
commit4265d2dd0d09a1caedf9090a8076424bd7b159cc (patch)
treed6bddc2c6eef9d8f64c350346fbc63d7f9986769
parentd7ebe2b3eb66ca7df5f1d3a7161c98b0591528c4 (diff)
downloadsos-4265d2dd0d09a1caedf9090a8076424bd7b159cc.tar.gz
[filesys] Capture /etc/mtab file.
This will help us to know if /etc/mtab is a symblink to /proc/self/mounts. Helps in troubleshooting known issues of systemd and df. Resolves: #1790 Signed-off-by: Kenneth D'souza <kennethdsouza94@gmail.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/filesys.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/filesys.py b/sos/plugins/filesys.py
index cb70277e..cba662a9 100644
--- a/sos/plugins/filesys.py
+++ b/sos/plugins/filesys.py
@@ -31,6 +31,7 @@ class Filesys(Plugin, DebianPlugin, UbuntuPlugin):
"/proc/self/mountinfo",
"/proc/self/mountstats",
"/proc/[0-9]*/mountinfo",
+ "/etc/mtab",
"/etc/fstab"
])
self.add_cmd_output("mount -l", root_symlink="mount")