From owner-freebsd-jail@freebsd.org Sun Mar 21 22:20:12 2021 Return-Path: Delivered-To: freebsd-jail@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7F4BD5AF6A4 for ; Sun, 21 Mar 2021 22:20:12 +0000 (UTC) (envelope-from ruben@verweg.com) Received: from erg.verweg.com (erg.verweg.com [IPv6:2a02:898:96::5e8e:f508]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F3XBM1tsHz4Wfh for ; Sun, 21 Mar 2021 22:20:10 +0000 (UTC) (envelope-from ruben@verweg.com) DKIM-Filter: OpenDKIM Filter v2.10.3 erg.verweg.com (unknown-jobid) Received: from [IPv6:2a10:3781:3e9:1:8810:a0fb:9ed1:741f] ([IPv6:2a10:3781:3e9:1:8810:a0fb:9ed1:741f]) (authenticated bits=0) by erg.verweg.com (8.16.1/8.15.2) with ESMTPSA id 12LMK0Ka041771 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 21 Mar 2021 22:20:00 GMT (envelope-from ruben@verweg.com) From: Ruben van Staveren Message-Id: <647CC60F-7EE4-481B-AE1C-7D8AD0E51214@verweg.com> Content-Type: multipart/signed; boundary="Apple-Mail=_39566433-032B-4359-B784-80311A390C0E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: children of ezjail managed jails Date: Sun, 21 Mar 2021 23:19:59 +0100 In-Reply-To: <5539901F-BC8D-474F-BC48-E7A855C013C8@Chaos1.DE> Cc: freebsd-jail@freebsd.org To: Axel Rau References: <5539901F-BC8D-474F-BC48-E7A855C013C8@Chaos1.DE> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F3XBM1tsHz4Wfh X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.45 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; HAS_ATTACHMENT(0.00)[]; DKIM_TRACE(0.00)[verweg.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[verweg.com,reject]; NEURAL_HAM_SHORT(-0.85)[-0.846]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a02:898:96::5e8e:f508:from]; ASN(0.00)[asn:8283, ipnet:2a02:898::/32, country:NL]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[verweg.com:s=verweg]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; SPAMHAUS_ZRD(0.00)[2a02:898:96::5e8e:f508:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-jail] X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2021 22:20:12 -0000 --Apple-Mail=_39566433-032B-4359-B784-80311A390C0E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Axel, You mean nested jails? I=E2=80=99m not sure what your use case is, but it is no longer possible = to give ip addresses to those. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231773#c6 = Before the that change I used to have ezjails managed inside ezjails. I = did not try the VIMAGE approach though Best regards, Ruben > On 18 Mar 2021, at 11:27, Axel Rau wrote: >=20 > Hi all, >=20 > is it possible to create children of jails, managed by ezjail, which = are also managed by ezjail? > Can the basejail of the parent be used for that? > Can I just set children.max and ezjail_jaildir ? >=20 > I just need the children to install different versions of some = packages. > I did not succeed with pkg install -r because of missing environment = for pkg. >=20 > All help appreciated, > Axel > --- > PGP-Key: CDE74120 =E2=98=80 computing @ chaos claudius >=20 --Apple-Mail=_39566433-032B-4359-B784-80311A390C0E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBAgAdFiEEJ5YXTZtFY5bgSLwXiG9r7NR3qT8FAmBXxo8ACgkQiG9r7NR3 qT/LcQ/9Hhca19bqTDxLRkIcv2LGvnPMrQncwVeX9peKUPxGWarU/vhjCzO9BvPH Pl/lJLmiWBKobOh1jIJD3YAlR18CBxqpepYdB1FI4VHN+GxwOQI0WO2bLeD0l7lq Q9YtUMlutm7iYBNP2POkMZgWbdaMjgXuGGAXHtw+DTgZs3GnEXT+5Oqc5cFnmaLb nb+JlqbYrzFA916WmH/T38H6/0IRAXBkf0W4vTP16XB8mD8Sik2nJiCP67LiRZJE GpNkOIJX2oJR59yLtMo0ieDFlT8pWCt5uMq+/PQqyEon7cgo2wNwZi78PVy3PPdG 3Q41uwRbMDeaBaW51Q15xczDyr0/ifs3bFWaWl/2m6H/vvEZBcQcJfJi9VU3AB5E sDVkw8V9Q5/Zm5heQzdXf87R6PwBiyi6Nd6m3KdnjBjq7DKMWI6+gpYm3FsykNbt bI0thDf8GUpmQCY67Apcg3yQ2GaVZHfpMxuk6Oi2+VDRpx0qVv73bRYyqjgMoe2b lau+Y8FBTD6KpvMrR10m5b5Zw0HrfSfZ8r3/wMAOl6AN7FKwrxBZiPvHi4rVkVD3 BX/1x4XMLH833SrHCMNhY6aInOIA9TPaAGAh3PUUzZMVqwLEDlLkPurLBBdi7b1O NfQ5fKx6Bq2GgkO4i8yNo9zzjuFm10qXC0bPW/x9hkyJdGSL4jU= =LtIH -----END PGP SIGNATURE----- --Apple-Mail=_39566433-032B-4359-B784-80311A390C0E-- From owner-freebsd-jail@freebsd.org Tue Mar 23 20:36:19 2021 Return-Path: Delivered-To: freebsd-jail@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A56925BB167 for ; Tue, 23 Mar 2021 20:36:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F4jnb46M2z3vxl for ; Tue, 23 Mar 2021 20:36:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8D1C05BB42C; Tue, 23 Mar 2021 20:36:19 +0000 (UTC) Delivered-To: jail@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8CE615BB334 for ; Tue, 23 Mar 2021 20:36:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F4jnb3WcFz3wBY for ; Tue, 23 Mar 2021 20:36:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6C0282746D for ; Tue, 23 Mar 2021 20:36:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12NKaJXS046230 for ; Tue, 23 Mar 2021 20:36:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12NKaJZB046229 for jail@FreeBSD.org; Tue, 23 Mar 2021 20:36:19 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: jail@FreeBSD.org Subject: [Bug 253435] Jail does not create tunnel (wireguard) interface alias. Date: Tue, 23 Mar 2021 20:36:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: decke@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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-jail@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 20:36:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253435 Bernhard Froehlich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |decke@FreeBSD.org --- Comment #4 from Bernhard Froehlich --- This should be a lot more flexible now with the new wireguard kernel module. Could you please repeat the tests with net/wireguard-kmod? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-jail@freebsd.org Tue Mar 23 21:40:56 2021 Return-Path: Delivered-To: freebsd-jail@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9E7655BD43F for ; Tue, 23 Mar 2021 21:40:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F4lD82vGsz4W69 for ; Tue, 23 Mar 2021 21:40:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 57D865BD43E; Tue, 23 Mar 2021 21:40:56 +0000 (UTC) Delivered-To: jail@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 579C65BD4A4 for ; Tue, 23 Mar 2021 21:40:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F4lD8038hz4W4C for ; Tue, 23 Mar 2021 21:40:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BCD7068B for ; Tue, 23 Mar 2021 21:40:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12NLetL8075645 for ; Tue, 23 Mar 2021 21:40:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12NLetlL075644 for jail@FreeBSD.org; Tue, 23 Mar 2021 21:40:55 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: jail@FreeBSD.org Subject: [Bug 253435] Jail does not create tunnel (wireguard) interface alias. Date: Tue, 23 Mar 2021 21:40:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: robert.david.public@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: 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-jail@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 21:40:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253435 --- Comment #5 from Robert David --- (In reply to Bernhard Froehlich from comment #4) I'm in process of testing NanoPI NEO3 with FreeBSD13, so I plan to test thi= s as soon as the the wireguard package 1.0.20210315 is available (not sure why o= nly the aarch64 does not have this package updated). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-jail@freebsd.org Fri Mar 26 09:28:19 2021 Return-Path: Delivered-To: freebsd-jail@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 432C95B8AFF; Fri, 26 Mar 2021 09:28:19 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (mail.foucry.net [IPv6:2a01:4f9:4a:1fd8::17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6GqQ2f54z4RVt; Fri, 26 Mar 2021 09:28:18 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (unknown [192.168.12.17]) by mail.foucry.net (Postfix) with ESMTP id 6168B83CC; Fri, 26 Mar 2021 09:28:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at foucry.net Received: from mail.foucry.net ([192.168.12.17]) by mail.foucry.net (mail.foucry.net [192.168.12.17]) (amavisd-new, port 10024) with ESMTP id YSqLeaBhtuhT; Fri, 26 Mar 2021 09:28:08 +0000 (UTC) Received: by mail.foucry.net (Postfix, from userid 58) id 787648693; Fri, 26 Mar 2021 09:28:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=foucry.net; s=dkim; t=1616750888; bh=HFJmkkbmtqD7hh/GeVKTThQyioQuRrmwtaze1bImOhI=; h=Date:From:To:Subject; b=gXwepqffW+XYnjS87iSNU8wnMFNvLEo1XbBBYwD1a/tzRQR8C7RIcoUEge0z09DCY /a2dS70IZdXf8rd2iRyfodhzPxXTdBNzzSVH7wzzP++DLLYaYxcZw90BOzs4yoiroh shH4BMpz3s0p1hUkMQXGfFGK0ZQJsw/8wzJRiIF4= Received: from mithril.foucry.net (lfbn-dij-1-1138-109.w90-125.abo.wanadoo.fr [90.125.86.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.foucry.net (Postfix) with ESMTPSA id 399C78027; Fri, 26 Mar 2021 09:28:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=foucry.net; s=dkim; t=1616750886; bh=HFJmkkbmtqD7hh/GeVKTThQyioQuRrmwtaze1bImOhI=; h=Date:From:To:Subject; b=qBVw1bvTzlR1seLLDS6sffzVSHLySqPJaf5NUeiRAYQMlqe8ICYRUPZWzK94G5yVv ITlzUogjdyEuZHl4pbATNttZejwE2AQfwiGZ3GeLLRlCWO9mMF+jU0ilGzfNPwIX91 1EqocwDQTv1Sd3mfQ1AHoi9UmNn261OfEztfkVek= Received: from mithril.foucry.net (localhost [IPv6:::1]) by mithril.foucry.net (Postfix) with ESMTPS id 8B8EA68128; Fri, 26 Mar 2021 10:28:05 +0100 (CET) Date: Fri, 26 Mar 2021 10:28:04 +0100 From: Jacques Foucry To: freebsd-questions@freebsd.org, freebsd-jail@freebsd.org Subject: Move jails hard way to iocage Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org, freebsd-jail@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD X-Rspamd-Queue-Id: 4F6GqQ2f54z4RVt X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=foucry.net header.s=dkim header.b=gXwepqff; dkim=pass header.d=foucry.net header.s=dkim header.b=qBVw1bvT; dmarc=pass (policy=none) header.from=foucry.net; spf=pass (mx1.freebsd.org: domain of jacques@foucry.net designates 2a01:4f9:4a:1fd8::17 as permitted sender) smtp.mailfrom=jacques@foucry.net X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:4f9:4a:1fd8::17:from]; RCVD_COUNT_FIVE(0.00)[6]; R_DKIM_ALLOW(-0.20)[foucry.net:s=dkim]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[2a01:4f9:4a:1fd8::17:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[foucry.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[foucry.net,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f9::/32, country:DE]; TAGGED_FROM(0.00)[freebsd]; MAILMAN_DEST(0.00)[freebsd-jail,freebsd-questions] X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2021 09:28:19 -0000 Hello Friends, I run many jails, configured in the "hard way" (ie `/etc/jail.conf` file) and I would like to move them into iocage. I can't find any help on the Internet (may be I did search corretly). Did some own have a pointer or a how-to? Thanks in advance for your time and advises, -- Jacques Foucry From owner-freebsd-jail@freebsd.org Fri Mar 26 14:16:33 2021 Return-Path: Delivered-To: freebsd-jail@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F3E5057879B; Fri, 26 Mar 2021 14:16:32 +0000 (UTC) (envelope-from SRS0=Dvmc=IY=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6PCz5LXlz4kVb; Fri, 26 Mar 2021 14:16:31 +0000 (UTC) (envelope-from SRS0=Dvmc=IY=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 9B3A828423; Fri, 26 Mar 2021 15:16:28 +0100 (CET) Received: from illbsd.quip.test (ip-94-113-69-69.net.upcbroadband.cz [94.113.69.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id B81402840C; Fri, 26 Mar 2021 15:16:27 +0100 (CET) Subject: Re: Move jails hard way to iocage To: freebsd-questions@freebsd.org, freebsd-jail@freebsd.org References: From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <0f5e72db-2a1a-55d3-29c7-8750273de4ca@quip.cz> Date: Fri, 26 Mar 2021 15:16:27 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F6PCz5LXlz4kVb X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=Dvmc=IY=quip.cz=000.fbsd@elsa.codelab.cz has no SPF policy when checking 94.124.105.4) smtp.mailfrom=SRS0=Dvmc=IY=quip.cz=000.fbsd@elsa.codelab.cz X-Spamd-Result: default: False [-1.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[94.124.105.4:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[quip.cz]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[94.124.105.4:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=Dvmc=IY=quip.cz=000.fbsd@elsa.codelab.cz]; RECEIVED_SPAMHAUS_PBL(0.00)[94.113.69.69:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=Dvmc=IY=quip.cz=000.fbsd@elsa.codelab.cz]; MAILMAN_DEST(0.00)[freebsd-jail,freebsd-questions] X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2021 14:16:33 -0000 On 26/03/2021 10:28, Jacques Foucry wrote: > Hello Friends, > > I run many jails, configured in the "hard way" (ie `/etc/jail.conf` file) and > I would like to move them into iocage. > > I can't find any help on the Internet (may be I did search corretly). > > Did some own have a pointer or a how-to? I am not using iocage but it should not be hard. I guess you can create jails with names and setting you want (not start them) and then move (rename) ZFS filesystems if they are used in your current setup. Or just move files with rsync from old jail to new jail. What will be better for your setup. Miroslav Lachman From owner-freebsd-jail@freebsd.org Fri Mar 26 15:31:06 2021 Return-Path: Delivered-To: freebsd-jail@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 92315579DF7 for ; Fri, 26 Mar 2021 15:31:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F6Qt23ZKMz4pPw for ; Fri, 26 Mar 2021 15:31:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 78D3057A196; Fri, 26 Mar 2021 15:31:06 +0000 (UTC) Delivered-To: jail@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 789A357A20C for ; Fri, 26 Mar 2021 15:31:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6Qt22w1lz4pMt for ; Fri, 26 Mar 2021 15:31:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 570661C812 for ; Fri, 26 Mar 2021 15:31:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12QFV6Ra043574 for ; Fri, 26 Mar 2021 15:31:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12QFV65A043573 for jail@FreeBSD.org; Fri, 26 Mar 2021 15:31:06 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: jail@FreeBSD.org Subject: [Bug 252334] Regression for running jails with fibs Date: Fri, 26 Mar 2021 15:31:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@fizz.buzz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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-jail@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2021 15:31:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252334 Tom changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Closed |New Resolution|FIXED |--- --- Comment #2 from Tom --- I'm sorry, I was mistaken. This is still happening on the latest HEAD. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-jail@freebsd.org Sat Mar 27 08:28:39 2021 Return-Path: Delivered-To: freebsd-jail@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EF3CD5BD10C; Sat, 27 Mar 2021 08:28:39 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (mail.foucry.net [IPv6:2a01:4f9:4a:1fd8::17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6sS65p4Mz4tFw; Sat, 27 Mar 2021 08:28:38 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (unknown [192.168.12.17]) by mail.foucry.net (Postfix) with ESMTP id 081D793A4; Sat, 27 Mar 2021 08:28:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at foucry.net Received: from mail.foucry.net ([192.168.12.17]) by mail.foucry.net (mail.foucry.net [192.168.12.17]) (amavisd-new, port 10024) with ESMTP id fI5pY8yUK_p8; Sat, 27 Mar 2021 08:28:35 +0000 (UTC) Received: by mail.foucry.net (Postfix, from userid 58) id 56096904D; Sat, 27 Mar 2021 08:28:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=foucry.net; s=dkim; t=1616833715; bh=idcbRhMjODr8ZH7X0WfHNCWlAqqqDbiI3m1LyGQ8bMY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=MhgfUVNQinG4I03CZOwT6IeZZW5ItMJ2ACUgGsNfhO8d/Y74+UbVVrVij55IdpzPV n4IlolUiJQ1+IywSV/h3JGW7oBt5CSt6bloSfx9a4bIE7fuxmGSPFaMsgmtI5w00WI bsWhv5C75aTUXJfnWPN30NNo+ndqNSzQZfLGC4+M= Received: from mithril.foucry.net (unknown [IPv6:2a01:cb10:8e64:fe00:ea6a:64ff:fe07:95a1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.foucry.net (Postfix) with ESMTPSA id 1A0A7962D; Sat, 27 Mar 2021 08:28:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=foucry.net; s=dkim; t=1616833713; bh=idcbRhMjODr8ZH7X0WfHNCWlAqqqDbiI3m1LyGQ8bMY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=clk045IXyGmub80kkOVUjiJXR5v9a+LJZHli5C96pyGedV0HggPsfCHYGlEoGNh4t ut5G3PXncpZFC/a4kln9eyRr85lYizhHQ6QLesJss/pOrtwg4fMx56ka3XzThQF7/f O2dGCrAUcKoNY7XQjeFsexazZfSAm9rTmJw/k2bk= Received: from mithril.foucry.net (localhost [IPv6:::1]) by mithril.foucry.net (Postfix) with ESMTPS id C31856898E; Sat, 27 Mar 2021 09:28:32 +0100 (CET) Date: Sat, 27 Mar 2021 09:28:31 +0100 From: Jacques Foucry To: Miroslav Lachman <000.fbsd@quip.cz> Cc: freebsd-questions@freebsd.org, freebsd-jail@freebsd.org Subject: Re: Move jails hard way to iocage Message-ID: Mail-Followup-To: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-questions@freebsd.org, freebsd-jail@freebsd.org References: <0f5e72db-2a1a-55d3-29c7-8750273de4ca@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0f5e72db-2a1a-55d3-29c7-8750273de4ca@quip.cz> X-Operating-System: FreeBSD X-Rspamd-Queue-Id: 4F6sS65p4Mz4tFw X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=foucry.net header.s=dkim header.b=MhgfUVNQ; dkim=pass header.d=foucry.net header.s=dkim header.b=clk045IX; dmarc=pass (policy=none) header.from=foucry.net; spf=pass (mx1.freebsd.org: domain of jacques@foucry.net designates 2a01:4f9:4a:1fd8::17 as permitted sender) smtp.mailfrom=jacques@foucry.net X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[foucry.net:s=dkim]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:4f9:4a:1fd8::17:from]; SPAMHAUS_ZRD(0.00)[2a01:4f9:4a:1fd8::17:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[foucry.net:+]; DMARC_POLICY_ALLOW(-0.50)[foucry.net,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f9::/32, country:DE]; TAGGED_FROM(0.00)[freebsd]; MAILMAN_DEST(0.00)[freebsd-jail,freebsd-questions] X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2021 08:28:40 -0000 Le vendredi 26 mars 2021 à 15:16:27 (+0100), Miroslav Lachman à écrit: > On 26/03/2021 10:28, Jacques Foucry wrote: > > Hello Friends, > > > > I run many jails, configured in the "hard way" (ie `/etc/jail.conf` file) and > > I would like to move them into iocage. > > > > I can't find any help on the Internet (may be I did search corretly). > > > > Did some own have a pointer or a how-to? > > I am not using iocage but it should not be hard. I guess you can create > jails with names and setting you want (not start them) and then move > (rename) ZFS filesystems if they are used in your current setup. Or just > move files with rsync from old jail to new jail. What will be better for > your setup. That's the way Dan Langille use in https://dan.langille.org/2019/04/08/converting-thin-jails-to-thick-jails/, and I will use this experience for moving my jail.conf Thanks for your answer and your time -- Jacques Foucry