#1719 mod_admin_socket: confusing error when socket can't be created
Reporter
MattJ
Owner
MattJ
Created
Updated
Stars
★ (1)
Tags
Status-Fixed
Milestone-0.12
Type-Defect
Priority-Medium
MattJ
on
What steps will reproduce the problem?
1. Set admin_socket to a non-existent path
2. Start Prosody
What is the expected output?
Prosody should clearly state that the admin socket could not be created, and the reason why.
What do you see instead?
This log line:
> modulemanager error Error initializing module 'admin_socket' on '*': plugins/mod_admin_socket.lua:56: No such file or directory
It makes it appear at first glance that mod_admin_socket.lua is the file that cannot be found. But the error actually applies to the admin socket creation.
What version of the product are you using? On what operating system?
Prosody 0.12.0 on Debian 11
What steps will reproduce the problem? 1. Set admin_socket to a non-existent path 2. Start Prosody What is the expected output? Prosody should clearly state that the admin socket could not be created, and the reason why. What do you see instead? This log line: > modulemanager error Error initializing module 'admin_socket' on '*': plugins/mod_admin_socket.lua:56: No such file or directory It makes it appear at first glance that mod_admin_socket.lua is the file that cannot be found. But the error actually applies to the admin socket creation. What version of the product are you using? On what operating system? Prosody 0.12.0 on Debian 11
Fixed in 0.12 in dd47adf74e93
Changes