[jbosstools-issues] [JBoss JIRA] (JBIDE-23016) When starting CDK 2.2 with landrush for the first time, user will be prompted for sudo password

Martin Malina (JIRA) issues at jboss.org
Thu Sep 8 11:35:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-23016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290736#comment-13290736 ] 

Martin Malina commented on JBIDE-23016:
---------------------------------------

OK, so this is what happens on Windows 10:

When I start cdk 2.2 rc3 (no landrush) in CLI as an admin, I am shown the Windows full-screen prompt for admin permissions twice because VirtualBox needs to set up an interface and something else. But as an admin user running this, I don't need to enter credentials, I just have to confirm this action.

When I start cdk 2.2 rc1 (landrush included) in CLI as a normal user, I am shown the Windows full-screen prompt for admin credentials (where I need to log in as an admin) 4 times - twice for virtualbox and twice for landrush.

Next, I did vagrant destroy and vagrant up and I was asked for permissions only once - a Ruby process. This was one of the two needed by landrush in the previous vagrant up. So that's good - that's enough for my Eclipse test.

Now onto the finale:
I set up this cdk in devstudio 10.1.0.GA and launched it. And, as expected, during vagrant up, Windows showed the full-screen prompt for admin credentials for this Ruby process - same as from CLI.

So the conclusion is that this is a non-problem on Windows and we don't need anything special to handle this use case there - we don't need to be able to enter input into the console/terminal in Eclipse on Windows.

Side note: Every vagrant command I do (like vagrant up or vagrant destroy) with landrush installed starts with this output:
The system cannot find the path specified.
I don't have a clue what that is.

> When starting CDK 2.2 with landrush for the first time, user will be prompted for sudo password
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-23016
>                 URL: https://issues.jboss.org/browse/JBIDE-23016
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>    Affects Versions: 4.4.1.AM3
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>            Priority: Critical
>             Fix For: 4.4.2.AM1
>
>
> The problem is that the first time you do vagrant up with cdk that has landrush set up, you will be asked to provide your sudo password so that landrush can be set up (unless you used it elsewhere already).
> This is definitely true on Mac, most likely on Linux also. On Windows, I expect that you will probably just be shown the system prompt for agreeing that the process uses admin rights.
> When I did this yesterday (while testing cdk 2.2 rc1), I actually started it from terminal first, so I could enter my password in the console. But I'm pretty sure this wouldn't work in Eclipse. So we need to figure out how to handle this scenario and also test what happens on Windows after installing devsuite and then starting cdk from devstudio - that is our most important use case.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list