Upgrading BastilleBSD jails…
Mostly uneventful… I did need a rescue from
pkg-static before
pkg update/upgrade would work.
root@bastille-host:/ # bastille list
JID Name Boot Prio State Type IP Address Published Ports Release Tags
1 random-jail on 99 Up thin 192.168.27.10 - 14.3-RELEASE-p6 -
root@bastille-host:/ # bastille stop random-jail
[random-jail]:
random-jail: removed
root@bastille-host:/ # vi /usr/local/bastille/jails/random-jail/fstab
root@bastille-host:/usr/local/bastille/jails/random-jail # bastille start random-jail
[random-jail]:
random-jail: created
root@bastille-host:/usr/local/bastille/jails/random-jail #
root@bastille-host:/ # bastille list
JID Name Boot Prio State Type IP Address Published Ports Release Tags
1 random-jail on 99 Up thin 192.168.27.10 - 15.0-RELEASE -
root@bastille-host:/ # bastille console random-jail
[random-jail]:
root@random-jail:~ # pkg update
ld-elf.so.1: Shared object "libutil.so.9" not found, required by "pkg"
root@random-jail:~ # pkg-static bootstrap
pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
pkg(8) already installed, use -f to force.
root@random-jail:~ # pkg-static bootstrap -f
pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
pkg(8) is already installed. Forcing reinstallation through pkg(7).
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
[random-jail] Installing pkg-2.4.2...
package pkg is already installed, forced install
[random-jail] Extracting pkg-2.4.2: 100%
Then out with the old base:
root@bastille-host:/usr/local/bastille/jails # bastille destroy 14.3-RELEASE
Attempting to destroy release: 14.3-RELEASE
Deleting release base...