From nobody Fri Jan 28 10:30:32 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 E2C53197AF68 for ; Fri, 28 Jan 2022 10:30:42 +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 4JlYdF6WFGz3rNJ for ; Fri, 28 Jan 2022 10:30:41 +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 3B2F11D4FC1B for ; Fri, 28 Jan 2022 11:30:35 +0100 (CET) Date: Fri, 28 Jan 2022 11:30:32 +0100 From: Julien Cigar To: questions@freebsd.org Subject: freebsd-update jail Message-ID: <20220128103032.mts7xrgy3k5ghbgo@x1> Mail-Followup-To: questions@freebsd.org 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="rjhsrva3mvj5gile" Content-Disposition: inline X-Rspamd-Queue-Id: 4JlYdF6WFGz3rNJ 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]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; 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 --rjhsrva3mvj5gile Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I was wondering what is the best way to upgrade a jail nowadays? I usually use: $> freebsd-update -b /jails/myjail -d /jails/myjail/var/db/freebsd-update/ = -f /jails/myjail/etc/freebsd-update.conf -r new-RELEASE --currently-running= old-RELEASE upgrade 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) so could I used something like: $> freebsd-update -j myjail -r new-RELEASE -d /jails/myjail/var/db/freebsd-= update/ -f /jails/myjail/etc/freebsd-update.conf upgrade ? (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) Thanks! Julien --=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. --rjhsrva3mvj5gile Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmHzxcUACgkQCLYqJMpB HmlHMQ/+NRiSsGTNiR4Pvb0FWUbtBTJ00jFby8WjPZ1I7n4q32HMpmQQgBv83Ikv nw3U0ARRVAWQJWsKJcYnD4e13EfOPN+yA4ggodi7Vld36IcFECFP9vAZfCeb5ve3 qz2UztcakifbqXurStIuI7x57gZN2CxJIX/QILVv50DLSPiVxS8x9/U4H1JV2FKQ Bn0pBshXpdcQW/LzFScGBkmqqn3ONGmQ85/roq664QK7tGn0VNfBab1mj4lQH0MV iBTv1LClecAYAZEKPvateKcrinH1/v6S0mM8gqHBRzHePjRsrzlM+k/HtB8T6n1R 6PwxN+1uAuQYtQ13UeC2rxFmckHd4bgZaOFT8ov1ULMy/EKkjXlrVR66/WgqfE3g 6T2vRdlK5g5HMtdwX9ET+bfzP2QMkMFSv8lxRGcdoTl1lxEzmaRzhitKgSn7f46U lUkdLxiF+NZoVENzDv01lqLw1309o/cQuIfPgxASv+YtBFjSKfUqwAVDPnddjsYd FI/0PCxqvaWGP3ikFivMIgWTM96vZr1h+o47ov1WwSJ51lLkSD9cnJ4iVoZtvdmP vuNlHSatEKoe1BPPJiAKlN2ez3I/1iub9xj0YeF/flsMixEy6Y8BPJ9J1vMojrtB KXIqg88IomByRWusy8cbgtfynQxY9P0oH50rINUWJc4PbKZvG8w= =4fD0 -----END PGP SIGNATURE----- --rjhsrva3mvj5gile--