Package: racoon Version: 1:0.5.2-1 Severity: normal Tags: patch "/etc/init.d/racoon start" is producing error messages like the following on my system: insmod: error inserting '/lib/modules/2.6.12.3/kernel/crypto/crc32c.ko': -1 Unknown symbol in module insmod: error inserting '/lib/modules/2.6.12.3/kernel/net/ipv6/ipcomp6.ko': -1 Unknown symbol in module
These errors come up because the crc32c and ipcomp6 kernel modules have dependencies on other modules and insmod does not insert them. modprobe does insert dependencies. The attached patch to /usr/sbin/racoon-tool alters racoon-tool to use /sbin/modprobe instead of /sbin/insmod to load kernel modules. Also, "/sbin/modprobe -r" is used to remove modules instead of /sbin/rmmod. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.12.3 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages racoon depends on: ii debconf 1.4.30.13 Debian configuration management sy ii ipsec-tools 1:0.5.2-1 IPsec tools for Linux ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libssl0.9.7 0.9.7e-3 SSL shared libraries ii perl 5.8.4-8 Larry Wall's Practical Extraction -- debconf information: * racoon/config_mode: racoon-tool
--- racoon-tool.orig 2005-05-04 02:33:10.000000000 -0600 +++ racoon-tool 2005-07-26 14:36:47.000000000 -0600 @@ -2413,12 +2413,12 @@ return 1 if ( ! -f $modtoload ); - return 1 if ( ! -f "/sbin/insmod" ); + return 1 if ( ! -f "/sbin/modprobe" ); $modname = basename("$modtoload", "$modext"); if ( ! grep /^${modname}$/, @modules ) { - system ( "/sbin/insmod $modtoload" ); + system ( "/sbin/modprobe $modname" ); } return 0 @@ -2434,7 +2434,7 @@ return 0; } - system ( "/sbin/rmmod $modname > /dev/null 2>&1" ); + system ( "/sbin/modprobe -r $modname > /dev/null 2>&1" ); return 0; }