Synchronous actions were introduced in Solaris 11.2 to be precise.

pull/20662/head
Jasper Lievisse Adriaanse 8 years ago committed by Brian Coca
parent a412be32b5
commit 4a594b3702

@ -1310,10 +1310,10 @@ class SunOSService(Service):
def svcadm_supports_sync(self):
# Support for synchronous restart/refresh is only supported on
# Oracle Solaris >= 11.
# Oracle Solaris >= 11.2
for line in open('/etc/release', 'r').readlines():
m = re.match('\s+Oracle Solaris (\d+\.\d+).*', line.rstrip())
if m and m.groups()[0] > 10:
if m and m.groups()[0] >= 11.2:
return True
def get_service_status(self):

Loading…
Cancel
Save