Bug 40496 - AppCenter makes pkgdb crash with pg.OperationalError: SSL error: tlsv1 alert protocol version
AppCenter makes pkgdb crash with pg.OperationalError: SSL error: tlsv1 alert ...
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: pkgdb
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-x
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-25 15:04 CET by Daniel Tröder
Modified: 2019-01-03 07:21 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
Enterprise Customer affected?:
School Customer affected?: Yes
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 Daniel Tröder univentionstaff 2016-01-25 15:04:55 CET
Doesn't happen with apt-get, aptitude or univention-install, but with univention-app {install, remove}:

# univention-app remove self-service
[..]
Traceback (most recent call last):
  File "/usr/sbin/univention-pkgdb-scan", line 37, in <module>
    univention.pkgdb.main()
  File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 577, in main
    return action_scan(connection, cursor, config_registry)
  File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 482, in action_scan
    scan_and_store_packages(cursor, sysname, fake_null)
  File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 417, in scan_and_store_packages
    cursor.execute(delete_packages, {'sysname': sysname, })
  File "/usr/lib/python2.7/dist-packages/pgdb.py", line 259, in execute
    self.executemany(operation, (params,))
  File "/usr/lib/python2.7/dist-packages/pgdb.py", line 291, in executemany
    raise OperationalError("internal error in '%s': %s" % (sql, err))
pg.OperationalError: internal error in '
	DELETE FROM packages_on_systems
	       WHERE sysname = 'Test35'
	': SSL error: tlsv1 alert protocol version

close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
[..]

The App gets installed/removed, but the pkgdb does not get updated.
Comment 1 Erik Damrose univentionstaff 2017-07-06 13:43:52 CEST
Happened again: https://help.univention.com/t/6118/3
Comment 2 Michel Smidt 2017-08-11 14:30:54 CEST
Happened again
Comment 3 Stefan Gohmann univentionstaff 2019-01-03 07:21:28 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. 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.