Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284460 - net-dialup/pptpclient-1.7.2: wrong hardcoded path (/bin/ip iso /sbin/ip)
Summary: net-dialup/pptpclient-1.7.2: wrong hardcoded path (/bin/ip iso /sbin/ip)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2009-09-10 10:11 UTC by yegle
Modified: 2010-01-02 15:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yegle 2009-09-10 10:11:34 UTC
I'm trying to connect to a pptp vpn server, and I found this in debug message:
ipparam vpn             # (from /etc/ppp/peers/vpn)
nobsdcomp               # (from /etc/ppp/options.pptp)
nodeflate               # (from /etc/ppp/options.pptp)
require-mppe-128                # (from /etc/ppp/peers/vpn)
using channel 6
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sh: /bin/ip: No such file or directory
sh: /bin/ip: No such file or directory
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8b9918d> <pcomp> <accomp>]

actually the ip command is /usr/sbin/ip

I strings /usr/sbin/pptp and found this is hardcoded.

Reproducible: Always

Steps to Reproduce:
1.emerge pptp
2.try to connect to a pptp vpn server
3.you got it
Comment 1 yegle 2009-09-10 10:13:53 UTC
Sorry the ip command is here: /sbin/ip

$ strings /usr/sbin/pptp|grep ip
/bin/ip route delete %s
/bin/ip route replace %s
/bin/ip route get %s
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2009-09-16 21:36:43 UTC
Fixed in 1.7.2-r1.

Arches, please mark this version as stable.
Comment 3 Markus Meier gentoo-dev 2009-09-20 21:49:31 UTC
amd64/x86 stable
Comment 4 nixnut (RETIRED) gentoo-dev 2009-09-27 17:39:06 UTC
ppc stable
Comment 5 Tobias Klausmann (RETIRED) gentoo-dev 2009-09-30 17:22:04 UTC
Stable on alpha. Please consider fixing the missing dep on iproute2.
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2009-09-30 22:16:03 UTC
iproute2 has been added to RDEPEND.
Comment 7 Brent Baude (RETIRED) gentoo-dev 2010-01-02 14:43:50 UTC
ppc64 done
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-01-02 15:27:36 UTC
please close the bugs when you are done with them, thanks