Your message dated Sat, 25 Nov 2023 13:51:34 +0000
with message-id <[email protected]>
and subject line Bug#1054489: fixed in tarantool 2.6.0-1.3
has caused the Debian Bug report #1054489,
regarding tarantool: installs a systemd unit twice when dh_systemd_enable
installs to /usr
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.)
--
1054489: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054489
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: tarantool
Version: 2.6.0-1.2
Severity: normal
Tags: patch
User: [email protected]
Usertags: dep17m2
We want to modify dh_systemd_enable such that it installs units below
/usr in order to finalize the /usr-merge transition via DEP17. When
doing so, tarantool.service will be duplicated to /lib (via dh_install)
and /usr/lib (via dh_systemd_enable). I tried installing all units with
debhelper only, but I wasn't successful. Therefore, I propose doing the
reverse: installing units via dh_install only. Hence dh_systemd_enable
is not involved in unit placement and when it flips to /usr, tarantool
will continue to install to /lib. It'll need another patch, but at
least, it won't cause a policy violation and become rc buggy when I
upload debhelper.
Helmut
diff -Nru tarantool-2.6.0/debian/changelog tarantool-2.6.0/debian/changelog
--- tarantool-2.6.0/debian/changelog 2022-10-15 12:51:17.000000000 +0200
+++ tarantool-2.6.0/debian/changelog 2023-10-24 15:11:46.000000000 +0200
@@ -1,3 +1,10 @@
+tarantool (2.6.0-1.3) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Install systemd units only once. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Tue, 24 Oct 2023 15:11:46 +0200
+
tarantool (2.6.0-1.2) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru tarantool-2.6.0/debian/rules tarantool-2.6.0/debian/rules
--- tarantool-2.6.0/debian/rules 2022-09-12 07:51:23.000000000 +0200
+++ tarantool-2.6.0/debian/rules 2023-10-24 14:58:58.000000000 +0200
@@ -26,7 +26,7 @@
# install it within tarantool and tarantool-dev packages.
DEB_DH_INSTALLINIT_ARGS := --name=tarantool
DEB_DH_SYSTEMD_ENABLE_ARGS_tarantool := --name=tarantool
-DEB_DH_SYSTEMD_ENABLE_ARGS_tarantool-common := --name=tarantool
tarantool.service
+DEB_DH_SYSTEMD_ENABLE_ARGS_tarantool-common := --name=tarantool
DEB_DH_SYSTEMD_START_ARGS_tarantool-common := --no-restart-on-upgrade
tarantool.service
# Needed for proper backtraces in fiber.info()
diff -Nru tarantool-2.6.0/debian/tarantool.service
tarantool-2.6.0/debian/tarantool.service
--- tarantool-2.6.0/debian/tarantool.service 2018-11-15 15:42:54.000000000
+0100
+++ tarantool-2.6.0/debian/tarantool.service 1970-01-01 01:00:00.000000000
+0100
@@ -1,15 +0,0 @@
-# systemd service for managing all Tarantool instances on the system. This
-# service is actually a systemd target, but we are using a service since
-# targets cannot be reloaded.
-
-[Unit]
-Description=Tarantool Database Server
-
-[Service]
-Type=oneshot
-ExecStart=/bin/true
-ExecReload=/bin/true
-RemainAfterExit=on
-
-[Install]
-WantedBy=multi-user.target
--- End Message ---
--- Begin Message ---
Source: tarantool
Source-Version: 2.6.0-1.3
Done: Chris Hofstaedtler <[email protected]>
We believe that the bug you reported is fixed in the latest version of
tarantool, 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.
Chris Hofstaedtler <[email protected]> (supplier of updated tarantool 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: SHA256
Format: 1.8
Date: Sat, 25 Nov 2023 14:34:46 +0100
Source: tarantool
Architecture: source
Version: 2.6.0-1.3
Distribution: unstable
Urgency: medium
Maintainer: Roman Tsisyk <[email protected]>
Changed-By: Chris Hofstaedtler <[email protected]>
Closes: 1054489
Changes:
tarantool (2.6.0-1.3) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ Helmut Grohne ]
* Install systemd units only once. (Closes: #1054489)
Checksums-Sha1:
958e465ffea6d061a9ba6ccade8348cf2deadc89 2270 tarantool_2.6.0-1.3.dsc
e19e8af0aaf68c2b9463c36aadb2d3285661a915 16236
tarantool_2.6.0-1.3.debian.tar.xz
25cd5398ec3792ffffdd7773273fa55bcbe59b73 7160
tarantool_2.6.0-1.3_source.buildinfo
Checksums-Sha256:
afe260be7563441ccf9236341b08d81fd3997c59f50bc7fcf4cd037c70468833 2270
tarantool_2.6.0-1.3.dsc
1513f04ea1585ec4bd5419928523c797cdd266df2d6dcdda4963da4eb9f18ef4 16236
tarantool_2.6.0-1.3.debian.tar.xz
7ab8c2f9736853b4ff68c224a357b222ca6d9c78d4801d74073676b463646699 7160
tarantool_2.6.0-1.3_source.buildinfo
Files:
9f5178b078e7d1fdfc37dd6fea0bd6b2 2270 database optional tarantool_2.6.0-1.3.dsc
70aa602c899a53ab83b3582f8e779207 16236 database optional
tarantool_2.6.0-1.3.debian.tar.xz
1ebbba828579db43acdf13b2559a5684 7160 database optional
tarantool_2.6.0-1.3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmVh+OsACgkQXBPW25MF
LgMU9w/+OBdKQZo+EPL7laxPq/l95wE7W6h1SKaaFq/H2NSM+oOlIUBNsmGEWcBx
Fvzql8wvkloKpMvkCfgxec99nH0HSkeBQqlKagkZKQeBqTlYZ8nNoYxJI0KEYNLy
j8mhpXkG7BP9vJIM/UxGywybgVw3UBt6KQHxC+fEkuOUcUZME3gKTl+a3JyNJXko
ljg2z+M72GSVrVU+lTHheC5/0d6PoMl0wXnS64jy97RQlzN9Lo999FYG5VgHn5b4
kazOCeyi9QCUFIWU/U+T2TjCcHzPKT+E1jOJ4tELhZVfUyXgyQ50zUJF1MEQATU/
6Z+nCU3N66HGysZRNmSs8JJcTr7jl9X5HYeqlI19xaD4BrjpdSxJTA0e6wn+TIFo
hjFoV+G7mxQduY4F1YEJyxGOVj98M9UQpJzWGTGACYR28CAiNMTQ2jI15cuQIO+3
n+R/VLQ7kjz99gE8LJAsvBObpwPsZExigJ5errv7tQ0S4oy3Y4bnc9uPY9BTOwDV
0vxfLLf51tjeCutOiuK+gNxv8qs2PGqkIdACfEi2zsrv+4RU9NPpm7ABExTiqKxj
ZRG46M5arxkewAbqW+08n/IBk77Gxd1/C74xNI/zFG26o3qqkIMixqjjzdz08eZp
y2nLO/8nzwGjhMYM/fiNmQVzSDju7h4qooZCxiL3YTeq3QytYoM=
=11oC
-----END PGP SIGNATURE-----
--- End Message ---