1
23.7 Legacy Series / configctl ipsec restart "crashes" ipsec
« on: October 18, 2023, 08:07:50 pm »
Hi there,
Every time I restart the ipsec/strongswan service, either from the Dashboard GUI or through CLI, the strongswan service does not start again.
I have tried different commands, and it's only restart that fails (stop + start works OK). Nothing on the ipsec/strongswan logs as the service never starts again.
I have tried adding a sleep on the actions file, but still not working (I have restarted the configd service).
Any ideas? Happy to run some additional tests/provide logs.
Thanks!
Every time I restart the ipsec/strongswan service, either from the Dashboard GUI or through CLI, the strongswan service does not start again.
I have tried different commands, and it's only restart that fails (stop + start works OK). Nothing on the ipsec/strongswan logs as the service never starts again.
Code: [Select]
root@opnsense:~ # configctl ipsec restart
OK
And:
root@opnsense:~ # pluginctl -s strongswan restart
Service `strongswan' has been restarted.
I have tried adding a sleep on the actions file, but still not working (I have restarted the configd service).
Code: [Select]
[restart]
command:/usr/local/etc/rc.d/strongswan onestop; /usr/bin/sleep 5; /usr/local/sbin/pluginctl -c ipsec
parameters:
type:script
message:IPsec service restart
description:Restart IPsec service
Any ideas? Happy to run some additional tests/provide logs.
Thanks!