Strongswan init.d scripts contain invalid status function
Both the charon and strongswan init.d scripts define status functions that return actual daemon status; however, this improperly overrides the openrc status function (which works the same for every other init.d script I have seen). For example:
development-tddev-cr-vpnc-252-15:~# /etc/init.d/networking status
* status: started
development-tddev-cr-vpnc-252-15:~# /etc/init.d/strongswan status
* StrongSwan Status (verbose): …
…
Perhaps you could rename the new status function (and don’t forget to export the new function in strongswan init.d script)
(from redmine: issue id 4979, created on 2015-12-28, closed on 2017-04-07)
- Changesets:
- Revision 41e3d4b3 by Timo Teräs on 2016-01-06T11:35:36Z:
main/strongswan: rename init.d status to fullstatus
preserve 'status' action as per openrc standard. renamed to
fullstatus similar to apache2. ref #4979
- Revision 6c5f2001 by Timo Teräs on 2016-01-08T13:10:04Z:
main/strongswan: rename init.d status to fullstatus
preserve 'status' action as per openrc standard. renamed to
fullstatus similar to apache2. ref #4979
(cherry picked from commit 41e3d4b38ac6e11040b69100ac6d43a316701b7c)
- Revision c4909ed1 by Timo Teräs on 2016-01-08T13:11:47Z:
main/strongswan: rename init.d status to fullstatus
preserve 'status' action as per openrc standard. renamed to
fullstatus similar to apache2. ref #4979
(cherry picked from commit 41e3d4b38ac6e11040b69100ac6d43a316701b7c)