[Bug 273950] freebsd-update rollback (from 14.0-BETA2 back to 13.2) fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Jan 2024 21:26:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273950

--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=ec5e6781b3a1a3216535bc9aeedd746449cee6e6

commit ec5e6781b3a1a3216535bc9aeedd746449cee6e6
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-09-29 15:28:35 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-01-07 20:41:48 +0000

    freebsd-update: for rollback, first create directories

    rollback_files() tried to install files before creating the directories
    for those files.  In some cases this is due to special handling to
    install certain classes of files earlier than others.

    Just create all directories up front when performing rollback.

    PR:             273950
    Reviewed by:    dim
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D42020

    (cherry picked from commit 6b27e1f2eaab9360a796c943da9d206515e1742b)
    (cherry picked from commit 2b79df0ad999df4bc22ed0e1eff446efa4055359)

 usr.sbin/freebsd-update/freebsd-update.sh | 5 +++++
 1 file changed, 5 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.