s. actual vs. expected results Problem occured with 2.4.4-r1, but I suspect all versions have the same problem Reproducible: Always Steps to Reproduce: 1. emerge --update amanda 2. 3. Actual Results: /var/spool/amanda/.amandahosts is overwritten Expected Results: should IMHO be "covered" by etc-update (meaning: the corresponding philosophy of protected config files) Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-openmosix-r4 i686 AMD-K7(tm) Processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.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 /var/bind /usr/X11R6/lib/X11/xkb /var/spool/amanda/.amandahosts" 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 3dnow libg++ mikmod berkdb slang esd vdr_vfat mmx apm -pcmcia pnp nls readline -trusted -cdr -cups snmp slp -mozilla -X -motif -dga -opengl -xv -gpm -kde -qt -qtmt -arts gtk -gtk2 -gnome -gb -bonobo -libwww libgda -gtkhtml -tcltk ncurses sdl svga imlib lcms gif wmf jpeg png tiff gd avi oggvorbis mpeg quicktime -alsa oss dvd -xmms ggz pam ssl -crypt -imap -maildir -mbox tcpd -spell -truetype -xml -xml2 -pdflib -java -jikes python perl -gdbm -doc -odbc mysql -innodb zlib -galeon -openoffice encode -samba apache apache2 php mod_php mod_ssl -plotutils" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon -O3 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j6" AUTOCLEAN="yes" SYNC="rsync://rsync.salze.net/gentoo-x86-portage" FEATURES="sandbox buildpkg ccache userpriv usersandbox"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /var/spool/amanda/.amandahosts" CONFIG_PROTECT should contain only dirs, no files -> user error
Since it's not been me (the user) who added the "/var/spool/amanda/.amandahosts"...how can it be my fault?? :-(
My bad. I've now moved the .amandahosts file to /etc/amanda/amandahosts and put a symlink at /var/spool/amanda/.amandahosts back to it. This provides CONFIG_PROTECT without it being there explictly. I only wanted to protect a single file in /var/spool/amanda, hence I put an absolute path with a filename in previously. Fixed in CVS now.