summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-08-29 20:56:57 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-08-29 20:56:57 +0000
commit8820a748186916972bcad011e821ede79b674249 (patch)
treea2ecbf2476ece4388fe9db7ff764bb464360b800
parentfa29a2b8704c50baf4779b24ec4f6c76b78e7f27 (diff)
downloadbcfg2-8820a748186916972bcad011e821ede79b674249.tar.gz
bcfg2-8820a748186916972bcad011e821ede79b674249.tar.bz2
bcfg2-8820a748186916972bcad011e821ede79b674249.zip
Add more debug for solaris
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2148 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Client/Solaris.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Client/Solaris.py b/src/lib/Client/Solaris.py
index c7ddf970c..c1a9efb60 100644
--- a/src/lib/Client/Solaris.py
+++ b/src/lib/Client/Solaris.py
@@ -91,6 +91,7 @@ class ToolsetImpl(Toolset):
self.logger.info('Failed to locate FMRI for service %s' % entry.get('name'))
return False
if entry.get('FMRI').startswith('lrc'):
+ self.logger.debug("Starting lrc validation for %s" % (entry.get('name')))
filename = entry.get('FMRI').split('/')[-1]
# this is a legacy service
gname = "/etc/rc*.d/%s" % filename
@@ -102,6 +103,7 @@ class ToolsetImpl(Toolset):
else:
self.logger.debug("No service matching %s" % (entry.get("FMRI")))
return entry.get('status') == 'off'
+ self.logger.debug("starting non-lrc validatiaon for %s" % (entry.get('name'))
try:
srvdata = self.saferun("/usr/bin/svcs -H -o STA %s" % entry.attrib['name'])[1][0].split()
except IndexError: