From 77e4c8149c21d827954d65c558cc5976c5924333 Mon Sep 17 00:00:00 2001 From: Eric Desrochers Date: Wed, 13 Nov 2019 15:05:39 -0500 Subject: [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 Signed-off-by: Bryan Quigley --- sos/plugins/apport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 : -- cgit