Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Anbox service not starting after fresh install. #5
Comments
morphis
added
the
bug
label
Apr 11, 2017
|
@maxolasersquad Which operating system are you using? |
maxolasersquad
commented
Apr 11, 2017
|
Ubuntu 16.04 64-bit |
|
Ah, don't run initctl as sudo! You need to run it as a regular user and the anbox-installer doesn't do that too. See https://github.com/anbox/anbox-installer/blob/master/installer.sh#L171 |
maxolasersquad
commented
Apr 11, 2017
|
The anbox installer has to run as sudo (right?). So when it tries to run initctl, it's running as root. Am I missing something? $ snap install --classic anbox-installer && anbox-installer
error: access denied (try with sudo)
$ sudo snap install --classic anbox-installer && anbox-installer
[sudo] password for david:
anbox-installer 1 from 'morphis' installed
zsh: command not found: anbox-installer
$ sudo snap install --classic anbox-installer
Android in a Box - Installer
IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
BUGS !!!!!
IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
CONFINEMENT FOR THE SNAP YET !!!!
… |
|
@maxolasersquad No, the anbox-installer should be run as sudo but I see this is a regular failure people are doing. Just run |
maxolasersquad
commented
Apr 11, 2017
|
As you can see from my output above, only |
|
anbox/anbox-installer#2 should help here. @maxolasersquad Everyone can see |
maxolasersquad
commented
Apr 11, 2017
|
Adding that to my path seemed to do the trick. FWIW, the website should probably be updated to indicate that |
maxolasersquad commentedApr 11, 2017
Make sure you are running the latest version of Anbox before reporting an issue.
Anbox release (
anbox version) and system info (anbox system-info):Description of the problem:
Anbox service fails to start.
Expected:
Anbox will start.
Additional info:
No issues where reported during the installation until at the end it tried to start the service.