Package: zeroc-icegrid
Version: 3.7.2-4
Severity: important
Tags: patch

Attempting to start icegridregistry via "systemctl start 
icegridregistry.service", blocks until systemd times it out.
The normal behaviour should be to return and put process into background.

I am speculating that the sd_notify api call is not used in this release of  
the  icegridadmin binary.

The workaround is to restore old behaviour (stretch), to use default Type:

diff -u /lib/systemd/system/icegridregistry.service 
/etc/systemd/system/icegridregistry.service
--- /lib/systemd/system/icegridregistry.service 2019-02-07 04:23:04.000000000 
+1100
+++ /etc/systemd/system/icegridregistry.service 2020-11-30 11:42:43.441842565 
+1100
@@ -11,7 +11,7 @@

[Service]
ExecStart=/usr/bin/icegridregistry --Ice.Config=/etc/icegridregistry.conf
-Type=notify
+#Type=notify
NotifyAccess=main
RuntimeDirectory=icegridregistry
KillMode=process

Metadata
--------------
Architecture: amd64
Replaces: ice35-services, icegrid
Depends: libzeroc-ice3.7 (= 3.7.2-4), libzeroc-icestorm3.7 (= 3.7.2-4), libc6 
(>= 2.15), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2)


Malte Marquarding
ATNF Telescope Monitoring and Control Team Leader
Astronomy and Space Science
CSIRO
E malte.marquard...@csiro.au<mailto:malte.marquard...@csiro.au> T +61 2 9372 
4485 M +61 421 805 164
Cnr Vimiera and Pembroke Rds
Marsfield, NSW 2122, Australia
www.csiro.au<http://www.csiro.au> | www.csiro.au/CASS<http://www.csiro.au/CASS>

Reply via email to