Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89895 - pptpd 1.2.3 and ppp version conflict
Summary: pptpd 1.2.3 and ppp version conflict
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 00:15 UTC by Raul Metsma
Modified: 2005-04-21 11:43 UTC (History)
0 users

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 Raul Metsma 2005-04-21 00:15:14 UTC
Upgrading from pptpd 1.2.1 to 1.2.3 I cant login with vpn.
ppp version is 2.4.3-r1

From syslog:
Apr 21 09:57:37 ibm1 pptpd[13278]: CTRL: Starting call (launching pppd, opening GRE)
Apr 21 09:57:37 ibm1 pptpd[13278]: CTRL: Starting call (launching pppd, opening GRE)
Apr 21 09:57:37 ibm1 pppd[13279]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so is for pppd version 2.4.2, this is 2.4.3
Apr 21 09:57:37 ibm1 pptpd[13278]: GRE: read(fd=6,buffer=804eac0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Apr 21 09:57:37 ibm1 pptpd[13278]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)


Reproducible: Always
Steps to Reproduce:
1. Upgrade pptpd from 1.2.1 to 1.2.3
2. Connect with vpn-ppp
3. Fails to connect

Actual Results:  
Can't log in

Expected Results:  
Can log in

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 09:58:17)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/mnt/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.168.5/gentoo-portage"
USE="x86 acpi alsa apache2 apm berkdb bitmap-fonts crypt curl emboss gd gdbm gif
gpm imagemagick imap imlib innodb jpeg ldap libg++ libwww maildir mng mp3
mppe-mppc ncurses nls oss pam pdflib perl png python readline sasl sdl slang
snmp spell ssl subject-rewrite tcpd tiff truetype truetype-fonts type1-fonts
xml2 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-04-21 06:52:04 UTC
please do the following:

cd /usr/portage/net-dialup/pptpd
ebuild pptpd-1.2.3.ebuild unpack
nano /var/tmp/portage/pptpd-1.2.3/work/pptpd-1.2.3/plugins/patchlevel.h
...change 2.4.2 to 2.4.3 and save
ebuild pptpd-1.2.3.ebuild merge

try it and tell me if it worked.
Comment 2 Raul Metsma 2005-04-21 07:15:17 UTC
Yes, this helps
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2005-04-21 11:43:14 UTC
fixed in 1.2.3-r1