Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 111196

Summary: /etc/init.d/net.ppp0 stop doesn't kill the ppd process
Product: Gentoo Linux Reporter: Jesus de Santos Garcia <jesus.de.santos>
Component: New packagesAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jesus de Santos Garcia 2005-11-01 16:01:58 UTC
Tested with the latest stable build: 2.4.2-r15

In the stop section of net.ppp0 it looks for the pid of the daemon in /var/run.
That's correct when the file with the pid exists, but pppd will only create that
file when the interface is up.

I have a situation here, where the pppd daemon starts but it is unable to create
the interface ppp0 (Waiting por PADO packets os something similar). In this
situation, for each net.ppp0 restart that I try it creates a new pppd process.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-11-01 21:14:21 UTC
You have 2 options. Either use "updetach" pppd option (for forcing pppd to
detach only when the connection is up) or use the upcoming pppd net module found
in bug #53954.

Hopefully, the actual net.ppp0 - the one installed by net-dialup/ppp - will be
soon removed.

*** This bug has been marked as a duplicate of 53954 ***