6466N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. 6466N/A print "Unable to retrieve property '%s': %s" %
(pname, e) 6466N/A print "Unable to set property '%s', value '%s': %s" % \
6466N/A print "Unable to get root pool: %s" % e
6466N/A print "Unable to get active root dataset: %s" % e
6466N/A print "Unable to list dataset: %s" % e
6466N/A print "Unable to get mounted Docker dataset: %s" % e
6466N/A print "Unable to get mountpoint for dataset: %s" % e
6466N/A print "Unable to mount Docker root: %s" % e
6466N/A print "Unable to unmount Docker root: %s" % e
6466N/A # (off by default in VARSHARE). 6466N/A print "Failed to set '%s' prop on dataset '%s': %s" % \
6466N/A # Default to 'docker' in varshare 6466N/A print "Configured dataset '%s' mountpoint must be '%s'" % \
6466N/A # Dataset doesn't exist, try and create it. This may fail if 6466N/A '-o', 'setuid=on', '-o', 'exec=on', '-o', 'xattr=on', 6466N/A print "Failed to create dataset '%s' on %s: %s" % \
6466N/A # Setup environment variables for the daemon 6466N/A for p
in [
'http_proxy',
'https_proxy']:
7175N/A # Set up the daemon command line and execute 7175N/A # Kill off any running containers. Use a shell to log progress. 7175N/A # Kill the process contract which contains the daemon 6466N/A # 1 is returncode if no SMF contract processes were matched, 6466N/A # meaning they have already terminated. 6466N/A print "failed to kill the SMF contract: %s" % e