FS#37463 - lua51-socket should be compiled with support for unix sockets
Attached to Project:
Community Packages
Opened by Benjamin Podszun (darklajid) - Wednesday, 23 October 2013, 20:30 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 24 October 2013, 09:32 GMT
Opened by Benjamin Podszun (darklajid) - Wednesday, 23 October 2013, 20:30 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 24 October 2013, 09:32 GMT
|
Details
Description:
lua51-socket isn't supporting unix sockets. Running prosody with it leads to auth_dovecot: Dovecot connection failure: error connecting to dovecot UNIX socket at '/var/run/dovecot/auth-login'. error was 'luasocket was not compiled with UNIX sockets support The thing is, prosody is one of the few possible consumers of this library: pactree -s -r lua51-socket lua51-socket ├─libquvi-scripts │ └─libquvi │ ├─cclive │ ├─mpv │ └─quvi │ └─clive ├─lua51-sec └─prosody I therefor would like to propose that this package is compiled with unix socket support in the future, making custom builds unnecessary. (I know that I can work around my issue and use TCP sockets. That's not an option for my deployment though) Additional info: * package version(s) lua51-socket 3.0rc1-2 Steps to reproduce: - install prosody - use mod_auth_dovecot for authentication (download two lua files, change the 'authentication' part in the config with 'dovecot', see [1]) - launch prosody Alternatively: Use lua51-socket in a simple script, connecting to a unix socket. 1: https://code.google.com/p/prosody-modules/wiki/mod_auth_dovecot |
This task depends upon
Closed by Sergej Pupykin (sergej)
Thursday, 24 October 2013, 09:32 GMT
Reason for closing: Fixed
Additional comments about closing: added
usr/lib/lua/5.1/socket/serial.so
usr/lib/lua/5.1/socket/unix.so
Thursday, 24 October 2013, 09:32 GMT
Reason for closing: Fixed
Additional comments about closing: added
usr/lib/lua/5.1/socket/serial.so
usr/lib/lua/5.1/socket/unix.so