Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10018

Change command line tools from /bin/sh to /bin/bash

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: admin
    • Labels:
      None
    • Flags:
      Patch

      Description

      "#!/bin/sh" is used in kafka-server-stop.sh and zookeeper-server-stop.sh. [[ is a bash-builtin and used.
      Modern Debian and Ubuntu systems, which symlink sh to dash by default. So "[[: not found" will occur.
      Change "#Unable to render embedded object: File (/bin/sh" into "#) not found./bin/bash" can avoid this error. Modify and make all scripts using bash.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adally jiamei xie
                Reporter:
                adally jiamei xie
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: