Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 60170

Summary: cisco-vpnclient-3des-4.0.5 - failed stopping client under 2.6 kernel
Product: Gentoo Linux Reporter: Allan Que <allan>
Component: New packagesAssignee: Jay Pfeifer (RETIRED) <pfeifer>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proposed Ebuild patch (remove dosed for 2.5/2.6 kernels)
Proposed patch for vpnclient.rc

Description Allan Que 2004-08-12 13:14:35 UTC
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"
Comment 1 Allan Que 2004-08-12 13:19:34 UTC
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.
Comment 2 Allan Que 2004-08-12 13:27:28 UTC
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.
Comment 3 Thomas Bettler 2004-09-24 08:08:04 UTC
Obviously vpnclient in portage is broken on rsync and packages.gentoo.org
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-05 13:19:00 UTC
This should be fixed with newer versions of the client