Page MenuHomeFreeBSD

freebsd-update: for rollback, first create directories
ClosedPublic

Authored by emaste on Sep 29 2023, 3:34 PM.
Tags
None
Referenced Files
F174847150: D42020.diff
Tue, Oct 6, 11:56 AM
Unknown Object (File)
Sat, Oct 3, 2:26 PM
Unknown Object (File)
Thu, Oct 1, 6:55 AM
Unknown Object (File)
Tue, Sep 29, 8:00 AM
Unknown Object (File)
Fri, Sep 25, 9:14 PM
Unknown Object (File)
Wed, Sep 23, 7:29 PM
Unknown Object (File)
Fri, Sep 18, 8:29 PM
Unknown Object (File)
Fri, Sep 11, 8:07 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