Solved IOCAGE upgrade seems blocked (but was not)

byrnejb

Well-Known Member

Reaction score: 9
Messages: 262

This just took a very, very long time to complete.
I have a thick jail named testjail created by iocage on a FreeBSD-12.1 host. It is, or was, at FreeBSD-12.0. I am attempting to 'upgrade' it to 12.1. The procedure used was:
Code:
| -   | testjail    | down  | 12.0-RELEASE | 192.168.216.144

iocage upgrade testjail -r 12.1-RELEASE
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 12.0-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
src/src world/base world/doc world/lib32

The following components of FreeBSD do not seem to be installed:
world/base-dbg world/lib32-dbg

Does this look reasonable (y/n)? y
Fetching metadata signature for 12.1-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 12.0-RELEASE for merging... done.
Preparing to download files...
. . .
/var/yp/Makefile
/var/yp/Makefile.dist
To install the downloaded upgrades, run "/tmp/tmpnfrg2rdy install".
Installing updates...
Kernel updates have been installed.  Please reboot and run
"/tmp/tmpnfrg2rdy install" again to finish installing updates.
Installing updates...Kernel updates have been installed.  Please reboot and run
"/tmp/tmpnfrg2rdy install" again to finish installing updates.
Installing updates...
And at this point it just seems to stop responding. Top with 'm' shows this:
Code:
  PID USERNAME     VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT COMMAND
76768 root         325     13      0      0      0      0   0.00% sh
  674 root         117      0      0      0      0      0   0.00% moused
11082 root           2      0      0      0      0      0   0.00% top
q

ps -auwx | grep 76768
root        76768   0.9  0.0    12784   3552  0  S+   12:02       0:34.96 /bin/sh /tmp/tmpnfrg2rdy -b /zroot/iocage/jails/testjail/
As the VCWS / IVCSW values keep changing for the upgrade script it seems that it is doing something. But it is taking an inordinate amount of time about it. Is there any way to check if this is a real problem or is simply an overlong process?
 

Emrion

Well-Known Member

Reaction score: 107
Messages: 407

I didn't answer you because I never upgraded a jail with iocage. But a simple update takes (long) time as well.
 
Top