Bug 17388 - ifup-ppp: DEVNAME/DEVICE confusion
Summary: ifup-ppp: DEVNAME/DEVICE confusion
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 6.2
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 17389
TreeView+ depends on / blocked
 
Reported: 2000-09-09 22:56 UTC by Aleksey Nogin
Modified: 2014-03-17 02:16 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-10-02 22:08:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Aleksey Nogin 2000-09-09 22:56:37 UTC
For some strange reason, ifup-ppp in initscripts-5.00 first insists on 
/etc/sysconfig/network-scripts/chat-$DEVICE being present, but then does
the following:

if [ -z "$WVDIALSECT" ] ; then
  CHATSCRIPT=/etc/sysconfig/network-scripts/chat-$DEVNAME
  [ -f $CHATSCRIPT ] || {
    CHATSCRIPT=/etc/sysconfig/network-scripts/chat-$PARENTDEVNAME
  }
else
...

Most parts of the initscripts package are OK with ifcfg-xxx containing
DEVICE=yyy (with xxx and yyy being completely unrelated and yyy being the
"real" device name - eth0, ppp0, etc), but not PPP.

The reason I want to do this is to be able to bring ppp0 up using "ifup
<ISP name>" and have several ifcfg files for different ISPs with
DEVICE=ppp0 in all of them.

Comment 1 Aleksey Nogin 2000-09-09 23:07:21 UTC
See bug 17389 for a fix.

Comment 2 Bill Nottingham 2001-01-30 18:45:51 UTC
Will be in initscripts-5.60-1.


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