Bug 46778 - [4.2] Locking errors in netlogon listener module
[4.2] Locking errors in netlogon listener module
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Netlogon scripts
UCS@school 4.2
Other Linux
: P5 normal (vote)
: UCS@school 4.2 v9
Assigned To: Daniel Tröder
Sönke Schwardt-Krummrich
:
Depends on: 46696
Blocks: 46923
  Show dependency treegraph
 
Reported: 2018-04-04 17:48 CEST by Daniel Tröder
Modified: 2018-06-04 15:34 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support: Yes
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018031921001501
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 Daniel Tröder univentionstaff 2018-04-04 17:48:43 CEST
+++ This bug was initially created as a clone of Bug #46696 +++

Backport code change from Bug #46696.
Comment 1 Daniel Tröder univentionstaff 2018-04-04 17:53:01 CEST
[4.2 3373f1fa] Bug #46778: prevent locked DB by closing it after every use
[4.2 8331b575] Bug #46778: changelog
[4.2 7356f0f2] Bug #46778: advisory

ucs-school-netlogon-user-logonscripts (13.0.2-13)
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2018-04-20 15:25:36 CEST
24.03.18 20:52:22.068  LISTENER    ( WARN    ) : handler: ucs-school-user-logonscript (failed)
Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/ucs-school-user-logonscript.py", line 231, in handler
    user_queue = SqliteQueue(logger=Log)
  File "/usr/lib/pymodules/python2.7/ucsschool/netlogon/__init__.py", line 104, in __init__
    self.setup_database()
  File "/usr/lib/pymodules/python2.7/ucsschool/netlogon/__init__.py", line 117, in setup_database
    with Cursor(self.logger, self.filename) as cursor:
TypeError: __init__() takes exactly 2 arguments (3 given)
Comment 3 Daniel Tröder univentionstaff 2018-04-23 14:30:44 CEST
[4.2] d68ccfd3 Bug #46778: remove excess argument
[4.2] b05f9e5d Bug #46778: changelog
[4.2] 0c72a760 Bug #46778: advisory update

ucs-school-netlogon-user-logonscripts (13.0.2-15)
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2018-04-25 16:06:42 CEST
OK: code change
OK: functional change
OK: tests
OK: changelog entry
OK: advisory
OK: package built
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2018-05-02 17:53:01 CEST
UCS@school 4.2 v9 has been released.

https://docs.software-univention.de/changelog-ucsschool-4.2v9-de.html

If this error occurs again, please clone this bug.