Bug 179087

Summary: ipppd do not set environment variables on ip-down
Product: [Fedora] Fedora Reporter: Peter Bieringer <pb>
Component: isdn4k-utilsAssignee: Than Ngo <than>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-02 10:16:08 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:

Description Peter Bieringer 2006-01-27 09:48:08 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8) Gecko/20051111 Firefox/1.5

Description of problem:
Unlike pppd, the ipppd do not set any of the environment variables.

Version-Release number of selected component (if applicable):
isdn4k-utils-3.2-28 ppp-2.4.2-7

How reproducible:
Always

Steps to Reproduce:
1. add following lines to e.g. /etc/ppp/ip-down.local:
FILEPPPSTAT="/var/log/pppd.stat"
echo "`date '+%Y%m%d-%T'` $IFNAME $IPLOCAL $IPREMOTE $CONNECT_TIME $BYTES_SENT $BYTES_RCVD $PEERNAME" >>$FILEPPPSTAT

2. establish ppp connection, hangup
3. establish ippp connection, hangup
  

Actual Results:  20060125-09:11:49 ppp0 192.168.1.2 192.168.1.1 86400 467240144 1860844023
20060125-20:02:48


Expected Results:  ipppd logs similar information

Additional info:

pppd man page mentioned the variables in sections "SCRIPTS", while ipppd doesn't.

Looks like this is missing and needs to be solved in upstream, current CVS of isdn4k-utils do not know about setting environment at all :-(

Comment 1 Than Ngo 2006-05-02 10:16:08 UTC
yes, the current version does not support this feature yet and needs
to be fixed in upstream.