Hello! First of all, thank you for giving us Gentoo... I'm a new person now... ;-) But! I really miss an option in etc-update to delete all new config files (might be accompanied be a warning). Most of the time, for example when updating Apache, PHP, or Portage, I don't want to overwrite my configs, as those can be difficult to reproduce. I am not certain that this is the right category for such a request, but feel free to move it somewhere more appropriate. - Simon Reproducible: Always Steps to Reproduce: 1. Emerge Apache 2. Configure it 3. Emerge it again 4. Realize that etc-update wants to overwrite your precious configs! Actual Results: I filed a feature request... Expected Results: Let me delete the new configs instead of making me create a mess messing around with messy shell scripts... I don't think you're really going to need this, but whatever... Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gaming-r3 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl cdr acl acpi acpi4linux apache2 artswrappersuid dvd fbcon flash gd gnomedb gtk2 gtkhtml ipv6 libgda pic plotutils pnp samba sasl smooth usb vim-with-x wmf xml xosd" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon -mcpu=athlon -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" CXXFLAGS="-march=athlon -mcpu=athlon -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
umm....you can do this: cd /etc && rm -rf ._cfg* and that will delete all the new config files.
Not good enough... Actually, etc-update has the CONFIG_PROTECT directories hardcoded, it seems. It didn't offer to "update" my /var/bind/named.ca find $CONFIG_PROTECT -name '._cfg*' -exec rm -fv {} \;
Not going to add delete-all. etc-update uses the follow for the protected and masked dirs: /usr/lib/portage/bin/portageq config_protect /usr/lib/portage/bin/portageq config_protect_mask