/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/newoe-19-poc-poc-clear\[root@east newoe-19-poc-poc-clear]# cp policies/* /etc/ipsec.d/policies/ kroot@swantest:/home/build/libreswan/testing/pluto/newoe-19-poc-poc-clear\[root@east newoe-19-poc-poc-clear]# echo "192.1.3.0/24" >> /etc/ipsec.d/policies/private-or-clear kroot@swantest:/home/build/libreswan/testing/pluto/newoe-19-poc-poc-clear\[root@east newoe-19-poc-poc-clear]# echo "0.0.0.0/0" >> /etc/ipsec.d/policies/clear kroot@swantest:/home/build/libreswan/testing/pluto/newoe-19-poc-poc-clear\[root@east newoe-19-poc-poc-clear]# 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. 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. 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: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/newoe-19-poc-poc-clear\[root@east newoe-19-poc-poc-clear]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/newoe-19-poc-poc-clear\[root@east newoe-19-poc-poc-clear]# # give OE policies time to load kroot@swantest:/home/build/libreswan/testing/pluto/newoe-19-poc-poc-clear\[root@east newoe-19-poc-poc-clear]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-19-poc-poc-clear\[root@east newoe-19-poc-poc-clear]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/newoe-19-poc-poc-clear\[root@east newoe-19-poc-poc-clear]# ../../pluto/bin/ipsec-look.sh ==== cut ==== start raw xfrm state: end raw xfrm state: ==== tuc ==== east Sat Sep 21 07:31:29 UTC 2019 XFRM state: XFRM policy: XFRM done IPSEC mangle TABLES NEW_IPSEC_CONN mangle TABLES ROUTING TABLES 192.0.2.0/24 dev eth0 proto kernel scope link src 192.0.2.254 NSS_CERTIFICATES Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI kroot@swantest:/home/build/libreswan/testing/pluto/newoe-19-poc-poc-clear\[root@east newoe-19-poc-poc-clear]# # A tunnel should have established kroot@swantest:/home/build/libreswan/testing/pluto/newoe-19-poc-poc-clear\[root@east newoe-19-poc-poc-clear]# grep "negotiated connection" /tmp/pluto.log kroot@swantest:/home/build/libreswan/testing/pluto/newoe-19-poc-poc-clear\[root@east newoe-19-poc-poc-clear 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'grep "negotiated connection" /tmp/pluto.log' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<