Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82993 - net-dialup/isdn4k-utils-3.6_pre20041219: /etc/init.d/net.ippp0 is missing interpreter and dependency
Summary: net-dialup/isdn4k-utils-3.6_pre20041219: /etc/init.d/net.ippp0 is missing int...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-22 12:47 UTC by schaedpq
Modified: 2005-02-23 02:42 UTC (History)
1 user (show)

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


Attachments
adds interpreter and dependency to /etc/init.d/net.ippp0 (patch_net.ippp0,509 bytes, patch)
2005-02-22 12:48 UTC, schaedpq
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description schaedpq 2005-02-22 12:47:29 UTC
1) /etc/init.d/net.ippp0 is missing the first line giving the interpreter of the script: #!/sbin/runscript
2) /etc/init.d/net.ippp0 is IMHO missing a dependency: "isdn4linux". Starting net.ippp0 without isdn4linux results in:

# /etc/init.d/net.ippp0 start
 * Loading isdnctrl configuration...                                                                                                   [ ok ]
 * Starting modem-register daemon...                                                                                                   [ ok ]
 * Starting ipppd for ippp0...
Sorry - this system lacks PPP kernel support.
Check whether you configured at least the ippp0 device!
 * Failed to start ipppd                                                                                                               [ !! ]

I will attach a patch for net.ippp0.


Reproducible: Always
Steps to Reproduce:
1. emerge \=net-dialup/isdn4k-utils-3.6_pre20041219
2. use new /etc/init.d/net.ippp0
3. /etc/init.d/net.ippp0 start



Portage 2.0.51-r15 (hardened/x86, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.4.27-hardened-r2 i686)
=================================================================
System uname: 2.4.27-hardened-r2 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.16
Python:             
dev-lang/python-2.1.3-r1,dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1
[2.3.4 (#1, Feb  7 2005, 15:16:17)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.1.3-r1, 2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.9.4, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -mcpu=athlon-xp -O2 -fomit-frame-pointer -pipe -Wall"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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/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/postfix/sample /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage"
USE="3dnow 3dnowex X acpi acpi4linux alsa apache2 arts avi berkdb bitmap-fonts
cdparanoia cdr crypt cups dga divx4linux dlloader dri dvd dvdr dvdread encode
fbcon flac font-server foomaticdb gd gdbm gif glx gtk gtk2 hardened imagemagick
imap imlib java jpeg kde lcms ldap libwww live mad matrox mikmod mjpeg mmx motif
mozcalendar mozsvg mpeg mysql ncurses network nls ogg oggvorbis opengl pam
pdflib perl pic pie plotutilspng python qt qtmt quicktime readline real samba
sdl sftplogging slang speex ssl svga tcltk tcpd tetex theora tiff truetype
truetype-fonts type1-fonts userlocales v4l v4l2 x86 xine xml2 xmms xv xvid xvmc
zlib video_cards_matrox linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 schaedpq 2005-02-22 12:48:41 UTC
Created attachment 51897 [details, diff]
adds interpreter and dependency to /etc/init.d/net.ippp0
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2005-02-22 13:38:04 UTC
Stefan, any thoughts?
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2005-02-22 17:03:29 UTC
1. interpreter should be there. Don't know why it was missing.
2. 'isdn4linux' dependency is obsolete since we only have 'isdn' now (at least in current ebuilds)
3. 'ppp' support is missing in your kernel! You need it to use 'ippp'!
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2005-02-22 21:54:19 UTC
fixed in r1
Comment 5 schaedpq 2005-02-23 00:19:12 UTC
Comment to 3) Comment #3:
My kernel has PPP support. The machine does also PPPoE and PPP and I have a ppp0 interface already up when starting net.ippp0. I don't know why it complains about missing PPP support but it is definitively there (loaded as modules).
It works if I start isdn4linux manually before net.ippp0.
Comment 6 Stefan Briesenick (RETIRED) gentoo-dev 2005-02-23 02:42:00 UTC
current isdn4k-utils don't have an 'isdn4linux' init-script, but an 'isdn' init-script. Your 'isdn4linux' may be a leftover and should be removed (if you have 'isdn').