Hi,
`man ipsec` says:
ENVIRONMENT
The following environment variables control where strongSwan
finds its components. The ipsec command
sets them if they are not already set.
IPSEC_DIR directory containing ipsec programs and
utilities
IPSEC_SBINDIR directory containing ipsec command
IPSEC_CONFDIR directory containing configuration files
IPSEC_PIDDIR directory containing PID/socket files
IPSEC_SCRIPT name of the ipsec script
IPSEC_NAME name of ipsec distribution
IPSEC_VERSION version numer of ipsec userland and kernel
IPSEC_STARTER_PID PID file for ipsec starter
IPSEC_CHARON_PID PID file for IKE keying daemon
So from reading the man page I would expect that I can set IPSEC_CONFDIR
and when I invoke ipsec, that it would use my defined IPSEC_CONFDIR
variable.
But when you read /usr/sbin/ipsec you will notice that the script doesn't
honor the already set environment variables, instead it will always set
(overwrite) them with some defaults.
This seems to be already discussed before on the mailing list, but wasn't
fixed:
https://lists.strongswan.org/pipermail/users/2009-September/003863.html
Should I fill a bug or will you do? At least, if you don't want to support
that, you should fix the documentation. Or am I wrong?
Thanks!
--
Regards,
Igor
_______________________________________________
Users mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/users