]> git.ipfire.org Git - thirdparty/strongswan.git/commit
testing: Fix systemctl wrapper and adapt enabling services on winnetou
authorTobias Brunner <tobias@strongswan.org>
Tue, 27 Jun 2023 16:01:29 +0000 (18:01 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 13 Jul 2023 08:48:53 +0000 (10:48 +0200)
commit6b8b67be81b0dba48889c0c5b4a10a1f7533530f
tree921d6ff40fe679d8f3443a43f80f56ba13ddbec5
parentc1dbce29ed3f637a78bd910e92181b21e77144b7
testing: Fix systemctl wrapper and adapt enabling services on winnetou

The wrapper called the command twice for any unit but "strongswan" and
it didn't return the correct exit code.  This was noticed when an
if-updown script tried to check if systemd-resolved is active and always
succeeded, which caused failing attempts to configure it.

But now that the return code is correct, trying to enable bind9 won't
fail silently anymore if the unit doesn't exist (similar on older systems
for named), so this is adapted.
testing/hosts/default/usr/local/bin/systemctl
testing/scripts/build-guestimages