/testing/guestbin/swan-prep ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# cp test.conf /tmp/test.conf ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# ipsec pluto --config /tmp/test.conf ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# /testing/pluto/bin/wait-until-pluto-started ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# echo "initdone" initdone ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# # did pluto forked addconn pickup right config file location and load the connection ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# ipsec status | grep westnet-eastnet-ipv4-psk-ikev2 | grep "eroute owner" 000 "westnet-eastnet-ipv4-psk-ikev2": 192.0.1.0/24===192.1.2.45<192.1.2.45>[@west]...192.1.2.23<192.1.2.23>[@east]===192.0.2.0/24; unrouted; eroute owner: #0 ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# # does status show /tmp/test.conf as config file used for startup ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# ipsec status | grep configfile 000 configdir=/etc, configfile=/tmp/test.conf, secrets=/etc/ipsec.secrets, ipsecdir=/etc/ipsec.d ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# # rhbz#1645137 test ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# ipsec addconn --config /tmp/test.conf longike 002 added IKEv2 connection "longike" ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# ipsec whack --shutdown # stop will cause reading /etc/ipsec.conf 002 shutting down ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# # rhbz#1625303 test ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# cp bomb.conf /etc/ipsec.conf ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# cp include-bomb.conf /etc/ipsec.d/ ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# restorecon /etc/ipsec.conf /etc/ipsec.d/include-bomb.conf ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# # should fail properly at maxdepth recursion ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# ipsec addconn --verbose --config /etc/ipsec.conf --checkconfig opening file: /etc/ipsec.conf debugging mode enabled including file '/etc/ipsec.d/include-bomb.conf' ('/etc/ipsec.d/include-bomb.conf') from /etc/ipsec.conf:9 including file '/etc/ipsec.d/include-bomb.conf' ('/etc/ipsec.d/include-bomb.conf') from /etc/ipsec.d/include-bomb.conf:3 including file '/etc/ipsec.d/include-bomb.conf' ('/etc/ipsec.d/include-bomb.conf') from /etc/ipsec.d/include-bomb.conf:3 including file '/etc/ipsec.d/include-bomb.conf' ('/etc/ipsec.d/include-bomb.conf') from /etc/ipsec.d/include-bomb.conf:3 including file '/etc/ipsec.d/include-bomb.conf' ('/etc/ipsec.d/include-bomb.conf') from /etc/ipsec.d/include-bomb.conf:3 including file '/etc/ipsec.d/include-bomb.conf' ('/etc/ipsec.d/include-bomb.conf') from /etc/ipsec.d/include-bomb.conf:3 including file '/etc/ipsec.d/include-bomb.conf' ('/etc/ipsec.d/include-bomb.conf') from /etc/ipsec.d/include-bomb.conf:3 including file '/etc/ipsec.d/include-bomb.conf' ('/etc/ipsec.d/include-bomb.conf') from /etc/ipsec.d/include-bomb.conf:3 including file '/etc/ipsec.d/include-bomb.conf' ('/etc/ipsec.d/include-bomb.conf') from /etc/ipsec.d/include-bomb.conf:3 end of file /etc/ipsec.d/include-bomb.conf resuming /etc/ipsec.d/include-bomb.conf:3 end of file /etc/ipsec.d/include-bomb.conf resuming /etc/ipsec.d/include-bomb.conf:3 end of file /etc/ipsec.d/include-bomb.conf resuming /etc/ipsec.d/include-bomb.conf:3 end of file /etc/ipsec.d/include-bomb.conf resuming /etc/ipsec.d/include-bomb.conf:3 end of file /etc/ipsec.d/include-bomb.conf resuming /etc/ipsec.d/include-bomb.conf:3 end of file /etc/ipsec.d/include-bomb.conf resuming /etc/ipsec.d/include-bomb.conf:3 end of file /etc/ipsec.d/include-bomb.conf resuming /etc/ipsec.d/include-bomb.conf:3 end of file /etc/ipsec.d/include-bomb.conf resuming /etc/ipsec.d/include-bomb.conf:3 end of file /etc/ipsec.d/include-bomb.conf resuming /etc/ipsec.conf:9 end of file /etc/ipsec.conf ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# echo done done ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# ../bin/check-for-core.sh ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04]# if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi ]0;root@swantest:/home/build/libreswan/testing/pluto/addconn-04[root@west addconn-04 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<>>>>>>>>>cut>>>>>>>>>> done <<<<<<<<<