Project

General

Profile

Actions

Bug #14045

open

libc.so.1 should likely be marked as reboot-needed=true

Added by Alexander Pyhalov about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

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.

Actions #1

Updated by Andy Fiddaman about 2 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
Actions

Also available in: Atom PDF