/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# ipsec start Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Redirecting to: /etc/init.d/ipsec start Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Starting pluto IKE daemon for IPsec: kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# cp resolv.conf /etc kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# # need to disable ipv6 and activate auto-interface kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# cp west-unbound.conf /etc/unbound/unbound.conf kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# # will throw an error about bad unresolvable name kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# ipsec status |grep "===" # should show %dns for pending resolving whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh 'ipsec status |grep "===" # should show %dns for pending resolving' <<<<<<<<< /dev/null 2>&1 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# # use modified service file that skips ICANN root key checks kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# cat /lib/systemd/system/unbound.service | grep -v ExecStartPre > /etc/systemd/system/unbound.service kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# systemctl daemon-reload kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# systemctl start unbound.service kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02]# unbound-control local_data right.libreswan.org 3600 IN A 192.1.2.23 [1566825032] unbound-control[9552:0] error: connect: Connection refused for 127.0.0.1 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-ddns-02\[root@west ikev2-ddns-02 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh 'unbound-control local_data right.libreswan.org 3600 IN A 192.1.2.23' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh '# trigger DDNS event (saves us from waiting)' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 westrun.sh 'ipsec whack --ddns' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 westrun.sh '# give conn time to establish by itself' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh 'rm /etc/resolv.conf' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh '# clean up after ourselves' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<