Bug 92023
Summary: | ip-up / ipup-post / ipup-routes does not add network routing for ppp devices | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul Moore <pmoore> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | denis, pierre-bugzilla, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 8.32-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-04-10 22:54:58 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 |
Description
Paul Moore
2003-05-31 18:27:07 UTC
I can confirm this. Same problem on FC1. I've built a VPN solution using ppp and initscripts. My solution to the problem is: --8<--------- --- initscripts-7.42.2.orig/sysconfig/network-scripts/ifup-post 2004-02-15 13:49:15.000000000 +0100 +++ initscripts-7.42.2/sysconfig/network-scripts/ifup-post 2004-02-15 14:23:33.000000000 +0100 @@ -12,7 +12,13 @@ /etc/sysconfig/network-scripts/ifup-aliases ${DEVICE} ${CONFIG} fi -/etc/sysconfig/network-scripts/ifup-routes ${DEVICE} ${DEVNAME} +# The real device may be sent as a second parameter + +PHYSDEVICE=${DEVICE} +[ -z $2 ] || [ "foo$2" = "fooboot" ] || + PHYSDEVICE=$2 + +/etc/sysconfig/network-scripts/ifup-routes ${PHYSDEVICE} ${DEVNAME} if [ "$PEERDNS" != "no" -o -n "$RESOLV_MODS" -a "$RESOLV_MODS" != "no" ]; then --8<--------- Also, is using $NAME for finding route files deprecated? That was the behaviour for RH9 but $DEVNAME is used in FC1. Sorry. This is needed also: --8<--------- --- initscripts-7.42.2.orig/ppp/ip-up 2004-02-15 13:49:15.000000000 +0100 +++ initscripts-7.42.2/ppp/ip-up 2004-02-15 14:36:03.000000000 +0100 @@ -8,7 +8,7 @@ LOGDEVICE=$6 REALDEVICE=$1 -[ -f /etc/sysconfig/network-scripts/ifcfg-${LOGDEVICE} ] && /etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE} +[ -f /etc/sysconfig/network-scripts/ifcfg-${LOGDEVICE} ] && /etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE} ${REALDEVICE} [ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local "$@" --8<--------- Fixed in initscripts-8.32-1. Thanks for your report. |