libreswan-openrc (Alpine 3.16.2) uses /sbin/runscript rather than /sbin/openrc-run
The libreswan-openrc package creates /etc/init.d/ipsec
. This script uses the shebang line #!/sbin/runscript
rather than the expected #!/sbin/openrc-run
.
In it's current configuration the result is this:
hostname:~# service ipsec
* service: No such file or directory
hostname:~# /etc/init.d/ipsec
-ash: /etc/init.d/ipsec: not found
When corrected the script works as expected. Correcting this bug is trivial, but I am not able to submit a merge request at this time - apologies.