Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74777 - either /etc/init.d scripts are ALL broken or /sbin/runscript.sh is
Summary: either /etc/init.d scripts are ALL broken or /sbin/runscript.sh is
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-17 13:44 UTC by Dan Egli
Modified: 2004-12-21 20:49 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 Dan Egli 2004-12-17 13:44:33 UTC
try to run one of the scripts in /etc/init.d. It won't work, using v 1.43 of runscript.sh 


Reproducible: Always
Steps to Reproduce:
1. pick a service
2. run it's init.d script
3. watch the pretty error.

Actual Results:  
mars fax # /etc/init.d/samba status
 * /sbin/runscript.sh: Do not run this directly
mars ~ # /etc/init.d/courier-imapd status
 * /sbin/runscript.sh: Do not run this directly
mars ~ # /etc/init.d/dnetc status
 * /sbin/runscript.sh: Do not run this directly
mars ~ # /etc/init.d/vixie-cron status
 * /sbin/runscript.sh: Do not run this directly
mars ~ # /etc/init.d/named status
 * /sbin/runscript.sh: Do not run this directly
mars ~ # /etc/init.d/clamd status
 * /sbin/runscript.sh: Do not run this directly
mars ~ # /etc/init.d/syslog-ng status
 * /sbin/runscript.sh: Do not run this directly

( I think you get the idea )


Expected Results:  
should not display error, and should perform requested operation.

the runscript from 05/05/2004 (in use on a differet gentoo machine) works fine

System uname: 2.6.8-gentoo-r8 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  1 2004, 19:05:55)]
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.4_p6, 1.6.3, 1.9.3, 1.5, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/fax /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://localhost/pub/gentoo/ http://cudlug.cudenver.edu/gentoo/
http://mirror.datapipe.net/gentoo http://gentoo.ccccom.com
http://gentoo.mirrors.pair.com/ http://gentoo.llarian.net/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77 fam
foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++
libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam
pdflib perl png postgres python qt quicktime readline samba sdl slang spell ssl
svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-12-18 18:40:07 UTC
your tree is outdated, upgrade baselayout
Comment 2 Dan Egli 2004-12-21 20:49:03 UTC
Newer baselayout seems to work. But I think that should have happened as part of emerge world.