Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2666

[C++ broker linux] Service init script does not handle config file with "log-to-file" and a relative path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8
    • Component/s: C++ Broker
    • Labels:
      None
    • Environment:

      Linux

      Description

      The service start script for linux (located in qpid/cpp/etc in svn) when installed will fail if the "log-to-file" option is set in the qpidd.conf file with a relative path (eg log-to-file=my-log.txt); however an absolute path works ok.

      If a relative path is used, the script's use of "qpidd --check" to obtain the PID of the newly started qpid daemon will fail (as it will attempt to open a log file in a directory for which it does not have permissions); hence the pid file will be empty. An error message is printed, but the daemon starts ok. However, the missing PID means that attempting to stop the service will fail, and an administrator will have to find and stop the process manually.

        Attachments

          Activity

            People

            • Assignee:
              kpvdr Kim van der Riet
              Reporter:
              kpvdr Kim van der Riet
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: