Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019
 
 

How to Recover From a Failure While Committing Temporary Changes

The configuration of a running zone can change externally while the live configuration is being edited. When this conflict occurs, the commit subcommand returns an error. You can reload the configuration to show the updated version, and make the edits.

  1. Become a zone administrator.

    For more information, see Assigning Limited Rights to Zone Administrators.

  2. Perform the following steps to recover from a failure by using reload.
    $ zonecfg -z zone1 -r 
    zonecfg:zone1> add anet;set linkname=anet1;set lower-link=net1;end
    zonecfg:zone1> commit
    zone1: error: Failed to commit. The live configuration of the zone
       'zone1' changed externally.
    zonecfg:zone1> reload
    zonecfg:zone1> add anet;set linkname=anet1;set lower-link=net1;end
    zonecfg:zone1> commit
    zone1: Checking: add anet linkname=anet1
    zone1: Applying changes