Hello, Here is a debdiff of a proposed fix for this bug.
Kind regards, ...Louis -- Louis Bouchard Software engineer, Cloud & Sustaining eng. Canonical Ltd Ubuntu support: http://canonical.com/support
diff -Nru sosreport-3.1/debian/changelog sosreport-3.1/debian/changelog --- sosreport-3.1/debian/changelog 2014-01-27 12:52:39.000000000 +0100 +++ sosreport-3.1/debian/changelog 2014-04-08 11:28:47.000000000 +0200 @@ -1,3 +1,10 @@ +sosreport (3.1-1.1) sid; urgency=medium + + * Fix spurrious "command not found" messages when running + Closes: #743868 + + -- Louis Bouchard <louis.bouch...@ubuntu.com> Tue, 08 Apr 2014 11:24:11 +0200 + sosreport (3.1-1) sid; urgency=low * New upstream release v3.1 diff -Nru sosreport-3.1/debian/patches/0001-fix-command-not-found.patch sosreport-3.1/debian/patches/0001-fix-command-not-found.patch --- sosreport-3.1/debian/patches/0001-fix-command-not-found.patch 1970-01-01 01:00:00.000000000 +0100 +++ sosreport-3.1/debian/patches/0001-fix-command-not-found.patch 2014-04-07 17:55:49.000000000 +0200 @@ -0,0 +1,38 @@ +commit 0338a955a930286beaa7b66c5167be9b15d34d78 +Author: Bryn M. Reeves <b...@redhat.com> +Date: Mon Feb 3 12:09:57 2014 +0000 + + Fix verbose file logging + + Prior versions of sos enable debug logging to the embedded log + file (sos_logs/sos.log) when a single '-v' is given. Restore this + behaviour and ensure that command-not-found messages are reported + at 'info' rather than 'warning' level. + + Signed-off-by: Bryn M. Reeves <b...@redhat.com> + +diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py +index 7c63631..8df430d 100644 +--- a/sos/plugins/__init__.py ++++ b/sos/plugins/__init__.py +@@ -488,7 +488,7 @@ class Plugin(object): + self.soslog.warning("command '%s' timed out after %ds" + % (prog, timeout)) + if status == 127: +- self.soslog.warning("could not run '%s': command not found" % prog) ++ self.soslog.info("could not run '%s': command not found" % prog) + return (status, output, runtime) + + def call_ext_prog(self, prog, timeout=300): +diff --git a/sos/sosreport.py b/sos/sosreport.py +index 4b52572..0faa364 100644 +--- a/sos/sosreport.py ++++ b/sos/sosreport.py +@@ -659,6 +659,7 @@ class SoSReport(object): + flog.setLevel(logging.DEBUG) + elif self.opts.verbosity and self.opts.verbosity > 0: + console.setLevel(logging.INFO) ++ flog.setLevel(logging.DEBUG) + else: + console.setLevel(logging.WARNING) + self.soslog.addHandler(console) diff -Nru sosreport-3.1/debian/patches/series sosreport-3.1/debian/patches/series --- sosreport-3.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ sosreport-3.1/debian/patches/series 2014-04-07 17:55:49.000000000 +0200 @@ -0,0 +1 @@ +0001-fix-command-not-found.patch -p1