https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260281
Bug ID: 260281
Summary: etcupdate: dry-run (-n) causes following actual run to
skip changes
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: [email protected]
Reporter: [email protected]
Doing `etcupdate -n` itself runs OK, but following `etcupdate -B` does
NOT do anything, hence nothing is actually updated.
The only workaround I have is NOT to try dry-run.
This would be caused by any commit done in april 2021 on main (MFC'ed to
stable/13 in june 2021).
It would be because the same trees are used for dry-run and actual run.
(Not looked into the code. Just a thought.)
Maybe using dedicated trees (older one is copied from actual current
one, building current tree on dedicated place and delete them every
time the dry-run finishes) for dry-run would fix.
And copying /etc to some temporary place and applying changes to it,
copy back to /etc may be help for your issue, I think.
--
You are receiving this mail because:
You are the assignee for the bug.