diff options
author | Romain Francoise <rfrancoise@debian.org> | 2015-04-04 18:01:26 +0200 |
---|---|---|
committer | Romain Francoise <rfrancoise@debian.org> | 2015-04-04 18:01:26 +0200 |
commit | 1b7c683a32c62b6e08ad7bf5af39b9f4edd634f3 (patch) | |
tree | 8ff3774a837a26be25d3ca872a4ac85734d8bfaf /src/libhydra/plugins/attr/Makefile.am | |
parent | 1e82f6c6c4231c3aeb4c20bd56d8aa26852625f7 (diff) | |
download | vyos-strongswan-1b7c683a32c62b6e08ad7bf5af39b9f4edd634f3.tar.gz vyos-strongswan-1b7c683a32c62b6e08ad7bf5af39b9f4edd634f3.zip |
Fix handling of ipsec name under systemd (#781209)
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.
Diffstat (limited to 'src/libhydra/plugins/attr/Makefile.am')
0 files changed, 0 insertions, 0 deletions