First I consider this bug would better go in http://roy.marples.name/projects/openrc rather than here. (I apologize for that) Executing: /etc/init.d/net.eth0 restart complains saying: /etc/init.d/net.eth0: line 510: _exists: command not found When I execute: strings /sbin/rc | grep RC_LIBDIR it outputs nothing. If I modify /etc/init.d/net.lo stating: MODULESDIR="/lib/rc/net" The issue gets resolved. So it looks like if: RC_LIBDIR = /lib/rc is not hardcoded within /sbin/rc Reproducible: Always Steps to Reproduce: More or less what follows: git clone git://roy.marples.name/openrc.git cd openrc make install (reboot) /etc/init.d/net.eth0 restart Actual Results: /etc/init.d/net.eth0: line 510: _exists: command not found Expected Results: No error http://forums.gentoo.org/viewtopic-t-792304.html
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.30-gentoo i686) ================================================================= System uname: Linux-2.6.30-gentoo-i686-Genuine_Intel-R-_CPU___________T2400__@_1.83GHz-with-gentoo-2.0.0 Timestamp of tree: Sat, 12 Sep 2009 13:30:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="es_ES.UTF-8" LC_ALL="es_ES" LDFLAGS="-Wl,-O1" LINGUAS="es" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spell spl ssl sysfs tcpd unicode x86 xorg 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks for reporting your fix. As far as I can tell, upstream Roy Marples does want bugs reported here - he gets cc-ed on all openrc bugs and I didn't find a way for users to open new tickets in his issue tracker. Roy can enlighten us if that is not the case :)
(In reply to comment #2) > Thanks for reporting your fix. As far as I can tell, upstream Roy Marples does > want bugs reported here - he gets cc-ed on all openrc bugs and I didn't find a > way for users to open new tickets in his issue tracker. Roy can enlighten us if > that is not the case :) > You need an OpenID to use my site now - too many spambots messing with my trac :/ Once logged in via OpenID, you can create tickets and such.
You're using an old net.lo script - RC_LIBDIR was changed to RC_LIBEXECDIR in a few places. I'm guessing you used an ebuild without MKOLDNET=yes passed to the make and install targets.
Re: You're using an old net.lo script - RC_LIBDIR was changed to RC_LIBEXECDIR in a few places. I'm guessing you used an ebuild without MKOLDNET=yes passed to the make and install targets. That's not a solution, the solution is to update to a newer net.lo script. This means updating openrc, which I tried, but still get the same error. emerge --info Portage 2.1.6.6 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.31-gentoo-r3.4 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r3.4-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-glibc2.0 Timestamp of tree: Thu, 22 Oct 2009 02:30:01 +0000 app-shells/bash: 3.2_p48 dev-lang/python: 2.5.2-r8, 3.1.1-r1 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.5.2-r1 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3 -s" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="32bit X acl alsa apm audio berkdb bzip2 cli cracklib crypt cups dri encode ffmpeg flac flv fortran gdbm gif glade glib glitz gpm gtk iconv id3 imlib ipv6 isdnlog jpeg lame libwww modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python readline reflection sdl session spl sse3 ssl sysfs tcpd truetype unicode video wav wma x86 xcb xfce xine xorg xvmc zip 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 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="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
you overwrote your files yourself with `make install`. we really cant help you clean up your system once you did that. use the ebuilds *only* or seek help in the forums. net.eth0 needs to be a *symlink* to net.lo which is installed by the ebuild.
(In reply to comment #6) > you overwrote your files yourself with `make install`. we really cant help you > clean up your system once you did that. use the ebuilds *only* or seek help in > the forums. > > net.eth0 needs to be a *symlink* to net.lo which is installed by the ebuild. > I used porthole
then you're commenting on the wrong bug. read the original summary and then try searching for the right bug (289323).