Fwd: [Debian-med-packaging] Bug#1003314: orthanc package: startlimitburst too low
Dear all,
I take the liberty of forwarding this issue to the main Debian Med list,
as I am unsure about the proper way of solving it.
All the Orthanc plugins now contain a postinst script that is similar to
the following one:
https://salsa.debian.org/med-team/orthanc-webviewer/-/blob/debian/2.7-6/debian/postinst
The Orthanc service must be restarted in order for the plugin to
actually get loaded by Orthanc.
Please could someone indicate how I can modify such a postinst script so
as Orthanc is only restarted once if multiple Orthanc plugins are
installed/upgraded at once?
Or should I modify the main "orthanc.service" to set
"StartLimitBurst=10", as proposed by Gerald? But in this case, how to
ensure the compatibility with non-systemd deployments?
Finally, note that I won't have time to maintain a backport to Debian 11.
Regards,
Sébastien-
-------- Forwarded Message --------
Subject: [Debian-med-packaging] Bug#1003314: orthanc package:
startlimitburst too low
Resent-Date: Sat, 8 Jan 2022 01:39:02 +0000
Resent-From: Gerald Wiese <gerald-wiese@web.de>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Debian Med Packaging Team
<debian-med-packaging@lists.alioth.debian.org>
Date: Sat, 8 Jan 2022 02:35:38 +0100
From: Gerald Wiese <gerald-wiese@web.de>
Reply-To: Gerald Wiese <gerald-wiese@web.de>, 1003314@bugs.debian.org
To: submit@bugs.debian.org
Package: orthanc
Version: 1.9.2.+really1.9.1+dfsg-1
When installing Orthanc inside my Ansible scripts the following problem
occurs: Every package orthanc-* triggers a
systemd service restart and if there are a couple of orthanc extensions
the StartLimitBurst is reached. This can be
fixed by including "StartLimitBurst=10" in orthanc.service.
Reproduce:
$ sudo apt install -y git ansible
$ ansible-galaxy collection install community.general community.crypto
$ git clone
https://gitlab.com/geraldwiese/gnuhealth-automatic-deployment.git
$ cd gnuhealth-automatic-deployment/
In orthanc/installation.yml delete lines 1-12 in order to disable my
workaround
In orthanc/vault: set 'vault_ssh_user' to OS user and
'use_ssh_pw_for_sudo' to false
$ ansible-playbook orthanc.yml -c local -K
Unfortunately I can't copy the error message from the VM but the
important part is probably "orthanc.service: Start
request repeated too quickly".
Running Debian 11 and Ansible 2.10.8
This problem does not occure on Ubuntu, but there the version of orthanc
seems to be 1.5.8+dfsg-2ubuntu6
Could you please tell me if I am overlooking something or if I'm right
and it's possible to increase the StartLimitBurst
in the shipped files?
Kind regards
Gerald
_______________________________________________
Debian-med-packaging mailing list
Debian-med-packaging@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging
Reply to: