From owner-freebsd-ports-bugs@freebsd.org Wed Jul 10 06:01:20 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD65815CB40D for ; Wed, 10 Jul 2019 06:01:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6880E7209A for ; Wed, 10 Jul 2019 06:01:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2AE9B15CB40C; Wed, 10 Jul 2019 06:01:20 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0597915CB40B for ; Wed, 10 Jul 2019 06:01:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 949DB72093 for ; Wed, 10 Jul 2019 06:01:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D6CB0DCC for ; Wed, 10 Jul 2019 06:01:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x6A61IaH047176 for ; Wed, 10 Jul 2019 06:01:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x6A61IOG047166 for ports-bugs@FreeBSD.org; Wed, 10 Jul 2019 06:01:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 239066] sysutils/qjail: option install -f does not work on STABLE version Date: Wed, 10 Jul 2019 06:01:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: montblanc@mail.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2019 06:01:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239066 --- Comment #3 from Igor Konov --- ~~~ # 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 opt= ion. ~~~ # fetch https://download.freebsd.org/ftp/snapshots/arm64/aarch64/12.0-STABLE/base.t= xz base.txz 135 MB 1558 kBps 01m= 29s # 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. --=20 You are receiving this mail because: You are the assignee for the bug.=