On Sat, Mar 01, 2025 at 02:15:00PM +0000, Van Ly wrote: > Benny Siegert <bsieg...@gmail.com> writes: > > > With etcupdate. If you use sysupgrade, it will run etcupdate at the end. > > Is there a way to tell the update to ignore the following files? > > — /etc/passwd > — /etc/group > > I have in the file /etc/mtree/special.local: > > ./etc/group type=file mode=0644 ignore > ./etc/passwd type=file mode=0644 ignore > > but the last update step prompts to inspect those files I want to leave > unchanged.
I think you want /etc/etcupdate.conf or ~/.etcupdaterc . Have a look at the man page for etcupdate(8) and the IGNOREFILES variable. Note that if you configure etcupdate to ignore files during a system update, you'll usually want to examine those files yourself to make sure you aren't missing important features or settings. Cheers, sr.