Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.8, 2.3.0, 3.0.0
    • Fix Version/s: 2.2.9, 2.3.0, 3.0.0
    • Component/s: karaf-os-integration
    • Labels:
    • Environment:

      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.

      1. add_shell_to_su.patch
        0.7 kB
        Fredrik Kjellberg

        Activity

        Hide
        Fredrik Kjellberg added a comment -

        Patch

        Show
        Fredrik Kjellberg added a comment - Patch

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Fredrik Kjellberg
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development