On Mon, 2022-05-30 at 16:27 +0200, Ben Greiner wrote:
Am 30.05.22 um 16:06 schrieb Martin Wilck:
On Mon, 2022-05-30 at 14:18 +0300, Andrei Borzenkov wrote:
Requires: (NetworkManager-ovs if openvswitch)
Why should NetworkManager Require NetworkManager-ovs? Maybe the user is not going to control ovs with NetworkManager at all ... Yes, maybe. Such a user would waste 87kiB of disk space (compare to 1.3 MiB for openvswitch, 5.9MiB for NM plus 1.4MiB for libnm0, and 6.8 MiB for wpa_supplicant).
Correct me if I am wrong, but I believe that this does mean something entirely different: If openvswitch is available, then install it along NetworkManager and get NetworkManager-ovs as well. Now what does "is available" mean? Your approach assumes that it means "is installed".
I thought it meant "requires NetworkManager-ovs if openvswitch is also installed". That's what I intended to express, at least. If that's wrong, sorry for the noise. Of course I wouldn't want openvswitch to be always installed alongside NM. Martin