Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22449 - etc-update destroys /etc files
Summary: etc-update destroys /etc files
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-08 10:20 UTC by salmiakki
Modified: 2003-06-08 10:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description salmiakki 2003-06-08 10:20:23 UTC
I've done an etc-update after merging a new portage as instructed by the ebuild 
process. As a result all my /etc files likes fstab, modules.autoload, etc. 
reverted to some default values making my system unbootable and unusable.


Reproducible: Always
Steps to Reproduce:
1.etc-update
2.
3.

Actual Results:  
see details

Expected Results:  
how about never overwriting my /etc files in any circumstances ?


Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2, glibc-2.2.5-r7)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(TM) XP 1700+
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 /usr/X11R6/lib/X11/xkb"
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=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif java jpeg kde gnome libg++ 
libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell svga truetype xml2 
xmms xv zlib alsa gdbm berkdb slang readline tcltk guile X sdl gpm tcpd pam ssl 
perl python esd imlib oggvorbis gtk qt motif opengl mozilla gphoto2 scanner"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-06-08 10:30:07 UTC
not the fault of etc-update

#etc-update
<enter>

1) Replace original with update
2) Delete update, keeping original as is
3) Interactively merge original with update
4) Show differences again

don't just update every file blind !!!!