Source: iconnect-tools
Version: 0.1
Severity: serious
Tags: patch sid trixie
User: helm...@debian.org
Usertags: dep17m2

Hi,

your package installs files in /:

 lib/systemd/system/iconnect-leds.service
 lib/udev/rules.d/60-qcontrol.rules

Starting with trixie, installing files in those aliased locations is no
longer allowed and considered an RC bug. The goal of this move is
eliminating bugs arising from aliasing, such as file loss during package
upgrades.
The attached patch should address the above issues by moving the udev
rules file to /usr and rebuilding against a newer debhelper which
installs service files in /usr.


For additional information refer to
https://wiki.debian.org/UsrMerge and
https://subdivi.de/~helmut/dep17.html.
diff -Nru iconnect-tools-0.1/debian/changelog 
iconnect-tools-0.1+nmu1/debian/changelog
--- iconnect-tools-0.1/debian/changelog 2020-02-08 10:48:34.000000000 +0100
+++ iconnect-tools-0.1+nmu1/debian/changelog    2024-11-17 18:30:57.000000000 
+0100
@@ -1,3 +1,10 @@
+iconnect-tools (0.1+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move aliased files from / to /usr (DEP17). (Closes: #-1)
+
+ -- Michael Biebl <bi...@debian.org>  Sun, 17 Nov 2024 18:30:57 +0100
+
 iconnect-tools (0.1) unstable; urgency=medium
 
   * [5012736] Basic Debianization of iconnect-tools
diff -Nru iconnect-tools-0.1/debian/iconnect-tools.install 
iconnect-tools-0.1+nmu1/debian/iconnect-tools.install
--- iconnect-tools-0.1/debian/iconnect-tools.install    2020-02-08 
10:48:34.000000000 +0100
+++ iconnect-tools-0.1+nmu1/debian/iconnect-tools.install       2024-11-17 
18:30:09.000000000 +0100
@@ -1,5 +1,5 @@
 fw_env.config         etc
-99-usb-leds.rules     lib/udev/rules.d
+99-usb-leds.rules     usr/lib/udev/rules.d
 set-leds.sh           usr/share/iconnect-tools
 trigger-usb-leds.sh   usr/share/iconnect-tools
 
diff -Nru iconnect-tools-0.1/debian/README.Debian 
iconnect-tools-0.1+nmu1/debian/README.Debian
--- iconnect-tools-0.1/debian/README.Debian     2020-02-08 10:48:34.000000000 
+0100
+++ iconnect-tools-0.1+nmu1/debian/README.Debian        2024-11-17 
18:30:33.000000000 +0100
@@ -18,7 +18,7 @@
 The iconnect-tools package is installing a systemd service and SysV Init file
 which will set various actions to the info LEDs.
 
-The service file can be found as /lib/systemd/system/iconnect-leds.service,
+The service file can be found as /usr/lib/systemd/system/iconnect-leds.service,
 it's simply firing up the argument 'start' or 'stop' to the helper script
 
   /usr/share/iconnect-tools/set-leds.sh
@@ -53,7 +53,7 @@
 the USB port status LEDs on and off depending if a USB device is used or not.
 The UDEV rule can be found in
 
-  /lib/udev/rules.d/99-usb-leds.rules
+  /usr/lib/udev/rules.d/99-usb-leds.rules
 
 and the used shell script by the UDEV rule in
 

Reply via email to