Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-17771

spoon.sh throws ldconfig: not found if run as an unprivileged user

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: High
    • Resolution: Fixed
    • Affects Version/s: 8.2.0 GA
    • Fix Version/s: 8.3.0 GA
    • Component/s: Core (Engine)
    • Labels:
    • Environment:
      Ubuntu 16.04 LTS
    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Sprint Team:
      Tatooine (Maint)
    • Operating System/s:
      Ubuntu 16.x
    • Steps to Reproduce:
      Hide

      Run spoon.sh as an unprivileged user on Ubuntu 16.10. You will receive the following error on stderr:

      /opt/data-integration/spoon.sh: 1: /opt/data-integration/spoon.sh: ldconfig: not found
      
      Show
      Run spoon.sh as an unprivileged user on Ubuntu 16.10. You will receive the following error on stderr: /opt/data-integration/spoon.sh: 1: /opt/data-integration/spoon.sh: ldconfig: not found

      Description

      On Ubuntu 16.04 ldconfig is at /sbin/ldconfig. Even though it's possible to run ldconfig as non-root, unprivileged users don't have /sbin/ in their PATH so the interpreter won't find it unless it's fully referenced.

      I'm submitting a PR on github fixing this issue

        Attachments

          Activity

            People

            Assignee:
            rrosinha Ricardo Rosinha
            Reporter:
            belidzs Balazs Keresztury
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: