Your message dated Tue, 04 Jun 2024 21:05:33 +0000
with message-id <[email protected]>
and subject line Bug#1054088: fixed in sanoid 2.2.0-2
has caused the Debian Bug report #1054088,
regarding sanoid: let dh_installsystemd choose the location of units
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1054088: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054088
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: sanoid
Version: 2.2.0-1
Tags: patch
User: [email protected]
Usertags: dep17m2

We want to move all aliased files from / to /usr to finalize the
/usr-merge transition via DEP17. sanoid is affected, because it installs
two systemd units. One of its units is installed via dh_installsystemd
and will move to /usr when the placement in dh_installsystemd changes.
The other unit is hard coded to /lib/systemd/system via
debian/sanoid.install. Rather than moving it to /usr, I recommend
installing it using dh_installsystemd as well, because it'll revert back
to the old location when uploading to bookworm-backports, which will
comply with the file move moratorium that still is in effect for
bookworm. I'm attaching a patch for your convenience.

Helmut
diff -Nru sanoid-2.2.0/debian/changelog sanoid-2.2.0/debian/changelog
--- sanoid-2.2.0/debian/changelog       2023-08-03 22:45:31.000000000 +0200
+++ sanoid-2.2.0/debian/changelog       2023-10-16 21:31:46.000000000 +0200
@@ -1,3 +1,10 @@
+sanoid (2.2.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Let dh_installsystemd choose the location of units. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 16 Oct 2023 21:31:46 +0200
+
 sanoid (2.2.0-1) unstable; urgency=medium
 
   * [e979a85] New upstream version 2.2.0
diff -Nru sanoid-2.2.0/debian/rules sanoid-2.2.0/debian/rules
--- sanoid-2.2.0/debian/rules   2021-10-19 21:02:14.000000000 +0200
+++ sanoid-2.2.0/debian/rules   2023-10-16 21:31:40.000000000 +0200
@@ -5,3 +5,6 @@
 
 %:
        dh $@
+
+execute_after_dh_install_systemd:
+       dh_installsystemd --name sanoid-prune
diff -Nru sanoid-2.2.0/debian/sanoid-prune.service 
sanoid-2.2.0/debian/sanoid-prune.service
--- sanoid-2.2.0/debian/sanoid-prune.service    2019-11-11 17:21:09.000000000 
+0100
+++ sanoid-2.2.0/debian/sanoid-prune.service    1970-01-01 01:00:00.000000000 
+0100
@@ -1,14 +0,0 @@
-[Unit]
-Description=Prune ZFS snapshots
-Documentation=man:sanoid(8)
-Requires=local-fs.target
-After=local-fs.target sanoid.service
-ConditionFileNotEmpty=/etc/sanoid/sanoid.conf
-
-[Service]
-Type=oneshot
-Environment=TZ=UTC
-ExecStart=/usr/sbin/sanoid --prune-snapshots --verbose
-
-[Install]
-WantedBy=sanoid.service
diff -Nru sanoid-2.2.0/debian/sanoid.install sanoid-2.2.0/debian/sanoid.install
--- sanoid-2.2.0/debian/sanoid.install  2019-11-11 17:21:09.000000000 +0100
+++ sanoid-2.2.0/debian/sanoid.install  2023-10-16 21:31:19.000000000 +0200
@@ -2,5 +2,4 @@
 sanoid /usr/sbin/
 findoid /usr/sbin/
 sanoid.defaults.conf /usr/share/sanoid/
-debian/sanoid-prune.service /lib/systemd/system
 CHANGELIST /usr/share/doc/sanoid/changelog
diff -Nru sanoid-2.2.0/debian/sanoid.sanoid-prune.service 
sanoid-2.2.0/debian/sanoid.sanoid-prune.service
--- sanoid-2.2.0/debian/sanoid.sanoid-prune.service     1970-01-01 
01:00:00.000000000 +0100
+++ sanoid-2.2.0/debian/sanoid.sanoid-prune.service     2019-11-11 
17:21:09.000000000 +0100
@@ -0,0 +1,14 @@
+[Unit]
+Description=Prune ZFS snapshots
+Documentation=man:sanoid(8)
+Requires=local-fs.target
+After=local-fs.target sanoid.service
+ConditionFileNotEmpty=/etc/sanoid/sanoid.conf
+
+[Service]
+Type=oneshot
+Environment=TZ=UTC
+ExecStart=/usr/sbin/sanoid --prune-snapshots --verbose
+
+[Install]
+WantedBy=sanoid.service

--- End Message ---
--- Begin Message ---
Source: sanoid
Source-Version: 2.2.0-2
Done: Michael Jeanson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sanoid, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Jeanson <[email protected]> (supplier of updated sanoid package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 04 Jun 2024 16:42:32 -0400
Source: sanoid
Architecture: source
Version: 2.2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Michael Jeanson <[email protected]>
Changed-By: Michael Jeanson <[email protected]>
Closes: 1054088
Changes:
 sanoid (2.2.0-2) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * [8284d3d] Let dh_installsystemd choose the location of units. (Closes: 
#1054088)
 .
   [ Michael Jeanson ]
   * [ea1bf04] Remove deprecated lintian override
Checksums-Sha1:
 1e4e623df5ab5d038f372cfd1c0bd40d8d7e11b7 1834 sanoid_2.2.0-2.dsc
 2b3520bdbd240713ada492a59d05c81d5ea40a00 77865 sanoid_2.2.0.orig.tar.gz
 5812db6e106b6207b071205e83e026a93a6f9a7e 6432 sanoid_2.2.0-2.debian.tar.xz
 d29b37e84e0fcab68314064cd28ac70e93a745fd 6435 sanoid_2.2.0-2_source.buildinfo
Checksums-Sha256:
 b392dfea7007f30ab294e3b9a9e86ac33a31acce147a2bfe7a6052ec68abd162 1834 
sanoid_2.2.0-2.dsc
 a997552e3c5f9fc8407fd20fa1adc99fc37a1f61547f738114c96a1ea1658fe2 77865 
sanoid_2.2.0.orig.tar.gz
 cfffb2667ae0aabefcf93263516f89956f30d3cd6f3021ddc08abb804ec593b0 6432 
sanoid_2.2.0-2.debian.tar.xz
 55b5d63f72c75a671bf15c0d889344bf1a36219cbde9253e39d19e73a77f59ff 6435 
sanoid_2.2.0-2_source.buildinfo
Files:
 03ed7121a783f912b035d628e1886aee 1834 admin optional sanoid_2.2.0-2.dsc
 d525ca629960a02611a2f5dc15f6652a 77865 admin optional sanoid_2.2.0.orig.tar.gz
 ee39d8d3d2a34beeda5315f5428c7cbe 6432 admin optional 
sanoid_2.2.0-2.debian.tar.xz
 74926000adfe5c3041bfe47d929bfc42 6435 admin optional 
sanoid_2.2.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEmGYkMkK2Qid54gtihlYfRSGA/P4FAmZffGwUHG1qZWFuc29u
QGRlYmlhbi5vcmcACgkQhlYfRSGA/P4ATA/9ErduU4F9YO8Tc4m4rO9ucM4A+1MN
MwbQzpF3CMV7tOetaWJw4MoHnXb+LzDOIer2kmaFK5mg4vaJmahJFbz7H/Hs/zuF
fTrTV4+YbzdpRKAeuFOcaulHZjQSBvUnCHouv5bMPWdmoeQrdiSxVDE6gZifelJV
wPU3/a6guqXMFA/4N71/rSAht6WQT4kxTa2paeRWeEK6NXh7IpZlhGQFz9MNeoRx
9b5yt5zVbtQZGUbM4ppKMTApKG/C04uWj/Lvps1zX2ljSAmhEyAgOmO8rBjtEFi4
udoymT2Tot/cXy+gIeO0aiUxCLsN2hG9L7Tww7xxUKc8E9wDI6B0JHO8sWrTot6K
hclw9abZYw1RfRDzHcL8hmVjMEzR9xw4UhfZOwM1oKkStr+FCLasxZihk3+XNA+O
WdM4xLtDhc/5ruy4280My1ZcTgRmc+VCBWrD6XHyJjBfY/FLW9CX6lPKfBqIvXiB
R3VA1LkN03CgdcGQijZg//xJfvkjtcnuMlgjFfPtGbdePCzphvlOaw8g98Ztb2Cy
7CcPSfJSn3wVVI94LTY+Sn50gcvqejwJoc4X1B1Ncv8z51y+Kp+k87FFHAnPM0Pk
hDr15SUYun9X4ZZP5S5Pe8PdZuXxzrANAq5ExKWCgAmlDNLZIJSoUr5pe1WAe4vJ
BwwEENU4qiZk+pM=
=KJv9
-----END PGP SIGNATURE-----

Attachment: pgpiubyiq8Bko.pgp
Description: PGP signature


--- End Message ---

Reply via email to