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
Thanks,
Susan
On 06/ 1/11 03:57 PM, Edward Pilatowicz wrote:
On Wed, Jun 01, 2011 at 11:51:43AM -0600, Susan Kamm-Worrell wrote:
Ed,
Here's an updated webrev.
http://coupe/sw83825/ips-ipkgAIinstall/webrev.ipkg.2
looks good.
i also put an updated the arc case for the clone interface changes.
ed
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss