Bug 9009 - /etc/ppp/ip-up calls ifup-post with unset variable
Summary: /etc/ppp/ip-up calls ifup-post with unset variable
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: isdn4k-utils
Version: 6.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Ngo Than
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-01-31 02:08 UTC by Andrew Meredith
Modified: 2008-05-01 15:37 UTC (History)
0 users

Clone Of:
Last Closed: 2000-07-04 15:19:32 UTC

Attachments (Terms of Use)
/etc/ppp/ip-up after change noted in my report (409 bytes, text/plain)
2000-01-31 02:10 UTC, Andrew Meredith
no flags Details

Description Andrew Meredith 2000-01-31 02:08:36 UTC
ifup-post is called by ip-up using the variable LOGDEVICE, which is set
from $6, which is unset. This leads to ifup-post not functioning correctly.

Maybe it should read

 /etc/sysconfig/network-scripts/ifup-post ifcfg-${REALDEVICE}

Where REALDEVICE is $1, which is the actual device name. I have made this
substitution in my system and this seems to make things work as I believe
they are intended.

If I have this wrong (not unlikely) I would be grateful for any pointers.


Andy Meredith

PS I am using:

Name        : initscripts                  Relocations: (not relocateable)
Version     : 4.70                              Vendor: Red Hat, Inc.
Release     : 1                             Build Date: Tue 30 Nov 1999
07:51:55 PM GMT
Install date: Sat 18 Dec 1999 12:43:25 PM GMT      Build Host:
Group       : System Environment/Base       Source RPM:
Size        : 248781                           License: GPL
Packager    : Red Hat, Inc. <http://developer.redhat.com/bugzilla>
Summary     : The inittab file and the /etc/rc.d scripts.

Comment 1 Andrew Meredith 2000-01-31 02:10:59 UTC
Created attachment 85 [details]
/etc/ppp/ip-up after change noted in my report

Comment 2 Nalin Dahyabhai 2000-02-01 21:47:59 UTC
Please verify that the DEVICE variable is set in
/etc/sysconfig/network-scripts/ifcfg-???.  The sixth
parameter is set when ifup-ppp adds "ipparam $DEVICE"
to the list of options passed to pppd, and pppd should
then pass it along to ip-up as $6.

Comment 3 Andrew Meredith 2000-02-02 15:52:59 UTC
Oops .. I just reread my initial comments and realised I hadn't mentioned that
it is using the ISDN ipppd not the original pppd.

Andy Meredith <andrew@anvil.org>

Comment 4 Nalin Dahyabhai 2000-02-05 03:42:59 UTC
Changed component to isdn4k-utils.

Comment 5 Ngo Than 2000-07-04 15:19:30 UTC
it was fixed in the rawhide

Comment 6 Ngo Than 2000-07-04 15:20:47 UTC
it was fixed in the rawhide

Note You need to log in before you can comment on or make changes to this bug.