Debian Squeeze – Openswan
During installation, the /var/lib/dpkg/info/openswan.postinst post installation script fails to check whether a CA cert exists before trying to copy it.
This throws the mysterious error : "cp: cannot stat `': No such file or directory"
Wrap the offending line (around line 176) with a quick check :
if [ "$cafile" ]; then
cp "$cafile" /etc/ipsec.d/cacerts
fi
Advertisement