aboutsummaryrefslogtreecommitdiffstats
path: root/src/sosreport
diff options
context:
space:
mode:
authorsconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-09-07 19:12:28 +0000
committersconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-09-07 19:12:28 +0000
commit42272212d47a76322e1523985f4306b65cd5745f (patch)
tree16e2f278f5eb3b5f27549bb4741a6bfc92861749 /src/sosreport
parentbcb932318630eac91f4087758e216d00ed58d271 (diff)
downloadsos-42272212d47a76322e1523985f4306b65cd5745f.tar.gz
Added alerts for tainted kernel and some well-known tainting modules.
Moved verbosity from a parameter to the global info list. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@52 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/sosreport')
-rwxr-xr-xsrc/sosreport9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sosreport b/src/sosreport
index a842f3ee..998f3653 100755
--- a/src/sosreport
+++ b/src/sosreport
@@ -149,7 +149,8 @@ def sosreport():
logfd = open(logdir + "/sos.log", "w")
# set up dict so everyone can share the following
- commons = {'dstroot': dstroot, 'cmddir': cmddir, 'logdir': logdir, 'rptdir': rptdir, 'logfd': logfd, 'policy': policy}
+ commons = {'dstroot': dstroot, 'cmddir': cmddir, 'logdir': logdir, 'rptdir': rptdir,
+ 'logfd': logfd, 'policy': policy, 'verbosity' : __cmdLineOpts__.verbosity}
# validate and load plugins
@@ -226,9 +227,9 @@ def sosreport():
if __cmdLineOpts__.verbosity > 0:
print "Executing plugin %s" % plugname
if __cmdLineOpts__.multithread:
- plug.doCollect(__cmdLineOpts__.verbosity)
+ plug.doCollect()
else:
- plug.copyStuff(__cmdLineOpts__.verbosity)
+ plug.copyStuff()
# Wait for all the collection threads to exit
if __cmdLineOpts__.multithread:
@@ -241,7 +242,7 @@ def sosreport():
for plugname, plug in loadedplugins:
if __cmdLineOpts__.verbosity > 1:
print "Analyzing results of plugin %s" % plugname,
- plug.analyze(__cmdLineOpts__.verbosity)
+ plug.analyze()
# Sort the module names to do the report in alphabetical order
loadedplugins.sort()