Your message dated Thu, 10 Nov 2016 06:13:12 +0000
with message-id
<CAMcKhMT3Mvd0y+qLjEnsos=zuS38p0i4KGz=yagu0t4rs8h...@mail.gmail.com>
and subject line Fixed in python-openssl
has caused the Debian Bug report #843614,
regarding AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
843614: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843614
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-cryptography
Version: 1.5.3-1
Severity: grave
Justification: renders package unusable
Processes using python-twisted fail immediately that python-cryptography is
upgraded
and run normally when python-cryptography is downgraded back to 1.5.2-1 in
testing.
Traceback (most recent call last):
File "/usr/bin/lava-server", line 77, in <module>
main()
File "/usr/bin/lava-server", line 74, in main
execute_from_command_line(django_options)
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 367, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line
294, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line
345, in execute
output = self.handle(*args, **options)
File
"/usr/lib/python2.7/dist-packages/lava_scheduler_app/management/commands/scheduler.py",
line 43, in handle
from twisted.internet import reactor
File "/usr/lib/python2.7/dist-packages/twisted/internet/reactor.py", line 38,
in <module>
from twisted.internet import default
File "/usr/lib/python2.7/dist-packages/twisted/internet/default.py", line 56,
in <module>
install = _getInstallFunction(platform)
File "/usr/lib/python2.7/dist-packages/twisted/internet/default.py", line 44,
in _getInstallFunction
from twisted.internet.epollreactor import install
File "/usr/lib/python2.7/dist-packages/twisted/internet/epollreactor.py",
line 24, in <module>
from twisted.internet import posixbase
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line
18, in <module>
from twisted.internet import error, udp, tcp
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 28, in
<module>
from twisted.internet._newtls import (
File "/usr/lib/python2.7/dist-packages/twisted/internet/_newtls.py", line 21,
in <module>
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 41, in
<module>
from OpenSSL.SSL import Error, ZeroReturnError, WantReadError
File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in
<module>
from OpenSSL import rand, crypto, SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 112, in <module>
SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
2016-11-08 10:02:13,934 Closing LAVA Daemon.
$ dpkg -S /usr/lib/python2.7/dist-packages/OpenSSL/SSL.py
python-openssl: /usr/lib/python2.7/dist-packages/OpenSSL/SSL.py
python-openssl has not changed, but python-cryptography changed in
todays sid upgrade.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64
Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-cryptography depends on:
ii libc6 2.24-5
ii libssl1.0.2 1.0.2j-1
ii python 2.7.11-2
pn python-cffi-backend-api-max <none>
pn python-cffi-backend-api-min <none>
ii python-enum34 1.1.6-1
ii python-idna 2.1-1
ii python-ipaddress 1.0.17-1
ii python-pyasn1 0.1.9-2
ii python-setuptools 28.7.1-1
ii python-six 1.10.0-3
pn python:any <none>
python-cryptography recommends no packages.
Versions of packages python-cryptography suggests:
pn python-cryptography-doc <none>
pn python-cryptography-vectors <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Control: notfound -1 python-cryptography/1.5.3-1
This issue is fixed in python-openssl 16.2.0 (by the conditional import).
If any downstream software is using these constants from python-openssl or
python-cryptography unconditionally, it will still be broken, but I don't
know of any such software in Debian.
Brief summary of the problem for those not reading the other bug: OpenSSL
1.1.0 no longer defines these constants, and python-cryptography 1.5.3-1
happened to be the first version built in unstable against the newer
OpenSSL; downgrading libssl does not work as you would need to rebuild
against the older version too. As these constants are really gone from
libssl, there is no way to fix this in python-cryptography, downstream
software needs to tolerate their absence.
--- End Message ---