[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#921237: marked as done (bcfg2-server does not properly shutdown)



Your message dated Sat, 26 Oct 2019 07:09:15 +0000
with message-id <[🔎] E1iOGCJ-000AcT-B2@fasolo.debian.org>
and subject line Bug#943378: Removed package(s) from unstable
has caused the Debian Bug report #921237,
regarding bcfg2-server does not properly shutdown
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 owner@bugs.debian.org
immediately.)


-- 
921237: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921237
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: bcfg2-server
Version: 1.4.0~pre2+git141-g6d40dace6358-1
Severity: normal
Tags: patch upstream

Dear Maintainer,

bcfg2-server cannot be properly shutdown by systemd. Instead it runs
into a timeout and has to be killed by systemd. This is inconvent and
severly slows down the shutdown of the entire system.

This is an upstream bug that has been fixed in git by now:
https://github.com/Bcfg2/bcfg2/commit/020b8cfd398de6730f5767abbc1f587c899138f5

Is it possible to include this as a patch in the Debian package? I
assume it affects not only stretch but buster and sid as well.

-- System Information:
Debian Release: 9.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bcfg2-server depends on:
pn  bcfg2                            <none>
ii  init-system-helpers              1.48
pn  libxml2-utils                    <none>
ii  lsb-base                         9.20161125
ii  openssl                          1.1.0j-1~deb9u1
ii  python                           2.7.13-2
pn  python-daemon                    <none>
pn  python-genshi                    <none>
pn  python-lxml                      <none>
pn  python-pyinotify | python-gamin  <none>
ii  ucf                              3.0036

Versions of packages bcfg2-server recommends:
pn  graphviz  <none>
ii  patch     2.7.5-1+deb9u1

Versions of packages bcfg2-server suggests:
pn  bcfg2-doc                                  <none>
ii  exim4-daemon-light [mail-transport-agent]  4.89-2+deb9u3
ii  python [python-profiler]                   2.7.13-2
pn  python-cheetah                             <none>
pn  python-django                              <none>
>From 020b8cfd398de6730f5767abbc1f587c899138f5 Mon Sep 17 00:00:00 2001
From: Alexander Sulfrian <alexander.sulfrian@fu-berlin.de>
Date: Fri, 12 Oct 2018 18:02:50 +0200
Subject: [PATCH] Fix server shutdown

---
 src/lib/Bcfg2/Server/Core.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/Bcfg2/Server/Core.py b/src/lib/Bcfg2/Server/Core.py
index 445bc17b5..a1ee24e18 100644
--- a/src/lib/Bcfg2/Server/Core.py
+++ b/src/lib/Bcfg2/Server/Core.py
@@ -331,6 +331,10 @@ def _file_monitor_thread(self):
                 select.select([famfd], [], [], 2)
             elif not self.fam.pending():
                 terminate.wait(15)
+
+            if self.terminate.isSet():
+                break
+
             if self.fam.pending():
                 try:
                     self._update_vcs_revision()
>From 020b8cfd398de6730f5767abbc1f587c899138f5 Mon Sep 17 00:00:00 2001
From: Alexander Sulfrian <alexander.sulfrian@fu-berlin.de>
Date: Fri, 12 Oct 2018 18:02:50 +0200
Subject: [PATCH] Fix server shutdown

---
 src/lib/Bcfg2/Server/Core.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/Bcfg2/Server/Core.py b/src/lib/Bcfg2/Server/Core.py
index 445bc17b5..a1ee24e18 100644
--- a/src/lib/Bcfg2/Server/Core.py
+++ b/src/lib/Bcfg2/Server/Core.py
@@ -331,6 +331,10 @@ def _file_monitor_thread(self):
                 select.select([famfd], [], [], 2)
             elif not self.fam.pending():
                 terminate.wait(15)
+
+            if self.terminate.isSet():
+                break
+
             if self.fam.pending():
                 try:
                     self._update_vcs_revision()

--- End Message ---
--- Begin Message ---
Version: 1.4.0~pre2+git141-g6d40dace6358-2+rm

Dear submitter,

as the package bcfg2 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/943378

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: