Did you follow the guide how to install strongSwan 5 on Debian Wheezy? You may have noticed that strongSwan doesn’t automatically start when you reboot the server (tested with 5.1.0-3~bpo70+1). The fix requires a small modification to
# Provides: ipsec # Required-Start: $network $remote_fs # Required-Stop: $network $remote_fs
# Provides: ipsec # Required-Start: $network $remote_fs $syslog # Required-Stop: $network $remote_fs $syslog
Then reinitialize the boot sequence for ipsec:
$ insserv -r ipsec $ insserv ipsec
3 thoughts on “strongSwan 5 not autostarting on Debian”
I’ve just hit upon the situation, strongSwan doesn’t start when the system boots.
I’m guessing this is a problem related to the Debian packaging.
I’m wondering if you have submitted a bug report for this ?
I was going to, but first wanted to look at the actual package to see what might have been wrong. Then again it seemed to have been fixed in the latest backport, at least when I tried it last.
“update-rc.d ipsec defaults” should also work.