Modify

Opened 2 years ago

Last modified 19 months ago

#20336 new defect

ipsec: not found when installing strongswan

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

CC 15-05 RC3

installed xl2ptd and strongswan result in

/etc/rc.common: line 143: ipsec: not found

message at the end of installation

full instalation log:

root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_base.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_luci.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/luci/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/packages/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_routing.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/routing/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/telephony/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_management.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/management/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/targets/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_targets.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/targets/Packages.sig.
Signature check passed.
root@OpenWrt:~# opkg install xl2tpd
Installing xl2tpd (1.3.6-5619e1771048e74b729804e8602f409af0f3faea) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/packages/xl2tpd_1.3.6-5619e1771048e74b729804e8602f409af0f3faea_ramips_24kec.ipk.
Installing ppp-mod-pppol2tp (2.4.7-6) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/ppp-mod-pppol2tp_2.4.7-6_ramips_24kec.ipk.
Installing kmod-pppol2tp (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-pppol2tp_3.18.17-1_ramips_24kec.ipk.
Installing kmod-l2tp (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-l2tp_3.18.17-1_ramips_24kec.ipk.
Installing kmod-udptunnel4 (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-udptunnel4_3.18.17-1_ramips_24kec.ipk.
Installing kmod-udptunnel6 (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-udptunnel6_3.18.17-1_ramips_24kec.ipk.
Installing ip (4.0.0-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/ip_4.0.0-1_ramips_24kec.ipk.
Installing resolveip (2) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/resolveip_2_ramips_24kec.ipk.
Configuring kmod-udptunnel4.
Configuring kmod-udptunnel6.
Configuring kmod-l2tp.
Configuring ip.
Configuring resolveip.
Configuring kmod-pppol2tp.
Configuring ppp-mod-pppol2tp.
Configuring xl2tpd.
root@OpenWrt:~# opkg install openswan
Unknown package 'openswan'.
Collected errors:
 * opkg_install_cmd: Cannot install package openswan.
root@OpenWrt:~# opkg install strongswan
Installing strongswan (5.3.2-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/packages/strongswan_5.3.2-1_ramips_24kec.ipk.
Installing libpthread (0.9.33.2-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/libpthread_0.9.33.2-1_ramips_24kec.ipk.
Installing kmod-crypto-authenc (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-authenc_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-manager (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-manager_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-aead (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-aead_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-hash (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-hash_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-pcompress (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-pcompress_3.18.17-1_ramips_24kec.ipk.
Installing kmod-ipsec (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-ipsec_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-iv (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-iv_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-rng (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-rng_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-wq (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-wq_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-des (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-des_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-hmac (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-hmac_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-md5 (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-md5_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-sha1 (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-sha1_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-deflate (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-deflate_3.18.17-1_ramips_24kec.ipk.
Installing kmod-lib-zlib (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-lib-zlib_3.18.17-1_ramips_24kec.ipk.
Installing kmod-crypto-cbc (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-crypto-cbc_3.18.17-1_ramips_24kec.ipk.
Installing kmod-ipsec4 (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-ipsec4_3.18.17-1_ramips_24kec.ipk.
Installing kmod-iptunnel4 (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-iptunnel4_3.18.17-1_ramips_24kec.ipk.
Installing kmod-ipsec6 (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-ipsec6_3.18.17-1_ramips_24kec.ipk.
Installing kmod-iptunnel6 (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-iptunnel6_3.18.17-1_ramips_24kec.ipk.
Installing kmod-ipt-ipsec (3.18.17-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/kmod-ipt-ipsec_3.18.17-1_ramips_24kec.ipk.
Installing iptables-mod-ipsec (1.4.21-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/mt7620/packages/base/iptables-mod-ipsec_1.4.21-1_ramips_24kec.ipk.
Configuring libpthread.
Configuring kmod-crypto-aead.
Configuring kmod-crypto-hash.
Configuring kmod-crypto-pcompress.
Configuring kmod-crypto-manager.
Configuring kmod-crypto-rng.
Configuring kmod-crypto-wq.
Configuring kmod-crypto-iv.
Configuring kmod-lib-zlib.
Configuring kmod-crypto-deflate.
Configuring kmod-crypto-md5.
Configuring kmod-crypto-authenc.
Configuring kmod-crypto-des.
Configuring kmod-crypto-hmac.
Configuring kmod-crypto-sha1.
Configuring kmod-crypto-cbc.
Configuring kmod-ipsec.
Configuring kmod-iptunnel4.
Configuring kmod-ipsec4.
Configuring kmod-iptunnel6.
Configuring kmod-ipsec6.
Configuring kmod-ipt-ipsec.
Configuring iptables-mod-ipsec.
Configuring strongswan.
/etc/rc.common: line 143: ipsec: not found
root@OpenWrt:~# 

Attachments (0)

Change History (9)

comment:1 follow-up: Changed 2 years ago by anonymous

dmesg:

[54559.000000] l2tp_core: L2TP core driver, V2.0
[54559.010000] l2tp_netlink: L2TP netlink interface
[54559.170000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[55419.650000] authenc: Unknown symbol crypto_aead_type (err 0)
[55420.030000] Initializing XFRM netlink socket
[55420.050000] NET: Registered protocol family 15
[55420.210000] esp4: Unknown symbol crypto_alloc_aead (err 0)
[55420.220000] esp4: Unknown symbol crypto_aead_setauthsize (err 0)
[55420.590000] esp6: Unknown symbol crypto_alloc_aead (err 0)
[55420.600000] esp6: Unknown symbol crypto_aead_setauthsize (err 0)

comment:2 in reply to: ↑ 1 Changed 2 years ago by Barrak Hussien Bombama

# opkg install strongswan-full

# ipsec --version
Linux strongSwan U5.3.3/K3.18.20
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil, Switzerland
See 'ipsec --copyright' for copyright information.

comment:3 Changed 2 years ago by hauke

does this problem still exist in 15.05 final release?

comment:4 Changed 2 years ago by anonymous

Issue not resolved

comment:5 Changed 2 years ago by anonymous

can someone help us???

comment:6 Changed 2 years ago by anonymous

same problem

BusyBox v1.24.1 (2016-01-06 20:28:22 CET) built-in shell (ash)

_

| |.-----.-----.-----.| | | |.----.| |_

| - |_
_ | -| | | _ _|
|_||| ||

|| W I R E L E S S F R E E D O M

-----------------------------------------------------
DESIGNATED DRIVER (Bleeding Edge, r48138)
-----------------------------------------------------

  • 2 oz. Orange Juice Combine all juices in a
  • 2 oz. Pineapple Juice tall glass filled with
  • 2 oz. Grapefruit Juice ice, stir well.
  • 2 oz. Cranberry Juice

-----------------------------------------------------

root@OpenWrt:~#

comment:7 Changed 20 months ago by anonymous

Same problem here with the latest version.

comment:8 Changed 19 months ago by anonymous

The same situation.
I found it occurs when I exec 'opkg remove strongswan'.

root@OpenWrt:/# opkg remove strongswan
Removing package strongswan from root...
/etc/rc.common: line 143: ipsec: not found
You can force removal of packages with failed prerm scripts with the option:

--force-remove

No packages removed.
Collected errors:

  • pkg_run_script: package "strongswan" prerm script returned status 127.
  • opkg_remove_pkg: not removing package "strongswan", prerm script failed

comment:9 Changed 19 months ago by anonymous

try to install:
opkg install strongswan-utils
opkg install strongswan-default

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.