When stopping the VPN client under the 2.6 kernel, /etc/init.d/vpnclient is grepping for the "cisco_ipsec.ko" module from the lsmod listing instead of "cisco_ipsec". Reproducible: Always Steps to Reproduce: 1. /etc/init.d/vpnclient stop Actual Results: * Stopping Cisco VPN Client... * Failed: module cisco_ipsec.ko is not running. Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r13) ================================================================= System uname: 2.6.7-gentoo-r13 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHzGentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages prelink sandbox userpriv usersandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa avi berkdb bonobo cdr crypt cups dga directfb divx4linux dvd encode esd ethereal f77 fbcon foomaticdb gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imap imlib ipv6 java jpeg ldap libg++ libwww mad maildir mikmod mmx motif mozilla moznoirc moznomail mozsvg mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl pic png pnp python qt quicktime readline samba sdl skey slang spell sse ssl svga tcltk tcpd tiff truetype usagi usb vim-with-x x86 xml2 xmms xv zlib"
Created attachment 37306 [details, diff] Proposed Ebuild patch (remove dosed for 2.5/2.6 kernels) This patch removes the sed line in the Ebuild. Use this with the vpnclient.rc file patch.
Created attachment 37307 [details, diff] Proposed patch for vpnclient.rc This patch is for /usr/portage/net-misc/cisco-vpnclient-3des/files/vpnclient.rc file. It checks for kernel version and sets the VPNMOD properly. Booting between 2.4 and 2.6 kernels also work.
Obviously vpnclient in portage is broken on rsync and packages.gentoo.org
This should be fixed with newer versions of the client