Page MenuHomeFreeBSD

freebsd-update: for rollback, first create directories
ClosedPublic

Authored by emaste on Sep 29 2023, 3:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 3, 9:02 PM
Unknown Object (File)
Sun, Nov 10, 12:05 PM
Unknown Object (File)
Sep 29 2024, 1:17 AM
Unknown Object (File)
Sep 28 2024, 3:44 PM
Unknown Object (File)
Sep 27 2024, 11:20 PM
Unknown Object (File)
Sep 27 2024, 2:57 PM
Unknown Object (File)
Sep 14 2024, 4:27 PM
Unknown Object (File)
Sep 8 2024, 10:49 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.

This one looks fairly straightforward; any thoughts on it?

dim added a subscriber: dim.

It's a fairly big hammer, but it looks reasonable enough for me.

This revision is now accepted and ready to land.Oct 17 2023, 5:17 PM