libc.so.1 should likely be marked as reboot-needed=true
Got issue while updating zones:
Creating fast lookup database Done Executing linked: 0/4 done; 1 working: zone:sms1 Executing linked: 1/4 done; 1 working: zone:archive Linked progress: |pkg: update failed (linked image exception(s)): A 'update' operation failed for child 'zone:archive' with an unexpected return value of 1 and generated the following output: Action upgrade failed for 'lib/libc.so.1' (pkg://openindiana.org/system/library): FileInUseException: Could not operate on /zones/archive/root/lib/libc.so.1 because the file is in use. Please stop using the file and try the operation again. pkg: Could not operate on /zones/archive/root/lib/libc.so.1 because the file is in use. Please stop using the file and try the operation again.
Likely, libc.so.1 should be marked as reboot-needed=true to avoid on-the-fly updates.
Updated by Andy Fiddaman 9 months ago
It /is/ marked as reboot-needed
file mountpoint=true owner=root path=lib/libc.so.1 reboot-needed=true variant.debug.illumos=false
It looks like something went wrong with BE creation there, or the decision to create a new BE (which would be in the output, just before the bit you posted). For the second, if you try
beadm create test beadm mount test /a
you should see that a new BE has been created, including one for the linked non-global zones, like this:
# df -h | grep zone/mailstore27 data/zone/mailstore27 3.51T 74K 1.25T 1% /data/zone/mailstore27 data/zone/mailstore27/ROOT/zbe-18 3.51T 206.53M 1.25T 1% /data/zone/mailstore27/root /data/zone/mailstore27 1.25T 74K 1.25T 1% /a/data/zone/mailstore27 data/zone/mailstore27/ROOT/zbe-19 3.51T 206.53M 1.25T 1% /a/data/zone/mailstore27/root