Bug 20280 - Fehlende Filterliste für squidGuard beendet squid
Fehlende Filterliste für squidGuard beendet squid
Status: RESOLVED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: Proxy services
UCS@school for UCS 2.4
Other Linux
: P2 normal with 2 votes (vote)
: UCS@school 3.x
Assigned To: UCS@school maintainers
:
: 23952 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-06 10:00 CEST by Sönke Schwardt-Krummrich
Modified: 2019-02-05 21:27 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
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
ucr dump (19.57 KB, text/plain)
2010-10-06 10:01 CEST, Sönke Schwardt-Krummrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2010-10-06 10:00:33 CEST
Es tritt gelegentlich der Fall auf, dass für einzelne Filterlisten keine Datei angelegt wird. squidGuard beendet sich dann und zieht den squid mit sich (squid geht aus).

11:53:15(1 J0 !110 #6)# tail -n10 /var/log/squid/squidGuard.log
2010-10-06 11:05:59 [4634] init urllist /var/lib/ucs-school-webproxy//blacklisted-url
2010-10-06 11:05:59 [4634] loading dbfile /var/lib/ucs-school-webproxy//blacklisted-url.db
2010-10-06 11:05:59 [4634] init domainlist /var/lib/ucs-school-webproxy//whitelisted-domain
2010-10-06 11:05:59 [4634] loading dbfile /var/lib/ucs-school-webproxy//whitelisted-domain.db
2010-10-06 11:05:59 [4634] init urllist /var/lib/ucs-school-webproxy//whitelisted-url
2010-10-06 11:05:59 [4634] loading dbfile /var/lib/ucs-school-webproxy//whitelisted-url.db
2010-10-06 11:05:59 [4634] init domainlist /var/lib/ucs-school-webproxy//blacklisted-domain-Kein_Internet
2010-10-06 11:05:59 [4634] loading dbfile /var/lib/ucs-school-webproxy//blacklisted-domain-Kein_Internet.db
2010-10-06 11:05:59 [4634] init urllist /var/lib/ucs-school-webproxy//blacklisted-url-Kein_Internet
2010-10-06 11:05:59 [4634] /var/lib/ucs-school-webproxy//blacklisted-url-Kein_Internet: No such file or directory
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2010-10-06 10:01:27 CEST
Created attachment 2734 [details]
ucr dump

Für den whitelist-block-Filter Kein_Internet ist keine URL/Domain gesetzt.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2010-10-07 15:09:37 CEST
Workaround:

touch /var/lib/ucs-school-webproxy{white,black}listed-{url,domain}-Kein_Internet
squidGuard -C all
chmod ug+rw /var/lib/ucs-school-webproxy/*
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2011-05-02 09:28:35 CEST
(In reply to comment #2)
> Workaround:
> 
> touch
> /var/lib/ucs-school-webproxy{white,black}listed-{url,domain}-Kein_Internet
> squidGuard -C all
> chmod ug+rw /var/lib/ucs-school-webproxy/*

Da ist ein kleiner Typo enthalten:

touch /var/lib/ucs-school-webproxy/{white,black}listed-{url,domain}-Kein_Internet
squidGuard -C all
chmod ug+rw /var/lib/ucs-school-webproxy/*
/etc/init.d/squid restart
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2011-05-02 09:33:25 CEST
Der Vollständigkeit halber:
wird squidGuard in Verbindung mit squid verwendet, taucht beim Auftreten dieses Fehler i.d.R. die Meldung
"FATAL: The url_rewriter helpers are crashing too rapidly, need help!"
in der cache.log des squid auf.
Comment 5 Jan Christoph Ebersbach univentionstaff 2011-06-09 12:30:30 CEST
Der Fehler ist in einer Kundenumgebung auf einem frisch installierten UCS 2.4-System aufgetreten. Aus der Fehlermeldung von Squid ist leider überhaupt nicht ersichtlich was das Problem ist. Erst das Ausführen von squidGuard im Debugmodus gibt die fehlenden Dateien aus.
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2011-10-05 16:06:43 CEST
*** Bug 23952 has been marked as a duplicate of this bug. ***
Comment 7 Felix Botner univentionstaff 2012-06-01 10:44:54 CEST
Wenn der squidGuard eine seiner definierten "Filterlisten" nicht findet, geht er in einen "emergency mode" und blockiert dann alles. Mit "-P" kann man das wohl verhindern


       -P  Do not go into emergency mode when an error with blacklists is encountered.
Comment 8 Sönke Schwardt-Krummrich univentionstaff 2019-02-05 21:27:11 CET
This issue has been filled against UCS@school 3.2. The maintenance with
bug and security fixes for UCS@school 3.2 has ended on Dec 31, 2016.

Customers still on UCS 3.x are encouraged to update to UCS 4.3 (or later). 
Please contact your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug"
or simply reopen the issue. In this case please provide detailed information on
how this issue is affecting you.