From nobody Wed Jan 03 15:22:39 2024 X-Original-To: bugs@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 4T4tkm0sjcz5666H for ; Wed, 3 Jan 2024 15:22:40 +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 4T4tkl5grZz4Xmh for ; Wed, 3 Jan 2024 15:22:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704295359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+YoevnQxrn8B49uDlIobBUCEhVzbgPfwNdynPIcbO5k=; b=mPLLyPFhG6bzOJ1nH1205lUAnI/mJ1usq0p6kehQq/hty6nMXJ/ek1itCAvOfW7AdI88Fg gpUJeT/DsRhaRNJwmDaWsVmVxuljyFBxft4Lf5W72gdP0J1kUkIn/pRjFgooMqy1vwzCIl 4+WNXmdWX2KE9tdCN+gvJ2E3mQvDONtqtiWGPVqPw2HHcbWvQzqB+XPlgu5hcHK/WPCrU3 IpFZn9DHxr6e1nX3CdylVAP+fxQ8shWB+lt0C6fQSZoNNwLHKybozj19ljWA0Nx0CX3FzZ VeiO8/Z/UKl3tVuLrPrVsadkyrz198urEHJQBJxXGYvUbe/9UOeAEoaPYH4VrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704295359; a=rsa-sha256; cv=none; b=KarlQjkfynpuMPoOifwUIkfJ8XJVMYrkCCE7muctD5tnE/zP1r5avoO+fxWRxo6tBTNa/O gSOvO3pxq03XIP/J5d7FDBF4hUrQ5kCKcwhUiopai4TxJ4OKiODH52fXLslG9n6NGh6k9W BhU7ngTwuu1nD9Yiow6fbxe29OQhdI5TmcmyV/QMerNY67tUY2cU/bvQRcX9rcyEhMd+Eb RwwIDBLr1L8hizX3bKbMFKSkhmTQS/27HJvlj4fbZch2O18n9d057bT2Uga/++aPfMS1hm g5i6RSQiF70RzTRLEXIoyLlGkK6ueB7JtWLdCagUXtLrp7KdqRtCxhKaWVJRsw== 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 4T4tkl4mg1zqt7 for ; Wed, 3 Jan 2024 15:22:39 +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 403FMd5P013085 for ; Wed, 3 Jan 2024 15:22:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 403FMds2013084 for bugs@FreeBSD.org; Wed, 3 Jan 2024 15:22:39 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: bugs@FreeBSD.org Subject: [Bug 209628] freebsd-update upgrade broken in jail Date: Wed, 03 Jan 2024 15:22:39 +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: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: leif@ofWilsonCreek.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209628 --- Comment #5 from Leif Pedersen --- I guess I don't see the point of examining sysctl or branching differently = when in a jail. There's actually no need for `freebsd-update` to be aware of jai= ls at all, nor be aware of the currently running kernel. The whole point of `freebsd-version` is to indicate what is currently installed, be it in a ja= il or not, which is exactly what `freebsd-update` needs. The command `UNAME_r=3D$(freebsd-version) freebsd-update` works in all case= s I'm aware of. `freebsd-update` just needs to be changed to default to it. --=20 You are receiving this mail because: You are the assignee for the bug.=