Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99767 - baselayout-1.11.13 overwrites net.eth0 symlink when doing etc-update
Summary: baselayout-1.11.13 overwrites net.eth0 symlink when doing etc-update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-21 02:57 UTC by MAL
Modified: 2005-07-22 15:00 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 MAL 2005-07-21 02:57:31 UTC
Just emerged the above baselayout then did etc-update.  It prompted to update 
both net.lo and net.eth0 (which I had symlinked to net.lo, as instructed in a 
previous update).  When I said yes to the changes, etc-update replaced the 
symlink with the updated contents of the file that the symlink linked to (ie. 
net.lo), so I had 2 copies of net.lo

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-
r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/
share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /
usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/
defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/
texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/
platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict userpriv 
usersandbox"
GENTOO_MIRRORS="ftp://gentoo.blueyonder.co.uk/mirrors/gentoo http://ftp.easynet.
nl/mirror/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp-
stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.2/gentoo-portage"
USE="x86 3dnow 3dnowext S3TC X a52 aac aalib acpi alsa amd apm avi berkdb 
bitmap-fonts bluetooth bonobo bzip2 bzlib cdda cddb cdio cdr chroot clamav crypt 
cscope cups curl dga directfb disablexmb divx4linux dmx dv dvd dvdr dvdread edl 
emboss encode ethereal faac faad fam fb fbcon ffmpeg fla flac fmod font-server 
foomaticdb freetype gb gd gdbm geoip gif gimpprint gmail gnokii gphoto2 gpm 
gstreamer gtk gtk2 gtkhtml guile howl ieee1394 imagemagick imap imlib imlib2 
java javascript jpeg jpeg2k junit lcms libcaca libg++ libgda libwww live lzo lzw 
lzw-tiff mad maildir mailwrapper matroska md5sum mikmod mjpeg mmx mmxext mng 
monkey motif mozcalendar mozdevelop mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 
mplayer msn mysql ncurses network nls nptl nptlonly ntlm nvidia oav odbc ogg 
oggvorbis opengl operanom2 oss pam pcntl pcre pdf pdflib perl pic png ppds 
python qt quicktime readline real rtc samba sasl scanner sdl sftplogging slang 
sms snmp speex spell sse ssl stream svg sysfs tcpd tga theora tiff truetype 
truetype-fonts type1 type1-fonts unicode usb utf8 v4l v4l2 vcd vidix vlm vorbis 
win32codecs wma123 wmf wxwindows xanim xface xine xml xml2 xmms xosd xpm xprint 
xrandr xv xvid xvmc yahoo yv12 zlib video_cards_nvidia userland_GNU kernel_linux 
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-07-22 14:57:14 UTC
actually this is my fault kind of ...

doinitd doesnt respect symlinks
Comment 2 SpanKY gentoo-dev 2005-07-22 15:00:19 UTC
reverted doinitd to cp -P