Bug 46000 - squid3 -> squid
squid3 -> squid
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Proxy services
UCS@school 4.3
Other Linux
: P5 normal (vote)
: UCS@school 4.3 v1
Assigned To: Sönke Schwardt-Krummrich
Daniel Tröder
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-10 13:51 CET by Felix Botner
Modified: 2018-03-14 13:11 CET (History)
3 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2018-01-10 13:51:06 CET
The official squid3 package has been renamed to squid and so all init/config files etc.

In bug #45935 we modify our univention-squid accordingly, but there is more work to do in school 

/git/ucsschool->  (4.2) $ grep -r squid3 *
doc/manual/ucc-de.xml:	  Kommandozeile über das Kommando <command>invoke-rc.d squid3 restart</command> durchgeführt werden
ucs-school-webproxy/debian/ucs-school-webproxy.postinst:		if [ -x /etc/init.d/squid3 ]; then
ucs-school-webproxy/debian/ucs-school-webproxy.postinst:			/etc/init.d/squid3 restart
ucs-school-webproxy/share/remove-java-updater-acl-exception:echo >/dev/stderr ' invoke-rc.d squid3 restart'
ucs-school-webproxy/share/set-java-applet-acl-exception:echo >/dev/stderr ' invoke-rc.d squid3 restart'
ucs-school-webproxy/share/remove-java-applet-acl-exception:echo >/dev/stderr ' invoke-rc.d squid3 restart'
ucs-school-webproxy/share/set-java-updater-acl-exception:echo >/dev/stderr ' invoke-rc.d squid3 restart'
ucs-school-webproxy/usr/sbin/univention-reload-service:def reload_squid3():
ucs-school-webproxy/usr/sbin/univention-reload-service:	log('Reloading %r now' % (reload_squid3.name, ))
ucs-school-webproxy/usr/sbin/univention-reload-service:	reload_squid3.last = monotonic_time()
ucs-school-webproxy/usr/sbin/univention-reload-service:	call(('/etc/init.d/squid3', 'reload', ))
ucs-school-webproxy/usr/sbin/univention-reload-service:reload_squid3.name = 'squid3'
ucs-school-webproxy/usr/sbin/univention-reload-service:reload_squid3.delay = 15.0
ucs-school-webproxy/usr/sbin/univention-reload-service:reload_squid3.last = float('-inf')
ucs-school-webproxy/usr/sbin/univention-reload-service:	if message == ('reload', 'squid3', ):
ucs-school-webproxy/usr/sbin/univention-reload-service:		queue(reload_squid3)
ucs-school-webproxy/conffiles/ucs-school-webproxy.py:		s.sendto('reload squid3', RELOAD_SOCKET_PATH)
ucs-school-webproxy/conffiles/ucs-school-webproxy.py:	subprocess.call(('/etc/init.d/squid3', 'reload', ))
ucs-school-webproxy/ucs-school-webproxy:/var/log/squid3/access.log	squid
ucs-test-ucsschool/90_ucsschool/15_http_proxy_multi_auth_check:	subprocess.Popen(["/etc/init.d/squid3", "restart"], stdin=subprocess.PIPE).communicate()
ucs-test-ucsschool/90_ucsschool/17_http_proxy_auth_after_passwd_reset_check:			subprocess.Popen(["/etc/init.d/squid3", "restart"], stdin=subprocess.PIPE).communicate()
ucs-test-ucsschool/90_ucsschool/17_http_proxy_auth_after_passwd_reset_check:		subprocess.Popen(["/etc/init.d/squid3", "restart"], stdin=subprocess.PIPE).communicate()
ucs-test-ucsschool/90_ucsschool/121_limit_squid_reloads:LOGFILE = "/var/log/squid3/cache.log"
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2018-01-25 18:06:15 CET
All occurences of "squid3" have been changed to "squid".

Package: ucs-school-webproxy
Version: 14.0.0-2A~4.3.0.201801251730
Branch: ucs_4.3-0
Scope: ucs-school-4.3

Package: ucs-test-ucsschool
Version: 5.0.0-0A~4.3.0.201801251758
Branch: ucs_4.3-0
Scope: ucs-school-4.3
Comment 2 Daniel Tröder univentionstaff 2018-02-20 14:26:56 CET
OK: code changes
OK: manual functional test of ucs-school-webproxy
OK: automatic tests 121_limit_squid_reloads, 

NOTE: 121_limit_squid_reloads fails in jenkins because of timing issues, but works in KVM VMs.
NOTE: We should use "service ??? start/stop/restart" instead of "invoke-rc.d ??? start/stop/restart" in the future.

OK: Update UCS+UCS@school 4.2 to 4.3

ucs-school-webproxy (14.0.0-2A~4.3.0.201801251730) wird eingerichtet ...
Neue Version der Konfigurationsdatei /etc/init.d/univention-reload-service wird installiert ...
Neue Version der Konfigurationsdatei /etc/logcollector.d/ucs-school-webproxy wird installiert ...
Neue Version der Konfigurationsdatei /etc/univention/templates/modules/ucs-school-webproxy.py wird installiert ...
Module: ucs-school-webproxy
[....] Reloading squid configuration (via systemctl): squid.serviceESC[?25lESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?12lESC[?25h.
File: /var/www/proxy.pac
File: /etc/apache2/sites-available/wpad.conf
File: /etc/cron.d/ucs-school-webproxy
insserv: warning: script 'K01univention-system-setup-boot' 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
[....] Restarting univention-directory-listener (via systemctl): univention-directory-listener.serviceESC[?25lESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?12lESC[?25h.
ESC[1mdpkg-statoverride:ESC[0m ESC[1;33mWarnung:ESC[0m Entfernen von abschließendem(n) /
ESC[1mdpkg-statoverride:ESC[0m ESC[1;33mWarnung:ESC[0m Ein Override für »/var/lib/ucs-school-webproxy« existiert bereits, wird aber ignoriert, da --force angegeben ist
ESC[1mdpkg-statoverride:ESC[0m ESC[1;33mWarnung:ESC[0m Ein Override für »/var/lib/ucs-school-webproxy/bdbtemp« existiert bereits, wird aber ignoriert, da --force angegeben ist
Reloading smbd.
[....] Reloading smbd configuration (via systemctl): smbd.serviceESC[?25lESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?12lESC[?25h.
[....] Restarting winbind (via systemctl): winbind.serviceESC[?25lESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?12lESC[?25h.
[....] Restarting squid (via systemctl): squid.serviceESC[?25lESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?12lESC[?25h.
Enabling site wpad.
To activate the new configuration, you need to run:
  systemctl reload apache2
Not updating proxy/filter/setting/Kein Internet/filtertype
Not updating proxy/filter/setting/Unbeschränkt/filtertype
Not updating proxy/filter/global/blacklists/forced
Setting dhcpd/options/wpad/252
python-sphinx (1.4.9-2A~4.2.0.201712111252) wird eingerichtet ...
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2018-03-14 13:11:54 CET
UCS@school 4.3 v1 has been released.

https://docs.software-univention.de/release-notes-ucsschool-4.3v1-de.html

If this error occurs again, please clone this bug.