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)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.3
    • jboss-fuse-6.3
    • Karaf
    • None
    • % %
    • 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
      

      Attachments

        Activity

          People

            lburgazz@redhat.com Luca Burgazzoli
            avano@redhat.com Andrej Vano
            Andrej Vano Andrej Vano
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: