I would like to go back to the ovs-vsctl change. From what I understood,
before netplan would use /usr/bin/ovs-vsctl. Now it seems to try FIRST
the snap location, and then the non-snap one:

+def _ovs_vsctl_path():  # pragma: nocover
+    if os.path.exists('/snap/bin/'+OPENVSWITCH_OVS_VSCTL):
+        return '/snap/bin/'+OPENVSWITCH_OVS_VSCTL
+    else:
+        return '/usr/bin/'+OPENVSWITCH_OVS_VSCTL


For systems who have both, this seems to be a change in behavior: before this 
update, /usr/bin/ovs-vsctl would be used. After the update, /snap/bin/ovs-vsctl 
will be used. The snap version might be completely different. This is the case 
in both the python and the C code (at least they use the same order).

Why is the snap ovs-vsctl being given preference over the non-snap one,
and thus introducing this potential change in behavior?

** Changed in: netplan.io (Ubuntu Plucky)
       Status: New => Incomplete

** Changed in: netplan.io (Ubuntu Noble)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2127195

Title:
  [SRU] Backport netplan.io 1.1.2-7ubuntu3 to 24.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2127195/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to