Bug 163950

Summary: ifup-ppp keeps a shell in memory needlessly
Product: [Fedora] Fedora Reporter: Avi Kivity <avi>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: denis, rvokal
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.32-1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-10 22:53:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150221    
Attachments:
Description Flags
reduce persistent process count in ifup-ppp none

Description Avi Kivity 2005-07-22 11:42:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.1 (like Gecko)

Description of problem:
ifup-ppp spans pppd and remains in memory, even though it has nothing left to 
do (if $DEMAND is false). this wastes memory. 

Version-Release number of selected component (if applicable):
initscripts-8.11.1-1

How reproducible:
Always

Steps to Reproduce:
ifup ppp0 
   

Actual Results:  $ pstree 
... 
ppp-watch----ifup-ppp-----pppd 

Expected Results:  $ pstree  
...  
ppp-watch----pppd  

Additional info:

Comment 1 Avi Kivity 2005-07-22 11:45:14 UTC
Created attachment 117050 [details]
reduce persistent process count in ifup-ppp

attached patch execs pppd instead of spawning it if $DEMAND != yes

Comment 2 Miloslav Trmač 2006-04-10 22:53:56 UTC
Applied in rawhide initscripts-8.32-1.  Thanks!