Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176554 - sys-apps/baselayout-2.0.0_alpha1: /lib/rcscripts/net/arping.sh: line 47: [: too many arguments
Summary: sys-apps/baselayout-2.0.0_alpha1: /lib/rcscripts/net/arping.sh: line 47: [: t...
Status: RESOLVED FIXED
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-04-30 11:20 UTC by Alessandro Guido
Modified: 2007-04-30 13:18 UTC (History)
0 users

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


Attachments
Fixes the issue (arping.patch,426 bytes, patch)
2007-04-30 11:28 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Guido 2007-04-30 11:20:46 UTC
I get this error message when I start /etc/init.d/net.eth1:

 * Bringing up interface eth1
 *   Configuring wireless network for eth1
 *   Scanning for access points
 *     Found "UNIMORE" at 00:0B:86:29:33:30, managed
 *     Found "sakbot" at 00:40:F4:D7:99:F9, managed, encrypted
 *   Connecting to "UNIMORE" in managed mode (WEP Disabled) ...          [ ok ]
 *     eth1 connected to SSID "UNIMORE" at 00:0B:86:29:33:30
 *     in managed mode (WEP disabled)
 *   arping ...
 *     Pinging gateways on eth1 for configuration
/lib/rcscripts/net/arping.sh: line 47: [: too many arguments             [ !! ]
 * ERROR: net.eth1 failed to start


Reproducible: Always




relevant parts of /etc/conf.d/net

modules_eth1="iwconfig"
preferred_aps="UNIMORE"
config_UNIMORE="arping"
config_UNIMO="arping"
gateways_eth1="155.185.123.254 155.185.131.254 155.185.28.254"

config_155185123254="155.185.122.100/22"
routes_155185123254="'default via 155.185.123.254'"
dns_servers_155185123254="155.185.1.2"

config_155185131254="155.185.130.100/22"
routes_155185131254="'default via 155.185.131.254'"
dns_servers_155185131254="155.185.1.2"

config_155185028254="'155.185.28.164/24'"
routes_155185028254="'default via 155.185.28.254'"
dns_servers_155185028254="155.185.1.2"



$ emerge --info
Portage 2.1.2.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.21-cfs-v7 i686)
=================================================================
System uname: 2.6.21-cfs-v7 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System release 2.0.0_alpha1
Timestamp of tree: Mon, 30 Apr 2007 07:00:10 +0000
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.5-r2
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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.17.50.0.14
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php4/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-pipe -O2 -march=pentium-m -fomit-frame-pointer -fvisibility-inlines-hidden -fvisibility=hidden"
DISTDIR="/var/portage/distfiles"
FEATURES="distlocks metadata-transfer nodoc noinfo parallel-fetch sandbox sfperms strict tmpfs"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="--quiet"
PKGDIR="/var/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi apache2 bitmap-fonts cairo cdr cli dbus dvd dvdr dvdread emboss evo firefox gif gnome gstreamer hal isdnlog jpeg libg++ libnotify mad midi mikmod mmx mp3 nls nptl nptlonly ogg opengl pdf png pppd qt3support quicktime reflection session spl sse sse2 startup-notification svg threads truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xinerama 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="none nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-04-30 11:28:28 UTC
Created attachment 117715 [details, diff]
Fixes the issue

Please test this patch.
Comment 2 Alessandro Guido 2007-04-30 13:18:50 UTC
(In reply to comment #1)
> Created an attachment (id=117715) [edit]
> Fixes the issue
> 
> Please test this patch.
> 

Yes, it's fixed.