[Bug 254367] etcupdate status should exit with rc != 0 whenever there is one or more conflicts
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 22 19:22:28 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254367
--- Comment #2 from John Baldwin <jhb at FreeBSD.org> ---
Hmm, this sounds like a good idea.
In regards to 'etcupdate status -p', what would that do? 'etcupdate status'
already reports any status after 'etcupdate -p' as there is a single, shared
conflicts/ tree, and a shared warnings file, so a bare 'etcupdate status' after
'etcupdate -p' should report the right status to permit, for example:
etcupdate -p
while ! etcupdate status; do
etcupdate resolve -p
done
etcupdate
while ! etcupdate status; do
etcupdate resolve
done
One question is what should etcupdate status report if there are no conflicts
but there are warnings (warnings can be for things like needed post-install
actions that can't be performed in a chroot)? These potentially still require
user intervention.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list