What steps will reproduce the problem?
1. Set authentication = "cyrus" in config
2. Start Prosody with systemctl start prosody
What is the expected output?
Prosody starts up
What do you see instead?
Prosody logs the following error:
modulemanager error Error initializing module 'auth_cyrus' on 'host': /usr/lib64/prosody/core/moduleapi.lua:126: Failed to load plugin library 'sasl_cyrus', error: /usr/lib64/prosody/modules/sasl_cyrus.lib.lua: No such file or directory
stack traceback:
[C]: in function 'error'
/usr/lib64/prosody/core/moduleapi.lua:126: in function 'require'
/opt/prosody-modules/mod_auth_cyrus/mod_auth_cyrus.lua:22: in main chunk
[C]: in function 'xpcall'
/usr/lib64/prosody/core/modulemanager.lua:183: in function 'do_load_module'
/usr/lib64/prosody/core/modulemanager.lua:261: in function 'load'
/usr/lib64/prosody/core/usermanager.lua:67: in function '?'
/usr/lib64/prosody/util/events.lua:79: in function </usr/lib64/prosody/util/events.lua:75>
(tail call): ?
/usr/lib64/prosody/core/hostmanager.lua:108: in function 'activate'
/usr/lib64/prosody/core/hostmanager.lua:58: in function '?'
/usr/lib64/prosody/util/events.lua:79: in function </usr/lib64/prosody/util/events.lua:75>
(tail call): ?
/usr/lib64/prosody/util/startup.lua:399: in function 'prepare_to_start'
/usr/lib64/prosody/util/startup.lua:635: in function 'f'
/usr/lib64/prosody/util/async.lua:139: in function 'func'
/usr/lib64/prosody/util/async.lua:127: in function </usr/lib64/prosody/util/async.lua:125>
What version of the product are you using? On what operating system?
CentOS 7 with Prosody 0.11.13 from epel
Please provide any additional information below:
The folowing mitigates the issue:
ln -s /usr/lib64/prosody/util/sasl_cyrus.lua /usr/lib64/prosody/modules/sasl_cyrus.lib.lua
What steps will reproduce the problem? 1. Set authentication = "cyrus" in config 2. Start Prosody with systemctl start prosody What is the expected output? Prosody starts up What do you see instead? Prosody logs the following error: modulemanager error Error initializing module 'auth_cyrus' on 'host': /usr/lib64/prosody/core/moduleapi.lua:126: Failed to load plugin library 'sasl_cyrus', error: /usr/lib64/prosody/modules/sasl_cyrus.lib.lua: No such file or directory stack traceback: [C]: in function 'error' /usr/lib64/prosody/core/moduleapi.lua:126: in function 'require' /opt/prosody-modules/mod_auth_cyrus/mod_auth_cyrus.lua:22: in main chunk [C]: in function 'xpcall' /usr/lib64/prosody/core/modulemanager.lua:183: in function 'do_load_module' /usr/lib64/prosody/core/modulemanager.lua:261: in function 'load' /usr/lib64/prosody/core/usermanager.lua:67: in function '?' /usr/lib64/prosody/util/events.lua:79: in function </usr/lib64/prosody/util/events.lua:75> (tail call): ? /usr/lib64/prosody/core/hostmanager.lua:108: in function 'activate' /usr/lib64/prosody/core/hostmanager.lua:58: in function '?' /usr/lib64/prosody/util/events.lua:79: in function </usr/lib64/prosody/util/events.lua:75> (tail call): ? /usr/lib64/prosody/util/startup.lua:399: in function 'prepare_to_start' /usr/lib64/prosody/util/startup.lua:635: in function 'f' /usr/lib64/prosody/util/async.lua:139: in function 'func' /usr/lib64/prosody/util/async.lua:127: in function </usr/lib64/prosody/util/async.lua:125> What version of the product are you using? On what operating system? CentOS 7 with Prosody 0.11.13 from epel Please provide any additional information below: The folowing mitigates the issue: ln -s /usr/lib64/prosody/util/sasl_cyrus.lua /usr/lib64/prosody/modules/sasl_cyrus.lib.lua