Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-1311

nifi.sh invokes sudo for run.as even if it is the same as user executing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.5.0
    • Component/s: Configuration
    • Labels:
      None

      Description

      nifi.sh, when evaluating if a run.as user is set, invokes the process via sudo even if the specified run.as user is the same as the person executing it.

      While this typically isn't an issue, depending on environment configuration with sudo, this could lead to unexpected behavior with environment variables possibly being lost in the process.

        Attachments

        1. NIFI-1311.0001.patch
          1 kB
          Aldrin Piri

          Activity

            People

            • Assignee:
              aldrin Aldrin Piri
              Reporter:
              aldrin Aldrin Piri
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: