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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 18 Oct 2023 14:54:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273950

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit 6b27e1f2eaab9360a796c943da9d206515e1742b
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-09-29 15:28:35 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-10-18 14:52:59 +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

 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.