First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 24158
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Robin Johnson <robbat2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stefan Sarzio <salze@amessage.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 24158 depends on: Show dependency tree
Show dependency graph
Bug 24158 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-07-09 05:21 0000
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"

------- Comment #1 From Martin Holzer (RETIRED) 2003-07-09 08:52:17 0000 -------
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

------- Comment #2 From Stefan Sarzio 2003-07-10 00:28:40 0000 -------
Since it's not been me (the user) who added the
"/var/spool/amanda/.amandahosts"...how can it be my fault?? :-(

------- Comment #3 From Robin Johnson 2003-07-10 14:24:51 0000 -------
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.


First Last Prev Next    No search results available      Search page      Enter new bug