weixin_39757739
weixin_39757739
2020-12-06 02:08

strongSwan missing starter


$ ipsec start
  /opt/sbin/ipsec: exec: line 328: /opt/lib/ipsec/starter: not found

I have these packages installed:


$ opkg list-installed | grep -i swan
  strongswan - 5.5.0-1
  strongswan-utils - 5.5.0-1

and there is no starter in any of them:


$ opkg files strongswan-utils
  Package strongswan-utils (5.5.0-1) is installed on root and has the following files:
  /opt/lib/ipsec/scepclient
  /opt/bin/pki
  /opt/sbin/ipsec
$ opkg files strongswan
  Package strongswan (5.5.0-1) is installed on root and has the following files:
  /opt/etc/ipsec.conf
  /opt/etc/init.d/S90strongswan
  /opt/lib/ipsec/libstrongswan.so.0
  /opt/etc/ipsec.secrets
  /opt/etc/strongswan.conf
  /opt/lib/ipsec/libstrongswan.so.0.0.0
  /opt/etc/ipsec.user

该提问来源于开源项目:Entware/Entware-ng

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39725873 weixin_39725873 4月前

    We know that strongswan is (was) working recently in Entware https://github.com/Entware/entware/issues/159 https://github.com/Entware/entware/issues/194

    点赞 评论 复制链接分享
  • weixin_39725873 weixin_39725873 4月前

    /opt/lib/ipsec/starter is a part of binary package strongswan-mod-stroke. It is not a script, it is a binary.

    Entware developpers do not test or use every package.

    点赞 评论 复制链接分享
  • weixin_39757739 weixin_39757739 4月前

    There is a startup script but no starter.

    
    $ /opt/etc/init.d/S90strongswan start
      /opt/sbin/ipsec: exec: line 328: /opt/lib/ipsec/starter: not found
    
    点赞 评论 复制链接分享
  • weixin_39725873 weixin_39725873 4月前

    Entware startup scripts - /opt/etc/init.d/S*. There is a startup script /opt/etc/init.d/S90strongswan

    点赞 评论 复制链接分享