Bug 36465 - assign internetrules ucs-school-webproxy traceback
assign internetrules ucs-school-webproxy traceback
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Internet rules
UCS@school 4.0
Other Linux
: P5 normal (vote)
: UCS@school 4.0
Assigned To: Florian Best
Sönke Schwardt-Krummrich
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-05 22:23 CET by Florian Best
Modified: 2015-05-11 19:27 CEST (History)
1 user (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

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2014-11-05 22:23:49 CET
Die Ausführung des Kommandos internetrules/groups/assign ist fehlgeschlagen:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py", line 176, in _decorated
    return function(self, request, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/ucsschool/lib/schoolldap.py", line 204, in wrapper_func
    return func( *args, **kwargs )
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/internetrules/__init__.py", line 415, in groups_assign
    rules.setGroupRuleName(newRules)
  File "/usr/lib/pymodules/python2.7/ucsschool/lib/internetrules.py", line 304, in setGroupRuleName
    univention.config_registry.handler_set(vars)
  File "/usr/lib/pymodules/python2.7/univention/config_registry/frontend.py", line 162, in handler_set
    None if quiet else 'W: %s is overridden by scope "%s"')
  File "/usr/lib/pymodules/python2.7/univention/config_registry/frontend.py", line 203, in _run_changed
    handlers(changed.keys(), (ucr, changed))
  File "/usr/lib/pymodules/python2.7/univention/config_registry/handler.py", line 827, in __call__
    handler(arg)
  File "/usr/lib/pymodules/python2.7/univention/config_registry/handler.py", line 459, in __call__
    run_module(self.module, 'generate', ucr, changed)
  File "/usr/lib/pymodules/python2.7/univention/config_registry/handler.py", line 156, in run_module
    arg2meth[arg](module)(ucr, changes)
  File "/etc/univention/templates/modules/ucs-school-webproxy.py", line 100, in handler
    (fno, fn_temp_config) = tempfile.mkstemp(dir=DIR_ETC)
  File "/usr/lib/python2.7/tempfile.py", line 300, in mkstemp
    return _mkstemp_inner(dir, prefix, suffix, flags)
  File "/usr/lib/python2.7/tempfile.py", line 235, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/etc/squid/tmpulC2m0'
Comment 1 Florian Best univentionstaff 2014-11-07 15:27:32 CET
squidguard changed its config directory to /etc/squidguard instead of /etc/squid.
Comment 2 Florian Best univentionstaff 2014-11-18 16:14:36 CET
fixed another path to /var/log/squid/squidGuard.log which is now /var/log/squidguard/squidGuard.log in svn r55942.

Otherwise the following error occurred in the logs:
(squidGuard): can't write to logfile /var/log/squid/squidGuard.log
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2014-11-18 22:42:26 CET
OK: code change
OK: functionality
changelog entry is not required

Tested package: ucs-school-webproxy (11.0.2-1)