You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Fredrik Kjellberg (JIRA)" <ji...@apache.org> on 2012/07/26 10:04:33 UTC

[jira] [Created] (KARAF-1675) Wrapper service requires a shell

Fredrik Kjellberg created KARAF-1675:
----------------------------------------

             Summary: 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
         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

        

[jira] [Updated] (KARAF-1675) Wrapper service requires a shell

Posted by "Fredrik Kjellberg (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Resolved] (KARAF-1675) Wrapper service requires a shell

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-1675.
-----------------------------------------

    Resolution: Fixed
    
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (KARAF-1675) Wrapper service requires a shell

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-1675:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-1675) Wrapper service requires a shell

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1675:
----------------------------------------

    Affects Version/s: 2.3.0
        Fix Version/s: 3.0.0
                       2.3.0
                       2.2.9
    
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira