- openvswitch-switch init scripts (Closes: #910474.
- ovn-central.init (Closes: #910472).
- ovn-host.init (Closes: #910475).
- ovn-controller-vtep.init (Closes: #910476).
* Added mkdir -p /var/run in ovs startup (Closes: #930843).
* Fix installing vtep/vtep-ctl (Closes: #866319).
* Fix moving /usr/sbin/ovs-vswitchd around on non-dpdk arch, fixing FTBFS on
these.
+ * Removed SYSTEMCTL_SKIP_REDIRECT from:
+ - openvswitch-switch init scripts (Closes: #910474.
+ - ovn-central.init (Closes: #910472).
+ - ovn-host.init (Closes: #910475).
+ - ovn-controller-vtep.init (Closes: #910476).
+ * Added mkdir -p /var/run in ovs startup (Closes: #930843).
-- Thomas Goirand <zigo@debian.org> Thu, 31 Oct 2019 11:38:08 +0100
(test -x /usr/sbin/ovs-vswitchd && test -x /usr/sbin/ovsdb-server) || exit 0
-_SYSTEMCTL_SKIP_REDIRECT=yes
-SYSTEMCTL_SKIP_REDIRECT=yes
-
. /lib/lsb/init-functions
. /usr/share/openvswitch/scripts/ovs-lib
test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch
+mkdir -p /run/openvswitch
+
network_interfaces () {
INTERFACES="/etc/network/interfaces"
[ -e "${INTERFACES}" ] || return
stop | force-stop)
stop
;;
+ systemd-start)
+ start
+ ;;
+ systemd-stop)
+ stop
+ ;;
reload | force-reload)
# The OVS daemons keep up-to-date.
;;
[Service]
Type=oneshot
-ExecStart=/etc/init.d/openvswitch-switch start
-ExecStop=/etc/init.d/openvswitch-switch stop
+ExecStart=/etc/init.d/openvswitch-switch systemd-start
+ExecStop=/etc/init.d/openvswitch-switch systemd-stop
RemainAfterExit=yes
[Install]
test -x /usr/bin/ovn-northd || exit 0
test -x /usr/share/openvswitch/scripts/ovn-ctl || exit 0
-_SYSTEMCTL_SKIP_REDIRECT=yes
-
. /usr/share/openvswitch/scripts/ovs-lib
if [ -e /etc/default/ovn-central ]; then
. /etc/default/ovn-central
test -x /usr/bin/ovn-controller-vtep || exit 0
test -x /usr/share/openvswitch/scripts/ovn-ctl || exit 0
-_SYSTEMCTL_SKIP_REDIRECT=yes
-
. /usr/share/openvswitch/scripts/ovs-lib
if [ -e /etc/default/ovn-controller-vtep ]; then
. /etc/default/ovn-controller-vtep
test -x /usr/bin/ovn-controller || exit 0
test -x /usr/share/openvswitch/scripts/ovn-ctl || exit 0
-_SYSTEMCTL_SKIP_REDIRECT=yes
-
. /usr/share/openvswitch/scripts/ovs-lib
if [ -e /etc/default/ovn-host ]; then
. /etc/default/ovn-host