Qpid
  1. Qpid
  2. QPID-3500

qpidd --help should ignore other parameters (incl. config file)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.12
    • Fix Version/s: 0.19
    • Component/s: C++ Broker
    • Labels:

      Description

      Steps to Reproduce:
      1. Add "log-to-file=/tmp/qpidd.log" to /etc/qpidd.conf
      2. Login as root user, touch /tmp/qpidd.log && chmod 600 /tmp/qpidd.log
      3. su to a non-root user, run "/usr/sbin/qpidd --help"

      Further similar reproductions:
      qpidd --help --config not_readable_file
      qpidd --help --log-file not_readable_file (where /etc/qpidd.conf does not
      contain log-file option)
      qpidd --help (when config file is not readable)
      qpidd --help (when config file contains log-file to non-readable file)

      Plus all the above for --version option (instead of --help).

      Patch for all the above (except one questionable case) will be uploaded.

      1. help_show.patch
        0.8 kB
        Pavel Moravec

        Activity

        Pavel Moravec created issue -
        Pavel Moravec made changes -
        Field Original Value New Value
        Attachment help_show.patch [ 12496101 ]
        Chuck Rolke made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Chuck Rolke [ chug ]
        Fix Version/s 0.19 [ 12322452 ]
        Resolution Fixed [ 1 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Chuck Rolke
            Reporter:
            Pavel Moravec
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2h
              2h
              Remaining:
              Remaining Estimate - 2h
              2h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development