#1722 Starting prosody with unrecognized arguments does not fail

Reporter MattJ
Owner MattJ
Created
Updated
Stars ★ (1)
Tags
  • Type-Defect
  • Priority-Medium
  • Milestone-0.12
  • Status-Fixed
  1. 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.

  2. MattJ on

    Fixed in 0.12 in https://hg.prosody.im/trunk/rev/3ae9299d61d7

    Changes
    • tags Status-Fixed
    • owner MattJ

New comment

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