Univention Bugzilla – Bug 43580
UCS4.2: adapt squid config template to upstream changes
Last modified: 2017-04-04 18:28:32 CEST
In Jessies squid 3.4 /usr/lib/squid3/squid_ldap_auth doesn't exist anymore. Probably /usr/lib/squid3/basic_ldap_auth is the replacement (see https://packages.debian.org/jessie/amd64/squid3/filelist). The update of squid3 fails: squid-langpack (20140506-1) wird eingerichtet ... squid3-common (3.4.8-6+deb8u4) wird eingerichtet ... squid3 (3.4.8-6+deb8u4) wird eingerichtet ... Neue Version der Konfigurationsdatei /etc/init.d/squid3 wird installiert ... Neue Version der Konfigurationsdatei /etc/logrotate.d/squid3 wird installiert ... Neue Version der Konfigurationsdatei /etc/resolvconf/update-libc.d/squid3 wird installiert ... Neue Version der Konfigurationsdatei /etc/squid3/squid.conf.debian wird installiert ... Filtering squid.conf manager ACL. insserv: warning: script 'K01univention-firewall' missing LSB tags and overrides insserv: warning: script 'K01univention-system-setup-boot' missing LSB tags and overrides insserv: warning: script 'K01univention-saml' missing LSB tags and overrides insserv: warning: script 'K01univention-management-console-web-server' missing LSB tags and overrides insserv: warning: script 'K01univention-s4-connector' missing LSB tags and overrides insserv: warning: script 'univention-firewall' missing LSB tags and overrides insserv: warning: script 'univention-management-console-web-server' missing LSB tags and overrides insserv: warning: script 'univention-saml' missing LSB tags and overrides insserv: warning: script 'univention-system-setup-boot' missing LSB tags and overrides insserv: warning: script 'univention-system-setup-boot-prepare' missing LSB tags and overrides insserv: warning: script 'univention-s4-connector' missing LSB tags and overrides [FAIL] FATAL ERROR: auth_param basic program /usr/lib/squid3/squid_ldap_auth: (2) No such file or directory ... failed! invoke-rc.d: initscript squid3, action "restart" failed. dpkg: Fehler beim Bearbeiten des Paketes squid3 (--configure): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 3 zurück dpkg: Abhängigkeitsprobleme verhindern Konfiguration von univention-squid: univention-squid hängt ab von squid3; aber: Paket squid3 ist noch nicht konfiguriert. dpkg: Fehler beim Bearbeiten des Paketes univention-squid (--configure): Abhängigkeitsprobleme - verbleibt unkonfiguriert
This happend during an upgrade from UCS 4.1 (with UCS@school 4.1R2 v10 installed) to UCS 4.2.
r77193: adapt squid3 configuration to upstream changes, 4.2-changelog To prevent the failed postinst of the squid3 package, its configuration is temporarily manipulated in univention-squids preinst. 43_proxy/??_* ran all successfully. Package: univention-squid Version: 10.0.0-4A~4.2.0.201703011120 Branch: ucs_4.2-0
squidguard (1.5-4A~4.2.0.201703021035) wird eingerichtet ... Rebuild of SquidGuard database not needed. FATAL ERROR: auth_param basic program /usr/lib/squid3/squid_ldap_auth: (2) No such file or directory ... failed! invoke-rc.d: initscript squid3, action "force-reload" failed. dpkg: Fehler beim Bearbeiten des Paketes squidguard (--configure): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 3 zurück Fehler traten auf beim Bearbeiten von: squidguard E: Sub-process /usr/bin/dpkg returned an error code (1)
How / when did you install squid? The fix only works (and is only necessary) when squid is already installed when upgrading from 4.1 to 4.2! If you had it already installed in UCS 4.2 (9.99 > version < 10.0.0-4) and are upgrading the package it will not work.
was a dev system with 10.0.0-1 > univention-squid < 10.0.0-4, so the fix in the preinst didn't trigger
OK: code change OK: installation / config ??: update path 4.1→4.2 OK: advisory
(In reply to Sönke Schwardt-Krummrich from comment #6) > ??: update path 4.1→4.2 OK
See Bug #44210, it might happen that the squid config is rewritten between the univetion-squid preinst and the squid postinst.
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".