#1722 Starting prosody with unrecognized arguments does not fail
Reporter
MattJ
Owner
MattJ
Created
Updated
Stars
★ (1)
Tags
Milestone-0.12
Status-Fixed
Type-Defect
Priority-Medium
MattJ
on
What steps will reproduce the problem?
1. Run: sudo prosody shell
What is the expected output?
The command is incorrect (should be 'prosodyctl shell') and it should fail.
What do you see instead?
Prosody starts up, running as root, attempts to bind to ports, and eventually shuts down. The usual logic of prosodyctl to prevent running multiple instances, or to drop privileges, is bypassed.
What steps will reproduce the problem? 1. Run: sudo prosody shell What is the expected output? The command is incorrect (should be 'prosodyctl shell') and it should fail. What do you see instead? Prosody starts up, running as root, attempts to bind to ports, and eventually shuts down. The usual logic of prosodyctl to prevent running multiple instances, or to drop privileges, is bypassed.
Fixed in 0.12 in https://hg.prosody.im/trunk/rev/3ae9299d61d7
Changes