[Bug 239066] sysutils/qjail: option install -f does not work on STABLE version

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 10 06:01:21 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239066

--- Comment #3 from Igor Konov <montblanc at mail.ru> ---
~~~
# qjail install
Error: The Host is running a STABLE version.
Manually fetch distribution base.txz file from snapshot
FTP directory. Use option -f to create a clean qjail system.
If you compiled your OS from source, most likly it's
revision number is out of sync with the snapshot version.
To update the qjail system to use the same OS revision number
as what's running on the host.
Issue 'qjail update -b' command to clone the host's running libs
to the sharedfs directory tree.
~~~

The script says that you need to manually fetch base.txz and use the -f option.

~~~
# fetch
https://download.freebsd.org/ftp/snapshots/arm64/aarch64/12.0-STABLE/base.txz
base.txz                                               135 MB 1558 kBps 01m29s
# qjail install -f .
Error: The Host is running a STABLE version.
Manually fetch distribution base.txz file from snapshot
FTP directory. Use option -f to create a clean qjail system.
If you compiled your OS from source, most likly it's
revision number is out of sync with the snapshot version.
To update the qjail system to use the same OS revision number
as what's running on the host.
Issue 'qjail update -b' command to clone the host's running libs
to the sharedfs directory tree.
~~~

When using the patched script:

~~~
# qjail.patched install -f .
The RELEASE distribution files are populating template.
Estimated less than 1 minute for this to complete.

sharedfs is being populated.
Estimated less than 1 minute for this to complete.

Successfully installed qjail system.
~~~


1. The host uses the
FreeBSD-12.0-STABLE-arm64-aarch64-RPI3-20190705-r349749.img.xz image. Jail also
uses base.txz revision r349749.

2. The patch adds the ability to use the STABLE and CURRENT versions for
experiments.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list