Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4980

[Karaf-service] Karaf-service.sh script does nothing on Debian (in docker)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Karaf
    • Labels:
      None
    • Sprint:
      6.3 Sprint 2 (1-Feb - 26-Feb)

      Description

      The file /etc/debian-release is missing in docker debian images (an in my ubuntu too), but there is a file /etc/debian_version that can serve this purpose

      related lines from karaf-service.sh:

                  elif [ -f /etc/debian-release ]; then
                      generate_service_descriptor \
                          $INIT_DEBIAN_TEMPLATE \
                          ${PWD}/${KARAF_SERVICE_NAME} \
                          ${CONF_TEMPLATE} \
                          ${KARAF_SERVICE_CONF}
      
                      chmod 755 ${PWD}/${KARAF_SERVICE_NAME}
                  fi
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lburgazzoli Luca Burgazzoli
                Reporter:
                avano Andrej Vano
                Tester:
                Andrej Vano
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: