openvswitch-ipsec daemon fails to start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openvswitch (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In Ubuntu 22.04 LTS (jammy) with openvswitch package v2.17.0-0ubuntu1 the https:/
# /usr/share/
2022-08-
2022-08-
Stopping strongSwan IPsec failed: starter is not running
Starting strongSwan 5.9.5 IPsec [starter]...
2022-08-
Traceback (most recent call last):
File "/usr/share/
main()
File "/usr/share/
schema_helper = ovs.db.
File "/usr/lib/
schema_json = ovs.json.
File "/usr/lib/
stream = open(name, "r")
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/
2022-08-
Traceback (most recent call last):
File "/usr/share/
main()
File "/usr/share/
schema_helper = ovs.db.
File "/usr/lib/
schema_json = ovs.json.
File "/usr/lib/
stream = open(name, "r")
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/
$ cat /usr/lib/
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# The @variables@ in this file are replaced by default directories for
# use in python/ovs/dirs.py in the source directory and replaced by the
# configured directories for use in the installed python/ovs/dirs.py.
#
import os
# Note that the use of """ is to aid in dealing with paths with quotes in them.
PKGDATADIR = os.environ.
RUNDIR = os.environ.
LOGDIR = os.environ.
BINDIR = os.environ.
DBDIR = os.environ.
if not DBDIR:
sysconfdir = os.environ.
if sysconfdir:
DBDIR = "%s/openvswitch" % sysconfdir
else:
DBDIR = """/usr/