Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80298 - zaptel init script silently dies prior to ztcfg
Summary: zaptel init script silently dies prior to ztcfg
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-01 00:47 UTC by Trenton Tuggle
Modified: 2005-02-04 07:42 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 Trenton Tuggle 2005-02-01 00:47:21 UTC
Running zaptel-1.0.4; Using my own udev rule to create /dev/zap/ entries (pasted from zaptel README.udev)

When sytem boots, or when executing /etc/init.d/zaptel start execution somewhere silently dies prior to the /sbin/ztcfg line.  I haven't traced it further yet.

Reproducible: Always
Steps to Reproduce:
1. emerge zaptel
2. /etc/init.d/zaptel start
3. Notice nothing is printed (the "* Starting Zaptel" line)
Actual Results:  
ztcfg is not running.  Must run it manually

Expected Results:  
run ztcfg!

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.10-gentoo-r6 
i686)
===============================================================
==
System uname: 2.6.10-gentoo-r6 i686 AMD Sempron(tm)   2300+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ibiblio.org/pub/Linux/distributions/gentoo/ http:
//mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups encode f77 font-server foomaticdb 
fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 ithreads jpeg kde libg++ libwww mad 
mbox mikmod mmap mmx motif mpeg mpeg3 mysql ncurses nls oggvorbis opengl oss pam pdflib perl 
png posix python qt quicktime readline samba sdl shared slang slp speex spell ssl svg svga sysvipc 
tcpd tiff truetype truetype-fonts type1-fonts usb xml2 xmms xv zeo zlib"
Comment 1 Stefan Knoblich (RETIRED) gentoo-dev 2005-02-03 14:39:00 UTC
checkconfig() return values were messed up and ebuild won't be in state "started"
if there's no zaptel.conf
Comment 2 Trenton Tuggle 2005-02-03 21:36:46 UTC
Correct. Upon examination, checkconfig() func. in /etc/init.d/zaptel return values are swapped.  Thanks for finding that.  I assume it's fixed?
Comment 3 Stefan Knoblich (RETIRED) gentoo-dev 2005-02-04 00:40:45 UTC
jep, you can grab the new version after emerge sync from /usr/portage/net-misc/zaptel/files/zaptel.rc6
Comment 4 Trenton Tuggle 2005-02-04 06:39:24 UTC
Thanks!  Appreciate your quck help!  (Esp. since I didn't have time to figure out the ret. vals thing until now!)  Closing...
Comment 5 Stefan Knoblich (RETIRED) gentoo-dev 2005-02-04 07:42:13 UTC
thanks a lot for the feedback :)