Source: thunderbolt-tools
Version: 0.9.3-6
Severity: important
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Dear Maintainer,

for the currently ongoing Debian UsrMerge effort [1], we will change
udev.pc soon, so "udevdir" points to /usr/lib/udev.

When this happens, your package will install tbtacl-write twice,
once into /usr/lib (the "canonical" path) and once into /lib (the
"aliased" path):

-rwxr-xr-x root/root     31568 2022-12-14 12:42 ./lib/udev/tbtacl-write
-rwxr-xr-x root/root     31568 2022-12-14 12:42 ./usr/lib/udev/tbtacl-write

This is a policy violation.

I'm attaching a trivial patch for your convenience. Please upload as
soon as possible, as the udev.pc change is already queued.

This bug will become release-critical once src:systemd (contains
udev) gets uploaded.

Chris

[1] https://wiki.debian.org/UsrMerge
diff -Nru thunderbolt-tools-0.9.3/debian/changelog thunderbolt-tools-0.9.3/debian/changelog
--- thunderbolt-tools-0.9.3/debian/changelog	2022-12-14 13:42:55.000000000 +0100
+++ thunderbolt-tools-0.9.3/debian/changelog	2023-12-16 23:00:35.000000000 +0100
@@ -1,3 +1,10 @@
+thunderbolt-tools (0.9.3-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Skip duplicate installation of tbtacl-write. (Closes: #-1)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Sat, 16 Dec 2023 23:00:35 +0100
+
 thunderbolt-tools (0.9.3-6) unstable; urgency=medium
 
   * Roll in all fixes since 0.9.3, project is now in maintainence
diff -Nru thunderbolt-tools-0.9.3/debian/install thunderbolt-tools-0.9.3/debian/install
--- thunderbolt-tools-0.9.3/debian/install	2018-04-08 16:43:12.000000000 +0200
+++ thunderbolt-tools-0.9.3/debian/install	2023-12-16 23:00:00.000000000 +0100
@@ -1,2 +1 @@
-build_userspace/tbtacl/tbtacl-write lib/udev/
 build_userspace/tbtadm/tbtadm usr/bin

Reply via email to