It happened with kde 3.1.1, and then again with 3.1.1a, my /usr/kde/3.1/share/config/kdm/kdmrc gets overwritten after update (no .cfg files created) even if the dir is correctly listed in CONFIG_PROTECT, as you can see from `emerge info`. All my settings are lost. Portage 2.0.48_pre2 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz GENTOO_MIRRORS="http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://gentoo.linux.no/ ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /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="/local/portage" USE="x86 avi crypt cups gif jpeg libg++ mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline sdl gpm libwww perl python imlib oggvorbis motif mozilla cdr -3dnow alsa apm arts doc dvd encode -esd -gnome -gtk gtk2 java kde -ldap mmx mysql nptl opengl -oss pam pda qt samba sse ssl -svga -tcpd tetex X" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CXXFLAGS="-march=pentium4 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.it.gentoo.org/gentoo-portage" FEATURES="sandbox ccache userpriv usersandbox"
This looks like a portage specific bug. As a start, which portage version do you use?
nick: does CONFIG_PROTECT include subdirs ?
It happened last time with 2.0.48_pre2, but also with 2.0.47-r12 or r13 first. Another question: Is it normal that in CONFIG_PROTECT some dirs are separated by ':' and some others by spaces?
That is not correct. Colons are not legal delimiters for that.