Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172718 - networking init scripts (i.e, net.eth0) fail with no response on duplicate ip addresses
Summary: networking init scripts (i.e, net.eth0) fail with no response on duplicate ip...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-29 23:07 UTC by Maurice Volaski
Modified: 2007-03-31 22:55 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 Maurice Volaski 2007-03-29 23:07:47 UTC
I recently ran into a problem where the networking init script net.eth0 not only did not start, but just returned with no response given on the command line or in the system log at all.

It turned out there was another system on the network with this computer's IP address, a duplicate IP address. 

Under Windows and Mac OS X, the system not only reports this, but even the MAC address of the offending computer!

I got to think that this is doable under Linux and even odd that the net.eth0 script doesn't figure it why it is failing and report it in similar fashion.
Comment 1 SpanKY gentoo-dev 2007-03-30 05:25:59 UTC
i really dont think any of this belongs in the init.d script ... it is not the net scripts job to probe the network and detect misconfigurations on the end of administrators with respect to duplicate ip addresses

i dont know what you mean by the net scripts gave you no response at all ... you didnt indicate what sort of configuration you have in /etc/conf.d/net and you didnt include `emerge --info` ... please rectify that
Comment 2 Maurice Volaski 2007-03-31 16:58:18 UTC
conf.d/net output

config_eth0=( "129.98.90.163/24 brd 129.98.90.255" )
routes_eth0=( "default gw 129.98.90.1" )

----------------------------------------------
emerge --info output

Portage 2.1.2-r9 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 01 Mar 2007 22:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.4.3-r4, 1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://212.219.247.10/sites/www.ibiblio.org/gentoo/ http://212.219.247.14/sites/www.ibiblio.org/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apache2 apm arts berkdb bindist bitmap-fonts cdr cli cracklib crypt cups dri eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer iconv imlib isdnlog java jpeg kde lcms libg++ libwww midi mpeg ncurses nls nptl opengl pam pcre perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl tcpd tiff truetype truetype-fonts type1-fonts wmf x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Comment 3 Maurice Volaski 2007-03-31 17:01:13 UTC
No response means just that. I typed return ./net.eth0 start on the command line and it just goes to the next line at the prompt. There should be at least some indication that it failed and ideally its best guess as to why.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-03-31 17:46:37 UTC
Do you have parallel startup enabled?
Comment 5 Maurice Volaski 2007-03-31 22:55:20 UTC
From /etc/conf.d/rc
RC_PARALLEL_STARTUP="no"