Package: openvswitch-switch
Version: 2.15.0+ds1-2+deb11u2
Severity: important

Hi,

with the update to openvswitch v2.15.0+ds1-2+deb11u2 we also ran
into the same situation that's reported as #1008684
("openvswitch-switch update leaves interfaces down").

While debugging this we stumbled upon this:

| % systemctl cat openvswitch-switch
| # /lib/systemd/system/openvswitch-switch.service
| [Unit]
| Description=Open vSwitch
| Before=network.target
| After=network-pre.target ovsdb-server.service ovs-vswitchd.service
| PartOf=network.target
| Requires=ovsdb-server.service
| Requires=ovs-vswitchd.service
| 
| [Service]
| Type=oneshot
| ExecStart=/bin/true
| ExecReload=/usr/share/openvswitch/scripts/ovs-systemd-reload
| ExecStop=/bin/true
| RemainAfterExit=yes
| 
| [Install]
| WantedBy=multi-user.target

But /usr/share/openvswitch/scripts/ovs-systemd-reload doesn't exist
in that package:

| % ls -la /usr/share/openvswitch/scripts/ovs-systemd-reload
| ls: cannot access '/usr/share/openvswitch/scripts/ovs-systemd-reload': No 
such file or directory

And of course a "systemctl reload openvswitch-switch" therefor fails:

| Jan 18 15:36:29 36cad9a1a6cc systemd[3685]: openvswitch-switch.service: 
Failed to locate executable /usr/share/openvswitch/scripts/ovs-systemd-reload: 
No such file or directory
| Jan 18 15:36:29 36cad9a1a6cc systemd[3685]: openvswitch-switch.service: 
Failed at step EXEC spawning /usr/share/openvswitch/scripts/ovs-systemd-reload: 
No such file or directory
| Jan 18 15:36:29 36cad9a1a6cc systemd[1]: openvswitch-switch.service: Control 
process exited, code=exited, status=203/EXEC

FTR, the script is part of the openvswitch-switch package
v3.1.0~git20230108.006e1c6-1 as present in current unstable and
bookworm, but the version in bullseye/stable is broken.

regards
-mika-

Reply via email to