Tested ajenti, the headline control panel software which has been added in mga5. It installs with ssl used by default on port 8000, with a default username/password. Starting ajenti service and attempting to open https://hostname:8000 in a browser shows the connection is dropped. Stopping the ajenti service and starting manually in the foreground shows a python traceback when the browser attempts to connect. Googling suggests this is due to an issue in python but there is an ajenti bug report with matching traceback. http://support.ajenti.org/topic/510059-ajenti-troubleshooting/ "This is a Gevent bug which prevents SSL working under Python 2.7.9 (in-dev). I've committed a patch that will fix this problem, and preparing a pull request for gevent devs. In the meanwhile, you can disable SSL, downgrade Python to 2.7.8 or run Ajenti from git source." There is also a debian bug report for python which I verified is valid in mga5. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762010 $ python Python 2.7.9 (default, Dec 14 2014, 10:12:16) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ssl >>> help(ssl._ssl.sslwrap) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'sslwrap' This seems to be the gevent bug report (joequant) https://github.com/gevent/gevent/issues/477 I confirmed that disabling ssl in ajenti /etc/ajenti/config.json does allow connection and login with the initial default credentials (root/admin).
CC: (none) => makowski.mageia
here the Python bug and patch http://bugs.python.org/issue22523 https://hg.python.org/cpython/rev/1a36d4e8cf4e just need to apply it to Python 2.7.9 package
Will you be able to apply it Philippe please?
only for mga5 ?
Looks to be the same in mga4. $ python Python 2.7.9 (default, Dec 13 2014, 22:06:10) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ssl >>> help(ssl._ssl.sslwrap) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'sslwrap'
Whiteboard: (none) => MGA4TOO
Assignee: joequant => makowski.mageia
Sorry I was wrong, the fix have to be in ajenti Python will not restore _sslwrap http://bugs.python.org/issue22438 The patch for ajenti is https://github.com/Eugeny/ajenti/commit/54442ccb2b9ee24af15500557e7dd7b2f58acb97 https://github.com/Eugeny/ajenti/issues/578
Assignee: makowski.mageia => joequantSource RPM: ajenti, python => ajenti
Whiteboard: MGA4TOO => (none)
Created attachment 6169 [details] patch from upstream
Joseph, any input please.
I'll apply the patch this weekend.
It turns out to be a bit more complex since I have to pull in the entire new compat.py to get it to work.
Thanks Joseph, this package is a "headline" one in mga5 so needs to be working for release.
Just fixed it. and requested a freeze push.
Status: NEW => RESOLVEDResolution: (none) => FIXED
reopened as it's not yet pushed
Status: RESOLVED => REOPENEDResolution: FIXED => (none)
now it is
Status: REOPENED => RESOLVEDResolution: (none) => FIXED