when ipsec need to be automatically restarted by _plutorun after any error, the call /etc/init.d/ipsec script didn't work because it's called with wrong args : setup _autorestart. So, ipsec just stop working. thanks. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: Sep 8 15:55:03 EL38SR015 ipsec__plutorun: /usr/lib/ipsec/_plutorun: line 1: 18692 Aborted /usr/libexec/ipsec/pluto --nofork --secretsfile /etc/ipsec/ipsec.secrets --policygroupsdir /etc/ipsec/ipsec.d/policies --debug-none --uniqueids --nat_traversal --virtual_private %v4:10.0.0.0/8,%v4:172.16.0.0/12,%v4:192.168.0.0/16 Sep 8 15:55:03 EL38SR015 ipsec__plutorun: !pluto failure!: exited with error status 134 (signal 6) Sep 8 15:55:03 EL38SR015 ipsec__plutorun: restarting IPsec after pause... Sep 8 15:55:13 EL38SR015 rc-scripts: ERROR: wrong args. ( _autorestart / _autorestart ) Sep 8 15:55:13 EL38SR015 rc-scripts: Usage: ipsec { start|stop|restart } Sep 8 15:55:13 EL38SR015 rc-scripts: ipsec without arguments for full help Expected Results: ipsec restarting correctly. Section in script _plutorun. 258 echo "!pluto failure!: exited with error status $st" 259 echo "restarting IPsec after pause..." 260 ( 261 sleep 10 262 ipsec setup _autorestart 263 264 ) </dev/null >/dev/null 2>&1 & for now, I call "/etc/init.d/ipsec restart" in this script instead of "ipsec setup _autorestart".
I've assumed the maintainer position.
It seems it has been fixed in openswan-2.4.4. In this version, "ipsec setup _autorestart" is a valid command line.