New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 777779 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

SSH Connection is Refused When Factory UI is enabled

Project Member Reported by marcochen@chromium.org, Oct 24 2017

Issue description

chromiumos_test_image version: 10061

Reproduce Step:
  1. to perform a SSH connection from the host into DUT.

Expected Result:
  Connection is successful.

Actual Result:
  Connection is refused.

More information:
  1. If "/usr/local/factory/enabled" is deleted then ssh is working on the next boot without factory UI.
  2. sslh-fork is not shown in the "ps aux" and if you perform command in sslh.conf manually then ssh is working.

 
Cc: chromeos-factory-eng@google.com

Comment 2 Deleted

Comment 3 by yhong@chromium.org, Oct 24 2017

Is it 100% happened?  Or sometime you can ssh to the DUT successfully but sometime not?

Comment 4 by pihsun@chromium.org, Oct 24 2017

Owner: pihsun@chromium.org
re#3

Always.
Project Member

Comment 6 by bugdroid1@chromium.org, Oct 25 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/factory/+/6d3d2c7409074ec8a59e48d0b3fc12e5c7969a7b

commit 6d3d2c7409074ec8a59e48d0b3fc12e5c7969a7b
Author: Peter Shih <pihsun@chromium.org>
Date: Wed Oct 25 12:52:43 2017

jailbreak: Update arguments for minijail.

Update arguments for jailbreak/minijail0 to keep up with
aosp/external/minijail/minijail0.c.

Unfortunately Python version of getopt doesn't support optional long
option which 'uts' use. Since all current usage seems to be not
passing a value to the option, we treat as a no argument here.

BUG=b:68179372, chromium:777779 
TEST=make test
TEST=manually on DUT.

Change-Id: I3d149b230d0927615231904cc423ce19ee1c9a96
Reviewed-on: https://chromium-review.googlesource.com/735261
Commit-Ready: Pi-Hsun Shih <pihsun@chromium.org>
Tested-by: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Marco Chen <marcochen@chromium.org>

[modify] https://crrev.com/6d3d2c7409074ec8a59e48d0b3fc12e5c7969a7b/init/goofy.d/jailbreak/minijail0

Comment 7 by pihsun@chromium.org, Oct 26 2017

Status: Fixed (was: Untriaged)

Sign in to add a comment