Bug 9419
| Summary: | Wrong DEVICE parameter to /sbin/ifup-local for PPP interfaces | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Alexander V. Konstantinou <akonstan> |
| Component: | initscripts | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-02-28 16:31:34 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: | |||
? The ifcfg-ppp<whatever> files certainly should exist in the normal cases. |
The /etc/ppp/ip-up script does not set the DEVICE environment variable before invoking /etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE} for a PPP connection. Since the ifcfg-* file does not exist for ppp devices, the ifup-post does not pass the correct device name to the ifup-local script. In fact, it passes the PPP device name (e.g. /dev/modem) instead of "ppp0". Solutions (several possible) : 1. Add the following line to /etc/ppp/ip-up before invoking ifup-post : export DEVICE=$REALDEVICE 2. Modify ifup-post to check if the ifcfg-${LOGDEVICE} file exists, and if not, set the DEVICE variable to the logdevice specified in the filename