Bug 163201 - pppd leaks comm channel file descriptor to /etc/ppp/ip-up
pppd leaks comm channel file descriptor to /etc/ppp/ip-up
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: ppp (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Woerner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-13 19:57 EDT by Krzysztof Halasa
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-08-29 08:11:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
This patch to pppd seems to fix this bug. (259 bytes, patch)
2005-07-13 20:02 EDT, Krzysztof Halasa
no flags Details | Diff

  None (edit)
Description Krzysztof Halasa 2005-07-13 19:57:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
pppd is designed to execute /etc/ppp/ip-up after IP negotiation is complete. To accomplish this is forks, closes internat file descriptors and execs ip-ip. However, it fails to close devfd, the file descriptor of the communication channel. If ip-up spawns further programs (such as a daemon), the file descriptor may remain open and pppd is unable to close/free the channel (in my case, ATM PVC
over Speed Touch DSL). For example, I can't restart pppd etc.

Version-Release number of selected component (if applicable):
ppp-2.4.2-7

How reproducible:
Always

Steps to Reproduce:
1. add "sleep 3600" to /etc/ppp/ip-up
2. run pppd (I use speedtch and pppoatm kernel drivers as the channel)
3. kill the pppd process
  

Actual Results:  pppd failed to free communication channel - cat /proc/net/atm/vc shows the PVC connection is still in use. It will be closed when "sleep 3600" timeouts or is killed.

Expected Results:  ppp should have closed (destroyed) the PVC.

Additional info:
Comment 1 Krzysztof Halasa 2005-07-13 20:02:43 EDT
Created attachment 116728 [details]
This patch to pppd seems to fix this bug.
Comment 2 Christian Iseli 2007-01-22 06:57:55 EST
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Thanks.
Comment 3 Thomas Woerner 2007-07-23 11:32:30 EDT
Can you please try to rebuild and use the FC-5 ppp package, it contains lots of
fd fixes.
Comment 4 Thomas Woerner 2007-08-29 08:11:35 EDT
This bug entry was in needinfo for some time. Closing due to user inactivity as
"NOT A BUG".

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