#!/bin/sh ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam[root@nic ikev2-60-pam]# iptables -t nat -F ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam[root@nic ikev2-60-pam]# # Display the table, so we know it is correct. ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam[root@nic ikev2-60-pam]# iptables -t nat -L -n Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain INPUT (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam[root@nic ikev2-60-pam]# iptables -L -n Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam[root@nic ikev2-60-pam]# echo initdone initdone ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam[root@nic ikev2-60-pam]# : ==== end ==== ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam[root@nic ikev2-60-pam]# if [ -f /etc/pam.d/pluto.stock ]; then mv /etc/pam.d/pluto.stock /etc/pam.d/pluto ; fi ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam[root@nic ikev2-60-pam]# : ==== cut ==== ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam[root@nic ikev2-60-pam]# ipsec auto --status whack: Pluto is not running (no "/run/pluto/pluto.ctl") ]0;root@swantest:/home/build/libreswan/testing/pluto/ikev2-60-pam[root@nic ikev2-60-pam 33]# >>>>>>>>>>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' <<<<<<<<<>>>>>>>>>cut>>>>>>>>>> done <<<<<<<<<