Univention Bugzilla – Bug 43555
Mail related services incorrectly reported as stopped in UMC
Last modified: 2018-02-14 13:31:32 CET
When I look at the "System Services" page in the UMC it reports the following services as stopped:- Amavis Postgrey Spamassassin Yet, at a terminal prompt if I check the service status they report as started. root@UCS4Master:/var/log# service spamassassin status [ ok ] spamd is running. root@UCS4Master:/var/log# service amavis status [ ok ] amavisd is running. root@UCS4Master:/var/log# service postgrey status [ ok ] postgrey is running. I have only noticed this behaviour following a Zarafa4UCS to Kopano4UCS upgrade, though can't be 100% sure it wasn't apparent before the upgrade. My instance has the following properties:- - UCS Version: 4.1-4 errata396 (Vahr) - UMC Version: 8.0.28-21.926.201611091130 - Kopano Core: 8.1.1-10 (upgraded from Zarafa4UCS 7.2.x) I created a post in the English UCS - Mail forum:- http://forum.univention.de/viewtopic.php?f=62&t=6501 Felix Bartels confirmed he was seeing same behaviour on a fresh UCS instance. Many Thanks
System has now been upgraded to UCS 4.2 & same behaviour remains. Is it possible to get a response from maintainers as to whether any fix or workaround is in the works for this issue please ?
https://help.univention.com/t/ucr-variable-mail-antispam-requiredhits-has-no-effect/7211/3
Fixed in commit 07161b34 in branch dtroeder/43555_mail_services_detection. Will add changelog, mrge and build when QA is assigned.
ii python-univention-config- 12.0.1-7A~4.2.0.2 all ii univention-postgrey 5.0.0-2A~4.2.0.20 all ------------------------------------------------------------------------- root@ucs26:~# systemctl status amavis.service | grep Active Active: active (running) since Mo 2017-11-06 08:37:37 CET; 2 days ago root@ucs26:~# systemctl status spamassassin.service | grep Active Active: active (running) since Mo 2017-11-06 11:29:52 CET; 1 day 22h ago root@ucs26:~# systemctl status postgrey.service | grep Active Active: active (running) since Mo 2017-11-06 11:04:43 CET; 1 day 22h ago root@ucs26:~# python -c 'from univention.service_info import ServiceInfo; open("/tmp/before", "wb").write("\n".join(["{}: {}".format(k, v.running) for k, v in ServiceInfo().services.items()]))' root@ucs26:~# python -c 'import json; from univention.service_info import ServiceInfo; json.dump(ServiceInfo().services, open("/tmp/before.json", "wb"), indent=4)' ------------------------------------------------------------------------- ii python-univention-config- 12.0.1-8A~4.2.0.2 all ii univention-postgrey 5.0.0-3A~4.2.0.20 all ------------------------------------------------------------------------- root@ucs26:~# python -c 'from univention.service_info import ServiceInfo; open("/tmp/after", "wb").write("\n".join(["{}: {}".format(k, v.running) for k, v in ServiceInfo().services.items()]))' root@ucs26:~# python -c 'import json; from univention.service_info import ServiceInfo; json.dump(ServiceInfo().services, open("/tmp/after.json", "wb"), indent=4)' root@ucs26:~# diff /tmp/before /tmp/after 8c8 < spamassassin: False --- > spamassassin: True 17c17 < postgrey: False --- > postgrey: True 27c27 < amavis: False --- > amavis: True root@ucs26:~# diff /tmp/before.json /tmp/after.json # no output ------------------------------------------------------------------------- 7034b4ac: fix Mail related services incorrectly reported as stopped e8a88d52: changelog, yaml 6fc08d68: update advisory univention-config-registry 12.0.1-8A~4.2.0.201711081048 univention-postgrey 5.0.0-3A~4.2.0.201711081051
*** Bug 46101 has been marked as a duplicate of this bug. ***
OK: code change OK: functional test OK: built for UCS 4.2-3 (cherrypicked and rebuilt) OK: advisory (updated for errata4.2-3)
<http://errata.software-univention.de/ucs/4.2/286.html> <http://errata.software-univention.de/ucs/4.2/290.html>