Package: openvswitch-switch
Version: 2.6.2~pre+git20161223-3

After openvswitch-switch installation there is symlink @openvswitch to /usr/share/openvswitch/scripts/ifupdown.sh. This script calls ifconfig, but in standard installation net-tools aren't installed.

Snip from syslog:
ovs-vsctl: ovs|00001|vsctl|INFO|Called as ovs-vsctl --timeout=5 -- --may-exist add-port vmbr0 SOMEINTERFACE tag=VLANID -- set Interface SOMEINTERFACE type=internal --
kernel: [    7.809772] device SOMEINTERFACE entered promiscuous mode
systemd-udevd[1572]: Could not generate persistent MAC address for SOMEINTERFACE: No such file or directory /etc/network/if-pre-up.d/openvswitch: 60: /etc/network/if-pre-up.d/openvswitch: ifconfig: not found
...
/etc/network/if-pre-up.d/openvswitch: 67: /etc/network/if-pre-up.d/openvswitch: ifconfig: not found
...
/etc/network/if-pre-up.d/openvswitch: 70: /etc/network/if-pre-up.d/openvswitch: ifconfig: not found

Suggestion:
Rewrite to "ip" command or add "net-tools" as dependency for openvswitch-switch.

System:
Linux 4.9.0-2-amd64 #1 SMP Debian 4.9.13-1 (2017-02-27) x86_64 GNU/Linux

Reply via email to