On Wed, Jun 01, 2011 at 04:17:34PM -0600, Susan Kamm-Worrell wrote: > > > Ed, > > I've had to make one more change. > In pkgcreatezone if auto-intall fails it exited with > $ZONE_SUBPROC_NOTCOMPLETE. > I've changed this to exit with $ZONE_SUBPROC_FATAL. > > NOT_COMPLETE means that no recovery actions are required by the user. > auto-install has created zfs datasets under zonepath which the zone code is > unable to cleanup on its own. > > So, FATAL is really the proper exit code here which leaves the zone > in an incomplete state. The zones-install will uninstall this zone > and attempt re-installing it once the admin has fixed the problem > and cleared the service. > > > Here's an updated webrev: > http://coupe/sw83825/ips-ipkgAIinstall/webrev.ipkg.3 >
that sounds resonable, but is there any reason you're exiting directly instead of calling fail_fatal()? ed _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
