The commit that introduced the socket unit also added a dh-exec
line installing it to /lib/systemd/system/. That is redundant, because
debian/rules already calls:
dh_installsystemd -popenvswitch-switch --name=ovsdb-server
and dh_installsystemd installs debian/<package>.<name>.socket into
usr/lib/systemd/system/ on its own, in addition to generating the
enable/start/stop maintainer script fragments the dh-exec line lacked.
Shipping both paths made lintian fail on a merged-/usr system:
E: openvswitch-switch: file-in-root-and-usr already in:
usr/lib/systemd/system/ovsdb-server.socket
[lib/systemd/system/ovsdb-server.socket]
Signed-off-by: Matteo Perin <[email protected]>
---
debian/openvswitch-switch.install | 1 -
1 file changed, 1 deletion(-)
diff --git a/debian/openvswitch-switch.install
b/debian/openvswitch-switch.install
index d1c52964d..9b596023e 100755
--- a/debian/openvswitch-switch.install
+++ b/debian/openvswitch-switch.install
@@ -1,5 +1,4 @@
#!/usr/bin/dh-exec
-debian/openvswitch-switch.ovsdb-server.socket =>
/lib/systemd/system/ovsdb-server.socket
debian/ifupdown.sh usr/share/openvswitch/scripts
debian/openvswitch-switch.default =>
/usr/share/openvswitch/switch/default.template
debian/ovs-systemd-reload /usr/share/openvswitch/scripts
--
2.43.0
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev