Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104397

Summary: baselayout-1.11.13-r1 creates "._cfg0000_net.eth0" as a symlink to net.lo
Product: Gentoo Linux Reporter: Jeremy Johnson <jmjohnson>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeremy Johnson 2005-08-31 10:32:03 UTC
It seems baselayout creates the replacement file for net.eth0 as a symlink to
net.lo so if you overwrite the current net.eth0 it becomes a symlink to net.lo.
 After a reboot the only network interface I had configured was lo.

Reproducible: Always
Steps to Reproduce:
1. emerge baselayout-1.11.13-r1
2. ls -l /etc/init.d/._*

Actual Results:  
You can see /etc/init.d/._cfg0000_net.eth0 -> net.lo

Expected Results:  
This should be a file, not a symlink.

Now I was testing the behavior on this machine so some of this stuff will be a
bit out of date.


Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.11.5 i686)
=================================================================
System uname: 2.6.11.5 i686 Intel(R) Pentium(R) III CPU family      1133MHz
Gentoo Base System version 1.6.13
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 28 2005, 11:53:22)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2, 2.4.19-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 berkdb bitmap-fonts crypt eds emboss foomaticdb fortran gd
gif gstreamer ipv6 java jpeg libg++ libwww mmx motif mp3 mpeg mysql ncurses ogg
opengl pam pdflib png python readline samba spell sse ssl tiff truetype
truetype-fonts type1-fonts vorbis xml2 xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-08-31 13:46:34 UTC
no, net.eth0 should be a symlink now, not a net.lo
Comment 2 Jeremy Johnson 2005-08-31 14:04:41 UTC
Well that's just weird.  After reading your comment I went back to the computer
I just upgraded baselayout on and it actually has the correct net.lo in the
update.  For some reason on the other computers baselayout was updated on, it
didn't replace net.lo so it set every device up as 127.0.0.1.

Sorry for the bug report, I'll look back on the other computers to see if I can
figure out where I or it went wrong.  Thanks for the quick response.