[ 
https://issues.apache.org/jira/browse/KARAF-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fredrik Kjellberg updated KARAF-1675:
-------------------------------------

    Attachment: add_shell_to_su.patch

Patch
                
> Wrapper service requires a shell
> --------------------------------
>
>                 Key: KARAF-1675
>                 URL: https://issues.apache.org/jira/browse/KARAF-1675
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-os-integration
>    Affects Versions: 2.2.8, 3.0.0
>         Environment: Linux
>            Reporter: Fredrik Kjellberg
>            Priority: Minor
>              Labels: patch
>         Attachments: add_shell_to_su.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to