H
hukadan
Guest
Up to now, I have always used iocage(8) with the release of the host system. Today, I wanted to try to create a jail with the 9.3-RELEASE but I ended up with a 10.2-RELEASE on the jail. To be sure I did things properly, I did the following steps.
Just to be sure.
Then I fetched the 9.3-RELEASE.
Once again to be sure.
To me, everything looked fine. So I created my jail.
Then, once in the jail, it tells me that the jail is running the 10.2-RELEASE.
To be complete, the host system is running 10.2-RELEASE-p5, I have the latest version of iocage(8) and my system was installed a month ago (so no previous iocage(8) version used before).
Does someone have the same problem ? My next step will be to nuke everything with
Thank you.
Code:
# iocage clean -r
WARNING: this will destroy all releases
Please make sure all basejails are stopped before continuing.
Are you sure ? y[N]: y
Destroying zroot/iocage/base
Destroying zroot/iocage/download
Destroying zroot/iocage/releases
Just to be sure.
Code:
# sudo iocage list -r
INFO: Creating zroot/iocage/download
INFO: Creating zroot/iocage/releases
Downloaded releases:
Then I fetched the 9.3-RELEASE.
Code:
# iocage fetch
Supported releases are:
10.2-RELEASE
9.3-RELEASE
Please select a release [10.2-RELEASE]: 9.3-RELEASE
base.txz 100% of 67 MB 1957 kBps 00m35s
doc.txz 100% of 1409 kB 1854 kBps 00m01s
lib32.txz 100% of 11 MB 2091 kBps 00m06s
src.txz 100% of 98 MB 2114 kBps 00m48s
Extracting: base.txz
Extracting: doc.txz
Extracting: lib32.txz
Extracting: src.txz
* Updating base jail..
Looking up update.FreeBSD.org mirrors... none found.
Fetching public key from update.FreeBSD.org... done.
Fetching metadata signature for 9.3-RELEASE from update.FreeBSD.org... done
>--- SNIP ---<
Installing updates... done.
Creating basejail ZFS datasets... please wait.
Once again to be sure.
Code:
# iocage list -r
Downloaded releases:
9.3-RELEASE
To me, everything looked fine. So I created my jail.
# iocage create release=9.3-RELEASE hostname=test-stuff-9.3 ip4_addr='lo1|10.0.0.60' tag=test-stuff-9.3
# iocage start test-stuff-9.3
# iocage console test-stuff-9.3
Then, once in the jail, it tells me that the jail is running the 10.2-RELEASE.
Code:
# uname -r
10.2-RELEASE
Code:
#iocage version
iocage 1.7.3 (2015/08/13)
Does someone have the same problem ? My next step will be to nuke everything with
iocage clean -a
to see if it helps but I have some jails already configured and it would be great to solve the problem without destroying them.Thank you.