# rhbz#1313816 ]0;root@swantest:/home/build/libreswan/testing/pluto/basic-pluto-08-misc[root@west basic-pluto-08-misc]# mkdir /tmp/rhbz1313816 ]0;root@swantest:/home/build/libreswan/testing/pluto/basic-pluto-08-misc[root@west basic-pluto-08-misc]# rm -f /etc/ipsec.d/*.* ]0;root@swantest:/home/build/libreswan/testing/pluto/basic-pluto-08-misc[root@west basic-pluto-08-misc]# # should abort, not crash, due to missing nss ]0;root@swantest:/home/build/libreswan/testing/pluto/basic-pluto-08-misc[root@west basic-pluto-08-misc]# ipsec pluto --rundir /tmp/rhbz1313816 --nofork --stderrlog --log-no-time Pluto initialized NSS DB directory: sql:/var/lib/ipsec/nss Initializing NSS Opening NSS database "sql:/var/lib/ipsec/nss" read-only Initialization of NSS with read-only database "sql:/var/lib/ipsec/nss" failed (-8174) FATAL: NSS initialization failure ]0;root@swantest:/home/build/libreswan/testing/pluto/basic-pluto-08-misc[root@west basic-pluto-08-misc 6]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 6 west.sh 'ipsec pluto --rundir /tmp/rhbz1313816 --nofork --stderrlog --log-no-time' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 6 west.sh '#' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 6 west.sh '# rhbz#1041576 start pluto in dir not owned by root' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 6 west.sh '# should not fail with "pluto: unable to create lock dir:"' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 6 west.sh '# not using /tmp or /var/tmp/ due to specialness of parent dir in test' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 west.sh 'cp /etc/ipsec.d/*.* /var/cache/otheruser/etc/' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 west.sh 'mv /etc/ipsec.conf /var/cache/otheruser/etc/' <<<<<<<<<>>>>>>>>>cut>>>>>>>>>> done <<<<<<<<<