[Swan-dev] cannot load config '/etc/ipsec.conf': /etc/ipsec.conf:10: syntax error, unexpected STRING [crl_strict]

Andrew Cagney andrew.cagney at gmail.com
Tue Oct 6 22:16:33 UTC 2020


On Tue, 6 Oct 2020 at 14:11, Paul Wouters <paul at nohats.ca> wrote:
>
> On Tue, 6 Oct 2020, Andrew Cagney wrote:
>
> > I wonder if it would be prudent, in 4.0, to provide either an
> > alias+warning, or more a more specific error stating the replacement.
> > We've already seen one bug report related to this where the user was
> > simply following an example we provide.
> >
> > (yes I know I started the trend)
>
> We have had that situation for many years now (like 5-7 or so)
>
> I placed back aliaes for virtual_private and plutostderrlog because
> those are part of many default config files we shipped. I think the
> rest should really go or else we should forever keep them.

I think the middle ground is to reject the old names, but have the log
message spell out the replacement.  In the above noting that
crl_strict is replaced by crl-strict.  Other is to just allow [-_].


More information about the Swan-dev mailing list