#1040383 ovn-common: broken symlink: /usr/lib/ocf/resource.d/ovn/ovndb-servers -> /usr/share/openvswitch/scripts/ovndb-servers.ocf #1040383
- Package:
- ovn-common
- Source:
- ovn-common
- Description:
- OVN common components
- Submitter:
- Andreas Beckmann
- Date:
- 2025-08-07 11:01:01 UTC
- Severity:
- normal
Hi, during a test with piuparts I noticed your package ships (or creates) a broken symlink. From the attached log (scroll to the bottom...): 0m25.5s ERROR: FAIL: Broken symlinks: /usr/lib/ocf/resource.d/ovn/ovndb-servers -> /usr/share/openvswitch/scripts/ovndb-servers.ocf The package ships /usr/share/ovn/scripts/ovndb-servers.ocf - should that have been the target instead? BTW, why is the link created in the postinst and not shipped by the package? cheers, Andreas
/usr/share/openvswitch/scripts/ovndb-servers.ocf that Hi Frode, As far as I can tell, this is a very old symlink that probably predates the ovs-ovn split, and that's why it points to the old location. As the bug reporter correctly pointed out, this is now shipped at usr/share/ovn/scripts/ovndb-servers.ocf and from the same package. So I think we can just drop the postinst/postrm scripts and add a fixed ovn- common.links file to list it, and call it a day? Thanks!