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

Wrapper service requires a shell

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.8, 2.3.0, 3.0.0
    • 2.2.9, 2.3.0, 3.0.0
    • karaf
    • Linux

    Description

      The wrapper init script karaf-service cannot start the service if the RUN_AS_USER variable is set to an account
      without a login shell (e.g. /sbin/nologin).

      The error message returned is: "This account is currently not available."

      This patch adds the -s argument to the su command in the karaf-service script to provide a shell (/bin/sh)
      for executing the command.

      Attachments

        1. add_shell_to_su.patch
          0.7 kB
          Fredrik Kjellberg

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            frkj Fredrik Kjellberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: