Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106540 - eselect: Error in "rc" module when calling restart
Summary: eselect: Error in "rc" module when calling restart
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-09-19 10:15 UTC by Alexander Skwar
Modified: 2005-10-19 05:43 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 Alexander Skwar 2005-09-19 10:15:44 UTC
All the time when I run "eselect rc restart <whatever>", I get the following
error messages:

blatt ~ # eselect rc restart serial
/usr/share/eselect//modules/rc.eselect: command substitution: line 209:
conditional binary operator expected
/usr/share/eselect//modules/rc.eselect: command substitution: line 209: syntax
error near `1]]'
/usr/share/eselect//modules/rc.eselect: command substitution: line 209: `[[
${#@}-gt 1]] && echo -ne 's''
Restarting init script



blatt ~ # eselect version
eselect 0.9.6

Copyright (c) 2005 Gentoo Foundation. Distributed under the
terms of the GNU General Public License v2.
blatt ~ # emerge info
Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-suspend2-r4.036.dm-stat i686)
=================================================================
System uname: 2.6.13-suspend2-r4.036.dm-stat i686 Intel(R) Celeron(R) M
processor         1.50GHz
Gentoo Base System version 1.12.0_pre8
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.13
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://server.bei.digitalprojects.com/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://stuff.alexander.skwar.name/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distfiles.gentoo.org/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc"
SYNC="rsync://server/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X acpi alsa amd apm arts artswrappersuid async avi
bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash browserplugin
cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cle266 crypt css cups curl
curlwrappers dbus devmap dillo divx4linux dlloader dvd dvdread emoticon esd exif
fam fbcon fbdev fbsplash firefox fping freetype gd gdbm gif gnokii gnome
gstreamer gtk gtk2 hal hpn icc id3 idn imagemagick imap imlib imlib2
insecure-drivers insecure-savers java javascript jikes jpeg kde kdeenablefinal
libedit libwww logrotate lynxkeymap mad maildir matroska mbox mmx mmxext mozilla
moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses netboot network
new-login nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils nobsf
nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm nojsch nojython
nolog4j nomac nooro nopri norhino noxalan noxerces nozaptel nptl nptlonly
nsplugin offensive ogg oggvorbis opengl openssh pam_console pam_timestamp
passfile password patented pccts pcmcia pcre perl perlsuid pic player png pnp qt
quicktime rar readline real recode reiserfs samba sdl sendfile sensord sftp
slang sms spell spf sse sse2 ssl startup-notification stream subp subtitles suid
symlink sysfs syslog transcode truetype truetype-fonts trusted type1-fonts
underscores unichrome unicode unsafe usb utf8 uudeview vim vim-pager vlm vorbis
wifi win32codecs wma123 x11vnc xine xinetd xml xml2 xmms xpm xscreensaver xv
xvid xvmc zlib video_cards_via linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2005-09-21 18:00:00 UTC
Will be fixed by next release. For the time being, change rc.eselect:214 to be
  [[ ${#@}-gt 1]]
instead of
  [[ ${#@} -gt 1 ]]

Thanks for reporting this bug!
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-09-22 04:07:29 UTC
Lets keep these open, as technically the issues are not fixed until the next
release is in the tree.
Comment 3 Aaron Walker (RETIRED) gentoo-dev 2005-10-19 05:43:32 UTC
1.0_rc1 is in cvs.  Please test and reopen if necessary.