Discussion:
[strongSwan] strongswan conf directory change
Priyadarshi, Amit 1. (Nokia - IN/Bangalore)
2018-07-16 09:51:49 UTC
Permalink
Hello Masoudi/ Kevin,

This is with reference to the discussion thread
https://lists.strongswan.org/pipermail/users/2013-November/005630.html
Let me quote the excerpt
Hello,
I am a tester recently doing some ipsec test using strongswan. I found I
was not able to change the strongswan confdir after I installed it,
changing the ipsec file(which is a script itself) doesn't work. Also I have
tried reinstalling with command "./configure --prefix=/usr
--sysconfdir=<some other location>", but it always installed it under the
same original location. Does anybody know how can I change the conf dir no
matter by reinstalling or something else?
Strongswan version: 4.6.3, I am using this version because I need a
special patch which can turn off cert_id_binding flag.
Platform: CentOS 5
Thanks,
Kevin
My query is
Were you able to make the sysconfdir configurable ?

Regards,
Amit Priyadarshi
Wei Sun
2018-10-05 18:28:15 UTC
Permalink
Hi Amit,

Somehow I missed the email initially in my inbox, sorry about that.

Today I look back at the configuration of my Strongswan, it's modifiable
via --sysconfdir=<PREFIX>/etc

You can give anything in your <PREFIX>, but according to Strongswan
manpage, "/etc" is strongly recommended.

Regards,
Kevin

On Mon, Jul 16, 2018 at 2:51 AM Priyadarshi, Amit 1. (Nokia - IN/Bangalore)
Post by Priyadarshi, Amit 1. (Nokia - IN/Bangalore)
Hello Masoudi/ Kevin,
This is with reference to the discussion thread
*https://lists.strongswan.org/pipermail/users/2013-November/005630.html*
<https://lists.strongswan.org/pipermail/users/2013-November/005630.html>
Let me quote the excerpt
* Hello,*
* I am a tester recently doing some ipsec test using strongswan. I found
I*
* was not able to change the strongswan confdir after I installed it,*
* changing the ipsec file(which is a script itself) doesn't work. Also I
have*
* tried reinstalling with command "./configure --prefix=/usr*
* --sysconfdir=<some other location>", but it always installed it under
the*
* same original location. Does anybody know how can I change the conf
dir no*
* matter by reinstalling or something else?*
* Some backgrounds:*
* Strongswan version: 4.6.3, I am using this version because I need a*
* special patch which can turn off cert_id_binding flag.*
* Platform: CentOS 5*
* Thanks,*
* Kevin*
My query is
Were you able to make the sysconfdir configurable ?
Regards,
Amit Priyadarshi
Loading...