Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331447 - sys-apps/iproute2-2.6.35 prevents successful vpnc connection
Summary: sys-apps/iproute2-2.6.35 prevents successful vpnc connection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 336121 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-06 15:37 UTC by ByrneG
Modified: 2010-09-18 11:33 UTC (History)
9 users (show)

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


Attachments
Patch to make vpnc work again. (iproute2-2.6.35-ip-route-get.patch,431 bytes, patch)
2010-09-02 14:05 UTC, Jan Vansteenkiste
Details | Diff
Include patch. (iproute2-2.6.35-r2.ebuild,2.54 KB, text/plain)
2010-09-02 14:05 UTC, Jan Vansteenkiste
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ByrneG 2010-08-06 15:37:53 UTC
After updating to iproute2-2.6.35 my vpnc connection fails to work correctly.  A connection is established, but it is dropped after a few seconds with a "No response from target" error. I also noticed that when the vpnc-script is run a "RTNETLINK answers: No such device" error is generated.  Switching back to iproute2-2.6.34 resolves the problem.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-08-06 15:44:27 UTC
Please post your emerge --info. Thanks
Comment 2 ByrneG 2010-08-06 17:06:00 UTC
As requested:
$ emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, glibc-2.11.2-r0, 2.6.35-gentoo x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 06 Aug 2010 12:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.5, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk hal iconv java6 jpeg lcms ldap libnotify mad mikmod mmx mng modules mono mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Marcin Mirosław 2010-08-06 18:10:09 UTC
Next problem, with iproute2-2.6.35 ipv6 tunnel doesn't start. I'm getting:
 *   Creating tunnel he6 ...
ioctl: No buffer space available 
* ERROR: net.he6 failed to start

Downgrade to 2.6.34 && rmmod sit fix problem. It looks liike this version is badly damaged

Comment 4 Graham Murray 2010-08-06 20:21:51 UTC
I had the same problem with creating a named sit tunnel. Changing the name to sit1 in /etc/conf.d.net and it worked again. So it looks as though iproute2-2,6.35 may not like sit tunnels named anything but sitn.
Comment 5 Marcin Mirosław 2010-08-06 22:54:17 UTC
In my case tunnel is named "he6", iproute2 still doesn't like it.

emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/server, gcc-4.4.4, glibc-2.11.2-r0, 2.6.35-gentoo i686)
=================================================================
System uname: Linux-2.6.35-gentoo-i686-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 05 Aug 2010 15:45:06 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.5, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mfpmath=sse -pipe -fpeel-loops -pipe -ftracer -floop-block -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-strip-mine -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mfpmath=sse -pipe -fpeel-loops -pipe -ftracer -floop-block -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-strip-mine -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL.ISO-8859-2"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--inplace -6"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage/miro-overlay/staging /usr/local/portage/miro-overlay/portage /usr/local/SUNRISE/maintainer-wanted"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage/"
USE="a52 aac acl acpi adns aio apache2 ares aspell async audiofile automount bash-completion bcmath berkdb bittorrent bzip2 caps cgi chroot clamav clamdtop cli cracklib crypt curl cxx daemon dhcp domainkeys dri dts dvd embedded exif exiscan exiscan-acl extras faac faad fam flac fortran ftp gd gdbm gmp gnutls gpm graphite hash iconv idn ieee1394 iproute2 ipv6 javascript jpeg justify logrotate logwatch lzo maildir mmap mmx mmxext modules mouse mp3 mp4 mpeg mudflap nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses netpbm network-cron nls nntp nptl nptlonly ogg openmp openssl optimization optimized-qmake pam pcre perl png pop3d posix pppd prelude profile python quotas rar readline reflection samba session sharedmem shorten slang smp sockets spell spf spl sse sse2 sse3 ssl ssse3 stats subtitles svg swat sysfs syslog theora threads tiff tokenizer tools tordns tos transcode unicode unzip urandom usb uudeview vcd vdpau vhosts vim vim-pager vim-syntax visibility vorbis wifi x86 xattr xfs xml xmlreader xmlrpc xmlwriter xorg xsl xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="tarpit"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 6 Jochen Schlick 2010-08-07 13:55:51 UTC
not only this...

together with a 2.6.35-gentoo kernel the network access to hosts outside the local subnet is no longer working !!! netstat -r, route looks fine but only connections to hosts in the same subnet are possible. 

reverting to iproute-2.6.34 everything works again.
Comment 7 oleg 2010-08-07 17:17:46 UTC
pptp tunnels and vpn stopped to work with iproute2-2.6.35. Connection showing that /sbin/ip is missing.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-07 17:43:44 UTC
Fixed with 2.6.35-r1
Comment 9 ByrneG 2010-08-09 10:44:27 UTC
I have re-opened the bug as the latest update does not resolve the vpnc problem. Simple things don't seem to work, for example an "ip -s route get 127.0.0.1/32" doesn't return anything with iproute2-2.6.35 but with the previous version the output is as follows:
---
# ip -s route get 127.0.0.1/32
local 127.0.0.1 dev lo  src 127.0.0.1 
    cache <local>  users 1 mtu 16436 advmss 16396 hoplimit 64
---

Using a symlink may have fixed some of the other problems other were reporting, but the basic functionality doesn't seem to be working for me and vpnc fails to set up a working tunnel.
Comment 10 Marshall Banana 2010-08-09 20:16:23 UTC
yeah, i can confirm that 2.6.35-r1 doesn't fix the problem...

might this link give a little clue to the solution?
http://patchwork.ozlabs.org/patch/61228/
Comment 11 Martin von Gagern 2010-08-10 20:25:23 UTC
(In reply to comment #10)
> http://patchwork.ozlabs.org/patch/61228/

The patch there fixes the issue for me, i.e. makes my vpnc connection work again. I'd like to see it included in a -r2 pretty soonish.
Comment 12 Martin von Gagern 2010-08-31 18:05:02 UTC
Seems upstream settled on this fix:
http://git.kernel.org/?p=linux/kernel/git/shemminger/iproute2.git;a=commitdiff;h=c73f3e02f8ae25e5daad0367690a3069895dd8a3
My vpnc works with that. Can we get that included in a revbump?
Comment 13 Jan Vansteenkiste 2010-09-02 14:05:17 UTC
Created attachment 245736 [details, diff]
Patch to make vpnc work again.
Comment 14 Jan Vansteenkiste 2010-09-02 14:05:43 UTC
Created attachment 245737 [details]
Include patch.
Comment 15 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-11 15:58:18 UTC
*** Bug 336121 has been marked as a duplicate of this bug. ***
Comment 16 SpanKY gentoo-dev 2010-09-18 11:33:22 UTC
ive added the fix from upstream to 2.6.35-r2.  thanks for the link.