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)
Sat, May 4, 1:16 PM
Unknown Object (File)
Tue, Apr 30, 8:23 PM
Unknown Object (File)
Fri, Apr 26, 1:52 AM
Unknown Object (File)
Thu, Apr 25, 11:19 PM
Unknown Object (File)
Thu, Apr 25, 11:19 PM
Unknown Object (File)
Thu, Apr 25, 2:31 PM
Unknown Object (File)
Thu, Apr 25, 8:44 AM
Unknown Object (File)
Sun, Apr 14, 5:33 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