Univention Bugzilla – Bug 47569
UMC Memory Leaks with UVMM
Last modified: 2018-08-15 16:20:54 CEST
+++ This bug was initially created as a clone of Bug #47114 +++ Please cherrypick from Bug #47114
python-notifier: I'm re-using the binary build from 4.3-1 as that one fixes Bug #47114 and also Bug #44222. No need to re-build: $ diff <(dpkg -I 4.1/maintained/component/4.1-0-errata/all/python-notifier_0.9.7-4.30.201601271815_all.deb) <(dpkg -I 4.3/maintained/component/4.3-1-errata/all/python-notifier_0.9.7-4.A~4.3.0.201806071253_all.deb) 2,3c2,3 < Größe 39280 Byte: control-Archiv= 1703 Byte. < 712 Byte, 16 Zeilen control --- > Größe 35250 Byte: control-Archiv= 1702 Byte. > 717 Byte, 16 Zeilen control 8c8 < Version: 0.9.7-4.30.201601271815 --- > Version: 0.9.7-4.A~4.3.0.201806071253 11c11 < Installed-Size: 161 --- > Installed-Size: 146 Only python-notifier will stay installed the whole time, as that is the same version from errata4.3-1. But all other packages will be upgrade to "broken" intermediate packages from ucs4.3-x until errata4.3-1 is reached. [4.2-4] 63e2f662e8 Bug #47569: Fix notifier traceback memory leaks [4.2-4] 4bb81a343e Bug #47569 USS: Fix notifier traceback memory leak base/univention-system-setup/debian/changelog | 6 ++++++ base/univention-system-setup/umc/python/setup/__init__.py | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) [4.2-4] c0af72292f Bug #47569 UAC: Fix notifier traceback memory leak management/univention-appcenter/debian/changelog | 6 ++++++ management/univention-appcenter/umc/python/appcenter/__init__.py | 8 +++----- 2 files changed, 9 insertions(+), 5 deletions(-) [4.2-4] b14f6dd430 Bug #47569 join: Fix notifier traceback memory leak management/univention-join/debian/changelog | 6 ++++++ management/univention-join/umc/python/join/__init__.py | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) [4.2-4] 6eb799b91c Bug #47569 UMC: Fix notifier traceback memory leak .../univention-management-console/debian/changelog | 6 ++++ .../src/univention/management/console/auth.py | 4 +-- .../src/univention/management/console/base.py | 32 ++++++++++++++++++++-- .../management/console/protocol/modserver.py | 17 ++++++++---- .../univention-management-console-web-server | 13 +++++---- 5 files changed, 57 insertions(+), 15 deletions(-) Package: univention-system-setup Version: 10.0.11-5A~4.2.0.201808113517 Branch: ucs_4.2-0 Scope: errata4.2-4 Package: univention-management-console Version: 9.0.80-98A~4.2.0.201808131522 Branch: ucs_4.2-0 Scope: errata4.2-4 Package: univention-join Version: 9.0.3-14A~4.2.0.201808131525 Version: 9.0.3-14A~4.2.0.201808131535 Version: 9.0.3-14A~4.2.0.201808131557 Branch: ucs_4.2-0 Scope: errata4.2-4 Package: univention-appcenter Version: 6.0.11-18A~4.2.0.201808131558 Branch: ucs_4.2-0 Scope: errata4.2-4 [4.2-4] d3890b5a75 Bug #47569: Fix notifyer traceback memory leaks YAML doc/errata/staging/python-notifier.yaml | 2 +- doc/errata/staging/univention-appcenter.yaml | 10 ++++++++++ doc/errata/staging/univention-join.yaml | 10 ++++++++++ doc/errata/staging/univention-management-console.yaml | 10 ++++++++++ doc/errata/staging/univention-system-setup.yaml | 10 ++++++++++ 5 files changed, 41 insertions(+), 1 deletion(-)
OK What I tested: Memory leak -> is gone -> OK Exceptions inside threads -> OK "Normal" (no thread) Exception -> OK Join module exceptions -> OK Upgrade -> OK YAMLs -> OK
Due to Bug #39164 we need the re-build python-notifier in errata4.2-4 with a version number lower then the current version in UCS-4.3; otherwise any customer running UCS-4.3 upgraded from 4.2-4 will already receive the new python-notifier version, which will brake UMC until Bug #47114 is finally published. The version is chosen to fit in between 4.2-4 and 4.3-x: <http://xen1.knut.univention.de:8000/packages/source/python-notifier/?since=4.0> $ repo_admin.py --cherrypick -r 4.3 -s errata4.3-1 --releasedest 4.2 --dest errat4.2-4 -p python-notifier $ build-package-ng -r 4.2 -p python-notifier -s errata4.2-4 -v 0.9.7-4.31.201808151220 Package: python-notifier Version: 0.9.7-4.31.201808151220 Branch: ucs_4.2-0 Scope: errata4.2-4 [4.2-4] 02e25c3575 Bug #47569: python-notifier 0.9.7-4.31.201808151220 doc/errata/staging/python-notifier.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
OK New version number works
OK: debdiff ucs_4.2-0-errata4.2-4/all/python-notifier_0.9.7-4.31.201808151220_all.deb ucs_4.3-0-errata4.3-1/all/python-notifier_0.9.7-5A~4.3.0.201807041139_all.deb
<http://errata.software-univention.de/ucs/4.2/435.html> <http://errata.software-univention.de/ucs/4.2/436.html> <http://errata.software-univention.de/ucs/4.2/437.html> <http://errata.software-univention.de/ucs/4.2/438.html> <http://errata.software-univention.de/ucs/4.2/439.html>