/testing/guestbin/swan-prep
west #
 make -f PATH/share/selinux/devel/Makefile ipsecspd.pp 2> /dev/null
Compiling targeted ipsecspd module
Creating targeted ipsecspd.pp policy package
rm tmp/ipsecspd.mod tmp/ipsecspd.mod.fc
west #
 semodule -i ipsecspd.pp > /dev/null 2>/dev/null
west #
 rm ipsecspd.pp
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add labeled
002 "labeled": added IKEv2 connection
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair delete-on-retransmit
west #
 # expected to fail
west #
 ipsec auto --up labeled
1v2 "labeled" #1: initiating IKEv2 connection
1v2 "labeled" #1: sent IKE_SA_INIT request
1v2 "labeled" #1: sent IKE_AUTH request {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048}
002 "labeled" #2: IKE_AUTH response contained the error notification TS_UNACCEPTABLE
000 "labeled" #2: scheduling retry attempt 1 of an unlimited number, but releasing whack
west #
 echo done
done
west #
 ipsec whack --shutdown
west #
 semodule -r ipsecspd
libsemanage.semanage_direct_remove_key: Unable to remove module ipsecspd at priority 400. (No such file or directory).
semodule:  Failed!
west #
 rm -rf ipsecspd.fc ipsecspd.if tmp
west #
 
