New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError: Command failed: % /usr/lib/waydroid/data/scripts/waydroid-net.sh start #903
Comments
Getting the same problem here, running on ArchLinux with Kernel: 6.3.1-zen1-1-zen (023860) [22:38:41] Starting waydroid session |
I am having the exact same issue as yichuang-zh. |
Fixed it by installing "iptables". I am surprised it was not in Debian bookworm already. |
I
I installed iptables the way you did, but it created a new problem.
Here is the log file: |
How about running "waydroid show-full-ui" instead? I get similar if not
exactly the same output yet it works.
El lun, 15 may 2023 a las 20:32, 驿窗 ***@***.***>) escribió:
… I
Fixed it by installing "iptables". I am surprised it was not in Debian
bookworm already.
I installed iptables the way you did, but it created a new problem.
In the terminal:
~$ waydroid session start [06:59:59] Failed to start Clipboard manager
service, check logs [07:00:48] Android with user 0 is ready
But when I clicked waydroid, nothing happened.
Here is the log file:
waydroid.log
<https://github.com/waydroid/waydroid/files/11482566/waydroid.log>
—
Reply to this email directly, view it on GitHub
<#903 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEKT6CZWHSCALXM34CLQTLXGK4IRANCNFSM6AAAAAAX7NMMDY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
The output is: Failed to start Clipboard manager service, check logs` Then nothing happened. |
Thank you. I'm surprised that this package fixed the issue successfully. |
Wow, iptables has been deprecated from official Debian releases for 4 years, and Waydroid is still experiencing this issue until now. |
FYI, I had the same error message, but from the logs I got:
Turns out it needs to bind something on port 53, and I had piHole setup to listen on |
Unrelated to the issue here. Nevertheless waydroid is another anbox which is dead. |
My host machine powered off due to power outage. Now, I can't launch waydroid anymore.
|
How about the output of |
Nothing here, since virtual network device |
Even without that device, it is possible some app on your machine is bound to |
|
@BakaJzon on your host system check if anything is listening on port 53. That can cause issues. |
I'm pretty sure there‘s nothing listening on it!
|
@BakaJzon try |
Here's the error log from a current ( The problem persists regardless of something occupying port 53 or not as per |
@GSI from your logs, the error is different to The iptables errors:
seem more like some problem in your Kernel. Can you try it on a "mainstream" distribution and see if it makes a difference? Or try just using iptables |
If I don't need a graphical environment, I could try to replicate the issue on a remote Alpine machine, which is the next-closest thing to pmOS and still "mainstream". Anything else doesn't have a Kernel with binderfs ...
How would I do that? |
If you've a terminal in your OS, you can try configuring the iptables firewall, and or see if it even exists? By mainstream I don't mean graphical at all, it could be Ubuntu / Debian pure TTY/headless even. But the error seems more to be a problem with the distribution not having iptables (or netfilter) |
Oh. I highly doubt the issue would be reproducible in Debian and its direct derivatives - otherwise this issue would likely have many more participants. Is there anything I may run manually to help debug on the current system? For now, here is some more information about environment:
|
I just cross-checked with another system also running postmarketOS but on Kernel 6.4.14. The issue is not present there. All versions (nft 1.0.8, iptables 1.8.9, waydroid 1.4.1) - and actually pretty much the entire installation - are exactly the same. Where it works - 6.4.14 Kernel:
Where it fails - 6.5.5 Kernel:
Are there any other kernel modules I should check for? |
Not sure personally, I think opening a bug report in your operating system's bug tracker may be a place to start. |
After trying several variants of one of the failing commands ( Its version is shown as iptables v1.8.9 (legacy). Maybe there's a way to make this work with |
same problem. Distro is |
OK, even if nothing in my computer has been changed, it works again. |
How to use Iptables?? |
Also having this issue which is odd because before waydroid started but with no internet |
@lambdadeltakay I experienced the exactly same as you. |
I'm experiencing something similar, and there's a chance it's related to ipv6 being disabled on my system, although I'm not sure.
|
@kaitlynkittyy can you use netstat to see listening ports? |
There are quite a few(and I mean a LOT), but nothing on that specific address. Also i was able to resolve this issue for myself just now by commenting out line 154 of the script and stopping the dnsmasq service Edit: This resulted in no network connection within waydroid, but I was able to start it at least |
To be clear, there doesn't need to be something on that address, since it could also be |
True, I had forgotten that, but there's still nothing on 0.0.0.0 either. |
Hey @yichuang-zh @kaitlynkittyy @ckcr4lyf @lambdadeltakay @wold9168 In Debian 12 sudo apt remove --purge bind9-* and sudo apt remove --purge bind9 dnsutils systemd-resolved dnsmasq waydroid run 0 problems it worked for me. |
It works fine after stopping v2raya |
thx,bro,its solved my problem |
I found that the script fails at dnsmasq $LXC_DHCP_CONFILE_ARG $LXC_DOMAIN_ARG $LXC_DHCP_PING_ARG -u ${DNSMASQ_USER} \
--strict-order --bind-interfaces --pid-file="${varrun}"/dnsmasq.pid \
--listen-address ${LXC_ADDR} --dhcp-range ${LXC_DHCP_RANGE} \
--dhcp-lease-max=${LXC_DHCP_MAX} --dhcp-no-override \
--except-interface=lo --interface=${LXC_BRIDGE} \
--dhcp-leasefile="${varlib}"/misc/dnsmasq.${LXC_BRIDGE}.leases \
--dhcp-authoritative $LXC_IPV6_ARG # || cleanup It seems that this command fails on my computer when dnsmasq on my hostOS and WayDroid want to "take care of" After I add a line of |
This fixed it for me under one condition, dnsmasq CANNOT be running before I launch waydroid, or it entirely fails. (which in my use case is completely broken, as I need dnsmasq running always.) Edit: I have also since re-enabled ipv6 on my system. |
Describe the bug
A clear and concise description of what the bug is.
After run command "waydroid session start", the terminal shows:
[19:24:13] RuntimeError: Command failed: % /usr/lib/waydroid/data/scripts/waydroid-net.sh start
See the attachment for log.
Screenshots
If applicable, add screenshots to help explain your problem.
General information (please complete the following information):
$ waydroid -V
1.4.1
Waydroid Images Version:
20230422-GAPPS
Desktop (please complete the following information):
OS: Debian12 bookworm (virtual machine) [Host: Debian12 bookworm + gnome]
GPU: AMD 5800x
Kernel version(virtual machine): uname -r
6.1.0-8-amd64
Kernel version(host machine): uname -r
6.1.0-8-amd64
Host mesa version: glxinfo | grep "OpenGL verion"
OpenGL version string: 4.6.0 NVIDIA 525.105.17
Host Desktop: Gnome 43.4
**Smartphone
No.
Additional context
I had installed a vmGuest: debian12 bookworm with gnome on my host(debian12 too), and installed waydroid on my vmGuest.
Logs (please upload as file)
Prop file:
waydroid_base.prop.txt
Log file:
waydroid.log.txt
Full (not partial) output of
waydroid logcat
while Waydroid is runningOutput of
dmesg
:dmesg.txt
The text was updated successfully, but these errors were encountered: