Age | Commit message (Collapse) | Author |
|
|
|
* debian/patches:
- 03_systemd-service refreshed for new upstream release.
|
|
We used to make the old ipsec name, which corresponds to the sysvinit
init script, available via an Alias directive in the systemd service
file (which follows upstream and is named strongswan.service).
Unfortunately this results in a situation where the strongswan-starter
postinst calls invoke-rc.d using the ipsec name before the service has
been installed, and thus uses the sysvinit script instead of systemd's
native unit. This results in some confusion later when the unit gets
installed.
To avoid this, ship a symlink in the package, this way the ipsec name is
available as soon as the package has been unpacked. Thanks to Michael
Biebl for the suggestion.
|
|
|
|
Primarily because otherwise the network may go down before charon gets
the opportunity to send deletes on exit, and it matches what the old
init script did.
Note that in Debian, network.target apparently runs after ifup so the
network is in most cases really up, so we don't need
network-online.target. (And charon uses rtnetlink to get notified of
changes anyway.)
|
|
|