remote-android / redroid-doc

redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution. Track issues / docs here
4.04k stars 291 forks source link

After starting a redroid container, the system becomes unstable and seems to be broken. #694

Open jo-jojo opened 2 months ago

jo-jojo commented 2 months ago

Describe the bug A clear and concise description of what the bug is.

Sorry for my poor English.

It is so weird. I happened to find that the iptables cannot work on my computer, and the iptables showed my "Warning: Extension CONNMARK revision 0 not supported, missing kernel module?" but the Linux-zen kernel already has these kernel modules. On the second day, when I mounted an ext4 position, the console showed my "Unknown filesystem ext4". I thought, is my system broken? After reinstalling the system and installing software that I commonly use, when I started a redroid container, the problems above happened again. I stopped the container and then rebooted the system. It turned to normal without any issues.

Although the above happened, redroid is working well.

image

make sure the required kernel modules present

Collect debug logs redroid-debug.Ew1ylNXN.zip

jo-jojo commented 2 months ago

My docker-compose file docker-compose.zip

jo-jojo commented 2 months ago

Some journalctl logs after starting a redroid container. log messages.zip

zhouziyang commented 2 months ago

Just checked your redroid container settings: "NetworkMode": "redroid_default". What is this network mode about? Should never use host like network, otherwise your host networking will be broken.

BTW, should not expose your adb port in the public; bad guys may get your host compromised (the published redroid image is built with root adb shell access).