From dc71503f39b81dd9ff56e57c354fe3215aa366c7 Mon Sep 17 00:00:00 2001 From: shnavid Date: Wed, 18 Jul 2007 09:45:46 +0000 Subject: * disable sysrq by default * create symlink for dmidecode git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@214 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- src/lib/sos/plugins/kernel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/sos/plugins/kernel.py b/src/lib/sos/plugins/kernel.py index f5b0e65d..09381b38 100644 --- a/src/lib/sos/plugins/kernel.py +++ b/src/lib/sos/plugins/kernel.py @@ -19,7 +19,7 @@ class kernel(sos.plugintools.PluginBase): """kernel related information """ optionList = [("modinfo", 'Gathers module information on all modules', 'fast', 1), - ('sysrq', 'Trigger SysRq dumps', 'fast', 1)] + ('sysrq', 'Trigger SysRq dumps', 'fast', 0)] moduleFile = "" taintList = [ {'regex':'mvfs*', 'description':'Clearcase module'}, @@ -66,7 +66,7 @@ class kernel(sos.plugintools.PluginBase): self.addCopySpec("/etc/conf.modules") self.addCopySpec("/etc/modules.conf") self.addCopySpec("/etc/modprobe.conf") - self.collectExtOutput("/usr/sbin/dmidecode") + self.collectExtOutput("/usr/sbin/dmidecode", root_symlink = "dmidecode") self.collectExtOutput("/usr/sbin/dkms status") self.addCopySpec("/proc/cmdline") self.addCopySpec("/proc/driver") -- cgit