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, Feb 17, 2:21 AM
Unknown Object (File)
Tue, Feb 17, 2:14 AM
Unknown Object (File)
Sun, Feb 15, 5:28 AM
Unknown Object (File)
Sat, Feb 14, 10:56 AM
Unknown Object (File)
Sun, Feb 8, 2:14 AM
Unknown Object (File)
Jan 20 2026, 1:08 AM
Unknown Object (File)
Jan 15 2026, 6:46 AM
Unknown Object (File)
Jan 14 2026, 4:16 PM
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