Univention Bugzilla – Bug 55070
univention-network-common installation failes because weird dependency on univention-management-console-web-server
Last modified: 2022-08-08 10:21:28 CEST
A customer has several UCS systems on which the UMC is not installed. During the Upgrade to UCS 5 the package univention-network-common got updated from 11.0.0-2 to 11.0.0-3. This update contained two bug fixes. One of those (https://forge.univention.org/bugzilla/show_bug.cgi?id=52959) introduced the issue by assuming that univention-management-console-web-server is installed, despite not being a dependency. I do not think that univention-management-console-web-server should be a dependency. We should strife to minimize dependencies, especially if they involve services that are potentially externally available. The issue he experienced was logges in /var/log/univention/updater.log ``` insserv: Service univention-management-console-web-server has to be enabled to start service univention-network-common insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: Fehler beim Bearbeiten des Paketes univention-network-common (--configure): … dpkg: Abhängigkeitsprobleme verhindern Konfiguration von univention-ifplugd: univention-ifplugd hängt ab von univention-network-common (= 11.0.0-3A~4.4.0.202207201501); aber: Paket univention-network-common ist noch nicht konfiguriert. dpkg: Fehler beim Bearbeiten des Paketes univention-ifplugd (--configure): Abhängigkeitsprobleme - verbleibt unkonfiguriert … Fehler traten auf beim Bearbeiten von: univention-network-common univention-ifplugd ``` The offending line from the for for the bug 52959 is ``` # Required-Start: $network $remote_fs univention-management-console-web-server apache2 ``` in univention-network-common.init The package univention-network-common has the dependencies python-netifaces, python-univention-lib, univention-config (>= 8.0.2), ${misc:Depends}, ${python:Depends}, This issue currently necessitates a fork of the package for a customer. We want to avoid this.
Please give this change a try: > {Required → Should}-Start: univention-network-common apache2 FYI: There is an ongoing effort to replace all legacy SysV-init-scripts with proper systemd units: Bug #43691