From nobody Wed May 18 20:51:20 2022 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 781E01AE99B3 for ; Wed, 18 May 2022 20:51:21 +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 4L3QBd1wpSz4Ttj for ; Wed, 18 May 2022 20:51:21 +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 22FB010571 for ; Wed, 18 May 2022 20:51:21 +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 24IKpLW3028622 for ; Wed, 18 May 2022 20:51:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24IKpLCG028621 for bugs@FreeBSD.org; Wed, 18 May 2022 20:51:21 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 264075] freebsd-update in 13.1-RELEASE detects an installed kernel when it shouldn't Date: Wed, 18 May 2022 20:51:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bjfilipek@gmail.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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652907081; 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; bh=C0DO6VJqzcLgbFkdDKQ9OUgBJJfebiY7l5WMyw8wDe8=; b=f65xRPdcSoqDFR8QNBXgEH17l8vbSiq9HRW67+7Vv2JgsSwvjPk6zvGqYq7fb8KP3POoXH klOxaDozsqzd44tYpDmsoI9c1JKuNpd6J9SyRns5nq+MfK/PxEz9IpXNB2jsjbpBcuFDB7 vcVDYRXaG2Y/MEfSbKCl3FvlGl/AyX9UQ7tb+Lvc+IDGnbKaCDEWpPHTVMj3+eEaDcSzrB OX/LgNK0GBcCDZK/8pJx5t7l3FnwmJQZGbHfWCcurameYldmBqNXHK8ozB1sjf5CO833f8 pBeFVA2+nQL2aXtRoRttOKE8BpDCHYNCGHXCAfTLLCGYsUm2VCzZWOc1cBWOEw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652907081; a=rsa-sha256; cv=none; b=suqY6CCNiyy1XIvvs0Xxyyp7eREqlC6Nd70jsGoTzIFajp1xLX3DiTTHewkPtfm7rAVtcP bPCe5R1UEezWJaLXnsysQjhJSJEd0hHHGcyW6UU/3GlB078glkOq8if4ny9dNJXNzoxnlj rCqxaMCpJKrpZp4eh7lrplyrTbDxYHW4TZdo1to6oK2xhTPmt9C35LnrB2onSCozo6Q2Gm RdkZ7Y8RZqFoVs7Bqz1Bazv5jGfmQ1TwPlGZ0gn0ba92Zk4EoeN4tzUJyau1Y4YQ2z4Ubl EGpSC9k39Q5KFppjyI8Wm7QqIzd9bd97KDXRt5hQex2tHbY2/WjmxsEJxHoclQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264075 Bug ID: 264075 Summary: freebsd-update in 13.1-RELEASE detects an installed kernel when it shouldn't Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: bjfilipek@gmail.com Normally when running freebsd-update on a jail using the -b switch it should not detect a kernel in that folder (because there isn't one). However, the version of freebsd-update in 13.1-RELEASE detects a kernel and wants to ins= tall files to /boot/kernel in the jail. Steps to reproduce: 1.) Install FreeBSD 13.1-RELEASE (Reproduced this on both ARM and AMD64) 2.) Create a folder and extract an older version of base.txz to it, for exa= mple the base.txz from 13.0-RELEASE 3.) freebsd-update -b /path/to/the/jail --currently-running 13.0-RELEASE -r 13.1-RELEASE 4.) freebsd-update will detect world/base as it should but also detects kernel/generic even though a kernel was not installed to the folder. This behavior did not happen on older versions of freebsd-update. 5.) Unless you don't mind it installing files to /boot/kernel in each jail,= you need to use a separate freebsd-update.conf file with the components line se= t to "world" and omit the "kernel" --=20 You are receiving this mail because: You are the assignee for the bug.=