Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108518 - /sbin/runscript: message "ERROR: Problem starting needed services." should distinguish between "need" and "use"
Summary: /sbin/runscript: message "ERROR: Problem starting needed services." should d...
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-08 10:40 UTC by Toralf Förster
Modified: 2006-10-22 12: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 Toralf Förster gentoo-dev 2005-10-08 10:40:28 UTC
A service which dependency is only "use" instead of "need" should produce a less
restrictive message if start fails:
In the ecample below netmount is not needed but would be useful:


n22 /etc/apache2/modules.d # /etc/init.d/apache2 restart
 * Stopping apache2 ...                                                        
                                          [ ok ]
 * Starting eth0
 *   Loading networking modules for eth0
 *     modules: iwconfig essidnet iptunnel ifconfig tuntap adsl dhcpcd apipa
 *       iwconfig provides wireless
 *       ifconfig provides interface
 *       dhcpcd provides dhcp
 *   Wireless extensions not found for eth0
 *   Bringing up eth0
 *     dhcp
 *       Running dhcpcd ...                                                    
                                          [ !! ]
 * Starting eth0
 *   Loading networking modules for eth0
 *     modules: iwconfig essidnet iptunnel ifconfig tuntap adsl dhcpcd apipa
 *       iwconfig provides wireless
 *       ifconfig provides interface
 *       dhcpcd provides dhcp
 *   Wireless extensions not found for eth0
 *   Bringing up eth0
 *     dhcp
 *       Running dhcpcd ...                                                    
                                          [ !! ]
 * ERROR:  Problem starting needed services.
 *         "netmount" was not started.
 * Starting apache2 ...                               


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




n22 /etc/apache2/modules.d # emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
http://mir.zyrianes.net/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X acpi aim alsa apache2 arts avi berkdb bitmap-fonts browserplugin
cardbus cddb cdparanoia crypt cups curl dvd dvdr dvdread eds emboss encode
ethereal fam font-server foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2
imagemagick imlib innodb ipv6 jai java javascript jimi jpeg junit kde libg++
libwww live mad mbox mikmod mmx mmxext mng motif mp3 mpeg mysql nagios-dns
nagios-ntp nagios-ping nagios-s ncurses network nls no-old-linux nsplugin ogg
oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline
real samba sdl slp smime snmp spell sse sse2 ssl subversion svg tcltk tcpd tiff
truetype truetype-fonts type1-fonts usb userlocales vorbis webdav wifi xanim xfs
xine xml2 xmms xv zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-10-22 10:01:03 UTC
Do you still see this with baselayout-1.12? Re-open if you do.
Comment 2 Toralf Förster gentoo-dev 2006-10-22 12:49:59 UTC
works fine with sys-apps/baselayout-1.12.5-r2