[ https://issues.apache.org/jira/browse/KARAF-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie goodyear closed KARAF-1675. --------------------------------- > 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, 2.3.0, 3.0.0 > Environment: Linux > Reporter: Fredrik Kjellberg > Assignee: Jean-Baptiste Onofré > Priority: Minor > Labels: patch > Fix For: 2.2.9, 2.3.0, 3.0.0 > > 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 For more information on JIRA, see: http://www.atlassian.com/software/jira