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

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.4.0
    • 0.5.0
    • Configuration
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: