openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
4.03k stars 3.5k forks source link

libreswan compiled with wrong options causing daemon crash #16912

Open paulwouters opened 3 years ago

paulwouters commented 3 years ago

Maintainer: @lucize Environment: root@gw:~# uname -a Linux gw.nohats.ca 4.14.180 #0 SMP Sat May 16 18:32:20 2020 armv7l GNU/Linux root@gw:~# cat /etc/openwrt_release DISTRIB_ID='OpenWrt' DISTRIB_RELEASE='19.07.3' DISTRIB_REVISION='r11063-85e04e9f46' DISTRIB_TARGET='mvebu/cortexa9' DISTRIB_ARCH='arm_cortex-a9_vfpv3-d16' DISTRIB_DESCRIPTION='OpenWrt 19.07.3 r11063-85e04e9f46' DISTRIB_TAINTS='' root@gw:~# cat /etc/openwrt_version r11063-85e04e9f46 root@gw:~# ipsec version Linux Libreswan 3.32 (netkey) on 4.14.180

Description:

Oct 17 18:02:08.687622: Failed to initialize unbound libevent ABI, please recompile libunbound with libevent support or recompile libreswan without USE_DNSSEC Oct 17 18:02:08.685694: seccomp security for crypto helper not supported Oct 17 18:02:08.687796: 2 crypto helpers shutdown Oct 17 18:02:08.697944: ABORT: ASSERTION FAILED: event_initialized(&se->ev) (in free_signal_handlers() at server.c:635) Aborted

Please recompile package with USE_DNSSEC=false or get the libunbound package recompiled with libevent support.

Currently, I have to downgrade to libreswan 3.27 to make it start at all

lucize commented 3 years ago

sorry, kind of busy, feel free to make a PR against that

paulwouters commented 3 years ago

same is true for 19.07.8. will do.

paulwouters commented 3 years ago

I created https://github.com/openwrt/packages/pull/16913

lucize commented 3 years ago

@paulwouters I've looked into unbound and it seems that and for v19 unbound-heavy version contains the libevent that was later merged into only one package, can you verify that and I guess the solution is to change the dependency to libunbound-heavy

paulwouters commented 3 years ago

I don’t have the v19 anymore for testing as I upgraded to v21.

Paul

On Sat, Oct 23, 2021 at 4:54 PM Lucian CRISTIAN @.***> wrote:

@paulwouters https://github.com/paulwouters I've looked into unbound and it seems that and for v19 it seems that heavy version contains the libevent that was later merged into only one package, can you verify that and I guess the solution is to change the dependency to libunbound-heavy

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openwrt/packages/issues/16912#issuecomment-950213862, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUASQ5XUHD7C3ATPYLYAYZ3UIMOIRANCNFSM5GFCMNWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.