Bug 1364 - There are some of problems with ppp-related scripts in initscripts-3.78
Summary: There are some of problems with ppp-related scripts in initscripts-3.78
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 5.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-02-27 19:12 UTC by eh
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-03-02 22:32:44 UTC

Attachments (Terms of Use)

Description eh 1999-02-27 19:12:42 UTC
1) script "/etc/sysconfig/network-scripts/ifup-ppp" cleans
out the file "var/run/ppp-$DEVICE.dev" and then runs pppd,
supposing that it will write something to that file. And the
script "/etc/sysconfig/network-scripts/ifdown-ppp" on the
line "file=/var/run/`cat /var/run/ppp-$DEVICE.dev`.pid"
supposes that there is the device name (e.g. "ppp0"). The
problem is that pppd (version 2.3.3 and 2.3.5) doesn't write
there anything, so ifdown can't find the PID and kill pppd.

2) when shutting down a ppp device by ifdown (no matter it
doesn't work), ifdown executes ifdown-ppp and then
ifdown-post. But ifdown-post is execute by ifdown-ppp and
even  by /etc/ppp/ip-down when pppd is killed. I think it
should only be executed by ifdown.

Comment 1 eh 1999-02-27 19:50:59 UTC
Oops! I just downloaded the official package and found out that the
package I used before was a bit modified (the file "/etc/ppp/ip-up"
was missing). So the first bug is fixed in the current release of me
But the second one still seems to be there - the if*-post scripts are
still called several times (from /etc/ppp/ip-*,
/etc/sysconfig/network-scripts/if[up|down] and ifdown-ppp.

Comment 2 David Lawrence 1999-03-02 22:32:59 UTC
Unable to replicate this problem with the latest initscripst for 5.2.

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