/testing/guestbin/swan-prep west # grep right.libreswan.org /etc/hosts > /dev/null && echo "TEST FAILED - should not have /etc/hosts entry at start" west # ipsec start Redirecting to: [initsystem] west # /testing/pluto/bin/wait-until-pluto-started west # ipsec auto --add named west # ipsec status | grep "===" # should show %dns for pending resolve whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) west # echo "initdone" initdone west # sleep 5 west # echo "192.1.2.23 right.libreswan.org" >> /etc/hosts west # # trigger DDNS event (saves us from waiting) west # ipsec whack --ddns whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) west # # there should be no states west # ipsec status |grep STATE_ whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) west # ipsec status | grep "===" # should no longer show %dns as resolving completed whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) west # # confirm it all resolved by bringing the conn up manually west # ipsec auto --up named whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) west # echo done done west # ../bin/check-for-core.sh west # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi