On Monday, 17 April 2023 20:28:01 BST Mark Knecht wrote: > On Mon, Apr 17, 2023 at 11:26 AM Walter Dnes <waltd...@waltdnes.org> wrote: > > Now that the (no)multilib problem in my latest update has been solved, > > > > I have a somewhat minor complaint. Can I get etc-update to skip certain > > files? My latest emerge world wanted to "update"... > > > > 1) /etc/hosts (1) > > 2) /etc/inittab (1) > > 3) /etc/mtab (1) > > 4) /etc/conf.d/consolefont (1) > > 5) /etc/conf.d/hwclock (1) > > 6) /etc/default/grub (1) > > 7) /etc/ssh/sshd_config (1) > > > > ...hosts is critical for networking. consolefont allows me tp use the > > true text console with a readable font, etc, etc. I have my reasons > > for making certain settings, and keeping them that way. > > In my experience with all distros I go outside the distro for this > sort of issue. Put a copy somewhere, white a little script that > does a diff on the files you feel are important enough and run > a cron job hourly that looks for any differences. > > HTH, > Mark
The emerge specific solution is to set the list in your CONFIG_PROTECT variable in /etc/make.conf, as per the example provided here: https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/EnvVar