#476 "luasocket was not compiled with UNIX sockets support" when using prosody repo

Reporter kuba@ufiseru.cz
Owner MattJ
Created
Updated
Stars ★ (1)
Tags
  • Milestone-0.9
  • OpSys-Linux
  • Priority-Medium
  • Type-Defect
  • Status-Fixed
  1. kuba@ufiseru.cz on

    *What steps will reproduce the problem?* 1. add prosody repo to your debian wheezy box 2. install prosody 3. configure it for using dovecot_auth via a unix socket 4. "luasocket was not compiled with UNIX sockets suppor" *What is the expected output? What do you see instead?* nothing or "dovecot auth via unix socket activated"-like stuff *What version of the product are you using? On what operating system?* Latest from official Prosody DEB repo. On Debian Wheezy. Please add unix socket support to lua-socket package in official prosody repo. Thanks!

  2. kuba@ufiseru.cz on

    I was able to retrieve log: 2015 Feb 24 19:18:11 host auth_dovecot: Dovecot connection failure: error connecting to dovecot UNIX socket at '/var/run/dovecot/auth-provider'. error was 'luasocket was not compiled with UNIX sockets support' 2015 Feb 24 19:18:11 host modulemanager: Error initializing module 'auth_dovecot' on 'domain.org': ...s/mod_auth_dovecot/auth_dovecot/mod_auth_dovecot.lua:45: Could not create a new SASL object stack traceback: /usr/lib/prosody/core/modulemanager.lua:29: in function </usr/lib/prosody/core/modulemanager.lua:29> [C]: in function 'assert' ...s/mod_auth_dovecot/auth_dovecot/mod_auth_dovecot.lua:45: in main chunk (tail call): ? [C]: in function 'xpcall' /usr/lib/prosody/core/modulemanager.lua:29: in function 'pcall' /usr/lib/prosody/core/modulemanager.lua:171: in function 'do_load_module' /usr/lib/prosody/core/modulemanager.lua:249: in function 'load' /usr/lib/prosody/core/usermanager.lua:67: in function '?' /usr/lib/prosody/util/events.lua:67: in function 'fire_event' /usr/lib/prosody/core/hostmanager.lua:98: in function 'activate' /usr/lib/prosody/core/hostmanager.lua:44: in function '?' /usr/lib/prosody/util/events.lua:67: in function 'fire_event' /usr/bin/prosody:337: in function 'prepare_to_start' /usr/bin/prosody:403: in main chunk [C]: ?

  3. MattJ on

    Thanks for the report! I'll have to take a look at this when I rebuild the LuaSocket package in our repository.

    Changes
    • tags OpSys-Linux Milestone-0.9 Status-Accepted
    • owner MattJ
  4. kuba@ufiseru.cz on

    Solution: in package source file "debian/rules" change "DEB_MAKE_INSTALL_TARGET := install" to "install-unix"

  5. Zash on

    Any chance this was fixed by https://hg.prosody.im/prosody-modules/rev/e9ca7fd4ad06 ?

  6. Zash on

    Changes
    • tags Status-NeedInfo
  7. Zash on

    Assuming silence means yes

    Changes
    • tags Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.