Bug 179087 - ipppd do not set environment variables on ip-down
Summary: ipppd do not set environment variables on ip-down
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: isdn4k-utils
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-27 09:48 UTC by Peter Bieringer
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-02 10:16:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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