From nobody Fri Jan 28 11:07:54 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 76C8019940B7 for ; Fri, 28 Jan 2022 11:07:58 +0000 (UTC) (envelope-from SRS0=l6OR=SM=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4JlZSF3VwWz4f1d for ; Fri, 28 Jan 2022 11:07:57 +0000 (UTC) (envelope-from SRS0=l6OR=SM=perdition.city=julien@bebif.be) Received: from x1 (unknown [10.209.1.149]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id E18E71D4FC10 for ; Fri, 28 Jan 2022 12:07:56 +0100 (CET) Date: Fri, 28 Jan 2022 12:07:54 +0100 From: Julien Cigar To: questions@freebsd.org Subject: Re: freebsd-update jail Message-ID: <20220128110754.znqx2z2ciw4hi4xo@x1> Mail-Followup-To: questions@freebsd.org References: <20220128103032.mts7xrgy3k5ghbgo@x1> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="e64lqh763vwxfw7v" Content-Disposition: inline In-Reply-To: <20220128103032.mts7xrgy3k5ghbgo@x1> X-Rspamd-Queue-Id: 4JlZSF3VwWz4f1d X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of "SRS0=l6OR=SM=perdition.city=julien@bebif.be" designates 193.191.208.90 as permitted sender) smtp.mailfrom="SRS0=l6OR=SM=perdition.city=julien@bebif.be" X-Spamd-Result: default: False [-2.50 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; DMARC_NA(0.00)[perdition.city]; MLMMJ_DEST(0.00)[questions]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=l6OR=SM=perdition.city=julien@bebif.be]; RCVD_NO_TLS_LAST(0.10)[]; SIGNED_PGP(-2.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=l6OR=SM=perdition.city=julien@bebif.be]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --e64lqh763vwxfw7v Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I was also wondering why does (12.3) freebsd-update creates a new boot environment when updating a jail? On Fri, Jan 28, 2022 at 11:30:32AM +0100, Julien Cigar wrote: > Hello, >=20 > I was wondering what is the best way to upgrade a jail nowadays? >=20 > I usually use: >=20 > $> freebsd-update -b /jails/myjail -d /jails/myjail/var/db/freebsd-update= / -f /jails/myjail/etc/freebsd-update.conf -r new-RELEASE --currently-runni= ng old-RELEASE upgrade >=20 > but I was wondering if, with the newly "-j" option, "-b" is still > necessary? (from what I can understand in the source code it is not) >=20 > so could I used something like: >=20 > $> freebsd-update -j myjail -r new-RELEASE -d /jails/myjail/var/db/freebs= d-update/ -f /jails/myjail/etc/freebsd-update.conf upgrade ? >=20 > (I usually use -f as the Components aren't the same in the jail as in > the HOST, for example kernel is not installed, nor src) >=20 > Thanks! >=20 > Julien >=20 >=20 > --=20 > Julien Cigar > Belgian Biodiversity Platform (http://www.biodiversity.be) > PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --e64lqh763vwxfw7v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmHzzoYACgkQCLYqJMpB HmlhxQ//RwK8hxFUbNZ8lQ1OTasD3p8QvLW8GfbC3g1/Z67/NZU+JslAWbKgYm9x 9vHE757kIu5tIAjMJ2kF67daSA5khMAh4Sm1n70F4sVf/FNfrXNtNDuhvA7IXGHR TIuB3gqn5bFW1eIZWei+qndNODD83YyuyCBC4Ll6APFk1kHjmCsT2E7+fzIS9uVr gjqSuOMtyh7JIenTD4LfTgiOiq/fTAbJDHJw+BdiWi/5jA4Z7eIQmL7TylYlgGYV YSUMyt3HgaUxSGW3F53YOEhEN2eKeaOueroqOuHibb21WgfONkDvoX607paYgjds YsuTMjr7y6NjdgXl6xOBXhDdt3M1RgS/jNmJ0IoS/yxsHstkff8GpPQF+5BavsUn R0ofw464CnWnJRSaNoIpVkbhaauzAR1Vn63OlieDvAEOylMTSAwkVR4wL/M92Ly1 GNkbJpZ4XXbp6f1k4lf+Bwwx0Jv5bJ6GYcHLWgAIDqTV3fHcvCtqVIrvGKLFoZN0 9O45IDAiBhKV+egMePagQMsaEv/6y9pdzP5/LVyEL/w5a93SgH8f8AJHGuuaZQC9 /o1lucQCBUWUP3JC1UT+lFSh5h9b8AyWuSXH0EY/v5iCjt8CxNEbCfT65ar4d5WF Doja7FnAFskBqmoOo7BzhJLM2bmSQiM85zceOQQ+qt/7QI9bUNs= =d3BC -----END PGP SIGNATURE----- --e64lqh763vwxfw7v--