Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5143

Command cannot be executed via SSH when property "karaf.shell.init.script" (etc/system.properties) has its default value

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.2, 4.2.0.M1
    • Component/s: karaf
    • Labels:
      None

      Description

      Method executeScript on class org.apache.karaf.shell.ssh.ShellCommand cannot handle input value "etc/shell.init.script,etc/scripts/*.script" because it interprets it as path which is apparently wrong. The value should be split into tokens using "," as separator. Then it should handle each token either as path (etc/shell.init.script) or as path pattern (etc/scripts/*.script).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                roland.hauser@bechtle.ch Roland Hauser
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: