Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125099 - ifplugd init script uses is_daemon_running
Summary: ifplugd init script uses is_daemon_running
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-05 09:02 UTC by Felix Wiemann
Modified: 2006-04-06 05:24 UTC (History)
0 users

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


Attachments
New init script (ifplugd,4.09 KB, text/plain)
2006-03-07 02:05 UTC, Roy Marples (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Wiemann 2006-03-05 09:02:18 UTC
ifplugd's init script (sys-apps/ifplugd/files/ifplugd.init) uses a function "is_daemon_running", which does not exist:

# /etc/init.d/ifplugd start
 * Starting ifplugd:
 *   eth0 ...
/etc/init.d/ifplugd: line 89: is_daemon_running: command not found
/usr/sbin/ifplugd already running. [ !! ]
# emerge -pv ifplugd


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/ifplugd-0.28-r4  USE="-doc" 0 kB

Total size of downloads: 0 kB
# emerge --info

Portage 2.1_pre5-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-suspend2-r6 i686)
=================================================================
System uname: 2.6.15-suspend2-r6 i686 Intel(R) Pentium(R) M processor 1.10GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.1.3-r1, 2.2.3-r6, 2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.11
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="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/ http://gentoo.intergenia.de http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dfx X Xaw3d a52 aac acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr crypt cscope cups dga dhcp divx4linux djbfft dri dts dv dvb dvd dvdread emacs emboss encode fam ffmpeg flac fontconfig foomaticdb gcj gdbm gif gimpprint glep gs gstreamer gtk gtk2 gtkhtml imagemagick imlib input_devices_keyboard input_devices_mouse input_devices_synaptics jikes jpeg lcms libg++ libwww lua lzo mad maildir math mbox mikmod mmap mmx mng motif mp3 mpeg ncurses network noreiserfs nsplugin offensive ogg oggvorbis opengl pdf pdflib perl plugin png ppds python qt quicktime readline real samba sdl slang spell sse sse2 ssl svg tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd video_cards_i810 vim-with-x vorbis win32codecs wmf wxwindows xanim xml2 xmms xosd xprint xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-03-07 02:05:30 UTC
Created attachment 81581 [details]
New init script

This init script should fix the problem. Please test and report back if it fixes the issue or not for you.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-04-06 05:24:10 UTC
Fixed in -r5