Thanks, everyone! Patch applied to master as commit b424becaac58d8cb08fb19ea839be6807d3ed57f. Also, this is not technically a bugfix, but it seems important to support strongswan 5.7+ as it's already really old, so I backported the fix down to 2.13.
ipsec: Fix Strongswan configuration syntax
Strongswan seems to have .opt files in the source tree with the dotted option syntax. It seems that up until version 5.6, the syntax was also accepted by Strongswan.
However, the .opt files are converted to .conf files during Strongswan build, and the dotted syntax is no longer accepted by Strongswan (tested on 5.8.2).
The effect was that the ovs ipsec monitor fails to start Strongswan, since that complains with:
/etc/strongswan.d/ovs.conf:4: syntax error, unexpected ., expecting : or '{' or '=' [.]
I could not locate the exact code change in Strongswan that changed and caused this, but fact is that the *.conf files in /etc/strongswan.d have the same syntax as the PR suggests.
该提问来源于开源项目:openvswitch/ovs
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答
6条回答
为你推荐
- 上传数据库到腾讯云报错-bash: /petdb.sql: line 2: syntax error near unexpected token `('怎么解决?
- centos
- sql
- linux
- mysql
- 1个回答
- Python SMTP发送邮件报错SyntaxError: invalid syntax
- python
- 2个回答
- keil52单片机问题 SZ.C(42): error C141: syntax error near '}'
- c语言
- 3个回答
- SyntaxError: invalid syntax
- python
- 1个回答
- 报错:Uncaught SyntaxError: Invalid or unexpected token,找不到原因,纠结
- chrome
- javascript
- html5
- 1个回答
- 始终在pushJsonData中收到错误:parsererror:SyntaxError:我脚本中JSON输入[object Object]的意外结束
- ajax
- php
- javascript
- 1个回答
- 各位大佬,我想问下这个main为什么显示SyntaxError: invalid syntax, 怎样解决这个问题哇QAQ?
- 开发语言
- 1个回答
- sql语句SQL logic error near ",": syntax error一般错误出在哪里
- c#
- visual studio
- sqlite
- 2个回答
- Uncaught SyntaxError: missing ) after argument list 报错?
- html5
- 2个回答
- 初学TensorFlow,跟着视频上写的代码,出现SyntaxError: invalid syntax错误
- tensorflow
- 2个回答
- 使用webstorm 写js文件 被引入的时候报错SyntaxError: Unexpected identifier
- node.js
- javascript
- 1个回答
- #Shell 脚本# awk: line 6: syntax error at or near [ awk: line 14: syntax error at or near [
- bash
- 1个回答
- a.html:1 Unacaught SyntaxError: Unexpected token
- java
- 异常
- 2个回答
- Python:SyntaxError: invalid syntax
- python
- 1个回答
- jsonp报错Uncaught SyntaxError: Unexpected token :
- json
- 2个回答
- sqlite创建时候出现错误。errmsg: near "From": syntax error
- 3个回答
- Uncaught SyntaxError: Unexpected token ILLEGAL
- 4个回答
- 做js校验时出现 SyntaxError: illegal character错误
- 4个回答
- js Uncaught SyntaxError: Unexpected token }
- 3个回答
- ECOS :target.ld:46: syntax error一直报错
- ecos
- 3个回答