aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Desrochers <eric.desrochers@canonical.com>2019-11-13 15:05:39 -0500
committerBryan Quigley <bryan.quigley@canonical.com>2019-11-13 12:23:28 -0800
commit77e4c8149c21d827954d65c558cc5976c5924333 (patch)
treef5d268f49bb46ad38c083a38c877825de4ac9748
parentc1d1f459b5396633110ae86acb1cee3bb17d850a (diff)
downloadsos-77e4c8149c21d827954d65c558cc5976c5924333.tar.gz
[apport] List var crash recursively
Listing /var/crash recursively will provide not only the root of /var/crash as current state, but also data found in subdirectories if any as follow: $ ls /var/crash/201911131119/ dmesg.201911131119 dump.201911131119 Resolves: #1861 Signed-by-off: Eric Desrochers <eric.desrochers@canonical.com> Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
-rw-r--r--sos/plugins/apport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/apport.py b/sos/plugins/apport.py
index 00b81ffa..d64fa3df 100644
--- a/sos/plugins/apport.py
+++ b/sos/plugins/apport.py
@@ -32,7 +32,7 @@ class Apport(Plugin, DebianPlugin, UbuntuPlugin):
"gdbus call -y -d com.ubuntu.WhoopsiePreferences \
-o /com/ubuntu/WhoopsiePreferences \
-m com.ubuntu.WhoopsiePreferences.GetIdentifier")
- self.add_cmd_output("ls -alh /var/crash/")
+ self.add_cmd_output("ls -alhR /var/crash/")
self.add_cmd_output("bash -c 'grep -B 50 -m 1 ProcMaps /var/crash/*'")
# vim: set et ts=4 sw=4 :