Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132715 - net.eth0 and net.lo are swapped
Summary: net.eth0 and net.lo are swapped
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-08 13:42 UTC by sceptre
Modified: 2006-05-10 06:16 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 sceptre 2006-05-08 13:42:11 UTC
When I 'emerge world' and then run 'etc-update', the following files need to be updated:

9) /etc/init.d/net.eth0
/etc/init.d/._cfg0000_net.eth0
10) /etc/init.d/net.lo

When I look at the new files, however, they are swapped, i.e. net.eth0 should be net.lo and vise versa.  This happens to me every time I have to update these conf files with 'etc-update'.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-08 13:44:54 UTC
You neglected to post emerge --info. 
Comment 2 sceptre 2006-05-10 06:05:04 UTC
sorry, here is my emerge --info:

Portage 2203-svn (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0-r1
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acl alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dri dvdread eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb fortran gd gdbm geoip gif glut gmp gphoto2 gpm gstreamer gtk gtk2 id3 idn imagemagick imlib isdnlog java jpeg junit kde lcms ldap libg++ libwww mad mhash mikmod mmx mmxext mng motif mp3 mpeg mpeg2 mysql ncurses network nls nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl php png ppds pppd python qt quicktime readline recode reflection samba scanner sdl session slang snmp spell spl sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xine xml xml2 xmms xorg xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 3 Roy Marples (RETIRED) gentoo-dev 2006-05-10 06:16:56 UTC
I think you have your symlinks mixed. net.eth0 should be a symlink to net.lo and it appears to be the other way around on your box. To fix

rm -f /etc/init.d/net.{eth0,lo}
emerge -1 baselayout
ln -s net.lo /etc/init.d/net.eth0

Reopen if that does not solve it.