You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2011/05/06 16:25:03 UTC

[jira] [Created] (KARAF-614) Add warning to osgi:shutdown to avoid inadvertently shutting down the container

Add warning to osgi:shutdown to avoid inadvertently shutting down the container
-------------------------------------------------------------------------------

                 Key: KARAF-614
                 URL: https://issues.apache.org/jira/browse/KARAF-614
             Project: Karaf
          Issue Type: Improvement
    Affects Versions: 2.2.0
            Reporter: Gert Vanthienen
             Fix For: 2.1.6, 2.2.2, 3.0.0


When being remotely logged into the container, people can mistakenly use osgi:shutdown to exit the console instead of pressing Ctrl-D, thereby inadvertently shutting down the container. It would be good if the shell would at least ask for a confirmation to ensure people really know what they're doing (not sure if we can or even should discriminate between remote and local logons to the shell for this).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (KARAF-614) Add warning to osgi:shutdown to avoid inadvertently shutting down the container

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

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

    Resolution: Fixed

Fixed on trunl: revision 1125277.
Fixed on karaf-2.2.x branch: revision 1125298.
Fixed on karaf-2.1.x branch: revision 1125300.

> Add warning to osgi:shutdown to avoid inadvertently shutting down the container
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-614
>                 URL: https://issues.apache.org/jira/browse/KARAF-614
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Gert Vanthienen
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.1.6, 2.2.2, 3.0.0
>
>
> When being remotely logged into the container, people can mistakenly use osgi:shutdown to exit the console instead of pressing Ctrl-D, thereby inadvertently shutting down the container. It would be good if the shell would at least ask for a confirmation to ensure people really know what they're doing (not sure if we can or even should discriminate between remote and local logons to the shell for this).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Reopened] (KARAF-614) Add warning to osgi:shutdown to avoid inadvertently shutting down the container

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

Jean-Baptiste Onofré reopened KARAF-614:
----------------------------------------


It could be helpful for the users who exactly know what they do to have a -f / --force option to not display the confirmation message.

> Add warning to osgi:shutdown to avoid inadvertently shutting down the container
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-614
>                 URL: https://issues.apache.org/jira/browse/KARAF-614
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Gert Vanthienen
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.1.6, 2.2.2, 3.0.0
>
>
> When being remotely logged into the container, people can mistakenly use osgi:shutdown to exit the console instead of pressing Ctrl-D, thereby inadvertently shutting down the container. It would be good if the shell would at least ask for a confirmation to ensure people really know what they're doing (not sure if we can or even should discriminate between remote and local logons to the shell for this).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (KARAF-614) Add warning to osgi:shutdown to avoid inadvertently shutting down the container

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

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

    Resolution: Fixed

Now the shutdown command supports the -f/--force option and the time argument to delay the shutdown.

All branches have been updated, and the user guide as well.

> Add warning to osgi:shutdown to avoid inadvertently shutting down the container
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-614
>                 URL: https://issues.apache.org/jira/browse/KARAF-614
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Gert Vanthienen
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.1.6, 2.2.2, 3.0.0
>
>
> When being remotely logged into the container, people can mistakenly use osgi:shutdown to exit the console instead of pressing Ctrl-D, thereby inadvertently shutting down the container. It would be good if the shell would at least ask for a confirmation to ensure people really know what they're doing (not sure if we can or even should discriminate between remote and local logons to the shell for this).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-614) Add warning to osgi:shutdown to avoid inadvertently shutting down the container

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036824#comment-13036824 ] 

Andreas Pieber commented on KARAF-614:
--------------------------------------

+1; I would like to have the -f option

> Add warning to osgi:shutdown to avoid inadvertently shutting down the container
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-614
>                 URL: https://issues.apache.org/jira/browse/KARAF-614
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Gert Vanthienen
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.1.6, 2.2.2, 3.0.0
>
>
> When being remotely logged into the container, people can mistakenly use osgi:shutdown to exit the console instead of pressing Ctrl-D, thereby inadvertently shutting down the container. It would be good if the shell would at least ask for a confirmation to ensure people really know what they're doing (not sure if we can or even should discriminate between remote and local logons to the shell for this).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-614) Add warning to osgi:shutdown to avoid inadvertently shutting down the container

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036882#comment-13036882 ] 

Achim Nierbeck commented on KARAF-614:
--------------------------------------

+1 for the -f option

> Add warning to osgi:shutdown to avoid inadvertently shutting down the container
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-614
>                 URL: https://issues.apache.org/jira/browse/KARAF-614
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Gert Vanthienen
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.1.6, 2.2.2, 3.0.0
>
>
> When being remotely logged into the container, people can mistakenly use osgi:shutdown to exit the console instead of pressing Ctrl-D, thereby inadvertently shutting down the container. It would be good if the shell would at least ask for a confirmation to ensure people really know what they're doing (not sure if we can or even should discriminate between remote and local logons to the shell for this).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (KARAF-614) Add warning to osgi:shutdown to avoid inadvertently shutting down the container

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

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

    Assignee: Jean-Baptiste Onofré

> Add warning to osgi:shutdown to avoid inadvertently shutting down the container
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-614
>                 URL: https://issues.apache.org/jira/browse/KARAF-614
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Gert Vanthienen
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.1.6, 2.2.2, 3.0.0
>
>
> When being remotely logged into the container, people can mistakenly use osgi:shutdown to exit the console instead of pressing Ctrl-D, thereby inadvertently shutting down the container. It would be good if the shell would at least ask for a confirmation to ensure people really know what they're doing (not sure if we can or even should discriminate between remote and local logons to the shell for this).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (KARAF-614) Add warning to osgi:shutdown to avoid inadvertently shutting down the container

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

Jamie goodyear closed KARAF-614.
--------------------------------


Fixed in Apache Karaf 2.2.2.

> Add warning to osgi:shutdown to avoid inadvertently shutting down the container
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-614
>                 URL: https://issues.apache.org/jira/browse/KARAF-614
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Gert Vanthienen
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.1.6, 2.2.2, 3.0.0
>
>
> When being remotely logged into the container, people can mistakenly use osgi:shutdown to exit the console instead of pressing Ctrl-D, thereby inadvertently shutting down the container. It would be good if the shell would at least ask for a confirmation to ensure people really know what they're doing (not sure if we can or even should discriminate between remote and local logons to the shell for this).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira