Date: Wed, 18 May 2022 20:51:20 +0000 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 Message-ID: <bug-264075-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264075 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 install 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 example 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 set to "world" and omit the "kernel" -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264075-227>
