Control: tags -1 + patch pending

On Tue, 18 Jun 2024 11:39:13 +0200 Helmut Grohne <hel...@subdivi.de> wrote:
Package: kylin-process-manager-daemon
Version: 4.0.0.0-1
Severity: important
Tags: patch trixie sid
User: helm...@debian.org
Usertags: dep17m2 dep17dhmovetousr

This package is part of the /usr-move (DEP17) transition, because it
contains files in aliased locations and should have those files moved to
the corresponding /usr location. The goal of this move is eliminating
bugs arising from aliasing, such as file loss during package upgrades.

The following files in the following binary packages are affected.

kylin-process-manager-daemon contains:
 * lib
 * lib/systemd
 * lib/systemd/system
 * lib/systemd/system/kylin-process-manager-cleaner.service
 * lib/systemd/system/kylin-process-manager-daemon.service



I've uploaded the attached patch to DELAYED/3 fixing both this issue and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063399

Attached is the debdiff. Please apply that to your local git tree so it is included in your next maintainer upload.

Regards,
Michael

diff -Nru kylin-process-manager-4.0.0.0/debian/changelog 
kylin-process-manager-4.0.0.0/debian/changelog
--- kylin-process-manager-4.0.0.0/debian/changelog      2024-01-19 
03:55:08.000000000 +0100
+++ kylin-process-manager-4.0.0.0/debian/changelog      2024-09-27 
15:04:11.000000000 +0200
@@ -1,3 +1,14 @@
+kylin-process-manager (4.0.0.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Move systemd service files to /usr. (Closes: #1073777)
+  * Add versioned Conflicts against kylin-process-manager to
+    kylin-process-manager-daemon. We use a Conflicts instead of
+    Breaks/Replaces here to migitate the file loss scenario detailed in M7 at
+    https://dep-team.pages.debian.net/deps/dep17/ (Closes: #1063399)
+
+ -- Michael Biebl <bi...@debian.org>  Fri, 27 Sep 2024 15:04:11 +0200
+
 kylin-process-manager (4.0.0.0-1) unstable; urgency=medium
 
   * 4.0.0.0 release.
diff -Nru kylin-process-manager-4.0.0.0/debian/control 
kylin-process-manager-4.0.0.0/debian/control
--- kylin-process-manager-4.0.0.0/debian/control        2024-01-19 
03:55:08.000000000 +0100
+++ kylin-process-manager-4.0.0.0/debian/control        2024-09-27 
15:04:11.000000000 +0200
@@ -39,6 +39,7 @@
 Package: kylin-process-manager-daemon
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: kylin-process-manager (<< ${source:Version})
 Description: Process manager daemon for UKUI
  kylin-process-manager-daemon is the backend service of kylin-process-manager,
  for managing the cgroups of application or process. It provides D-Bus APIs
diff -Nru 
kylin-process-manager-4.0.0.0/debian/kylin-process-manager-daemon.install 
kylin-process-manager-4.0.0.0/debian/kylin-process-manager-daemon.install
--- kylin-process-manager-4.0.0.0/debian/kylin-process-manager-daemon.install   
2024-01-19 03:39:19.000000000 +0100
+++ kylin-process-manager-4.0.0.0/debian/kylin-process-manager-daemon.install   
2024-09-27 15:03:50.000000000 +0200
@@ -1,7 +1,7 @@
 process-manager-daemon/configs/com.kylin.ProcessManagerDaemon.conf 
/usr/share/dbus-1/system.d/
 process-manager-daemon/configs/com.kylin.ProcessManagerDaemon.service 
/usr/share/dbus-1/system-services/
 process-manager-daemon/configs/com.kylin.ProcessManagerDaemon.xml 
/usr/share/dbus-1/interfaces/
-process-manager-daemon/configs/kylin-process-manager-cleaner.service 
/lib/systemd/system/
-process-manager-daemon/configs/kylin-process-manager-daemon.service 
/lib/systemd/system/
+process-manager-daemon/configs/kylin-process-manager-cleaner.service 
/usr/lib/systemd/system/
+process-manager-daemon/configs/kylin-process-manager-daemon.service 
/usr/lib/systemd/system/
 process-manager-daemon/configs/kylin-process-manager.json 
/etc/kylin-process-manager/
 usr/bin/kylin-process-manager-daemon

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to