Hi rhermsen
I take it that means if /usr/local/etc/strongswan/strongswan.conf
is present, the segfault does not occur?
... Normally the startup script will copy the .sample config file without .sample if it is not already present) ...
I think the startup scripts are unique to Tinycore. They get run not
only when an extension first gets installed, but every time you boot.
This is because Tinycore does not use a persistent file system for the
operating system, but rebuilds it from scratch when it boots.
This is the startup file from TC13 usr/local/tce.installed/strongswan :
for dir in /usr/local/etc/strongswan/ /usr/local/etc/strongswan/strongswan.d/ /usr/local/etc/strongswan/strongswan.d/charon/ /usr/local/etc/strongswan/swanctl/
do
cd $dir
for file in *.sample
do
if [ -r ${file%.sample} ]; then
echo "Verify if $dir/${file%.sample} requires changes."
echo "See $dir/$file for the example."
else
sudo -u tc cp $file ${file%.sample}
fi
done
done
There really should be a #!/bin/sh for the first line.
I don't believe this came from the strongswan source package.