Re: incantation for etcupdate to just blow away all old things?
- Reply: Sulev-Madis Silber : "Re: incantation for etcupdate to just blow away all old things?"
- Reply: Steve Kargl : "Re: incantation for etcupdate to just blow away all old things?"
- In reply to: Steve Kargl : "Re: incantation for etcupdate to just blow away all old things?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Sep 2025 23:39:59 UTC
> On Sep 16, 2025, at 4:35 PM, Steve Kargl <sgk@troutmask.apl.washington.edu> wrote:
>
> On Tue, Sep 16, 2025 at 04:11:17PM -0700, Dan Mahoney (Ports) wrote:
>> Hey there folks,
>>
>> In doing a bunch of updates on my 15 VM recently to get around some of the recent breakages, I haven't been fully religious about running etcupdate every time, and it's now complaining that I have some results from a prior merge.
>>
>> The man page is *long*, and we have puppet manifests to alter the few things we care about from a stock system (mostly some sshd stuff).
>>
>> Is there a simple etcupdate command that says "I don't care about fancy 3-way merges and diffs, please just blow my /etc back to stock and I'll correct it with puppet?"
>>
>
> etcupdate revert file
that seems to be for a single file:
" The revert mode is used to restore the stock versions of files. In this
mode, etcupdate installs the stock version of requested files. This mode
cannot be used to restore directories, only individual files.
"
is there a mechanism for *all* of /etc?
-Dan