Skip to content

[Bug] 小小容器启动时容器初始化后proot环境无法正常使用 #581

Description

@Ruixu-Account

设备型号

联想小新平板Pro GT 12GB+256GB

操作系统版本

系统版本:ZUXOS 1.5.04.454 稳定版 Android版本:16 内核版本:6.1.128-android14-11-g5c2cea985a84-ab13606743 #1 Thu Jun 5 16:43:05 UTC 2025

小小容器版本

V.4.0.0 GXDE

是否最新版?

若非最新版,必须说明不使用最新版的原因

No response

重现问题的操作过程

https://github.com/user-attachments/assets/3e20578c-b5ba-4c28-85be-7c97e90d870b
日志:
export BIN_DIR=/data/user/0/com.fct.tc4/files/bootstrap/bin
export PUBLIC_DIR=/data/user/0/com.fct.tc4/files/public
export CACHE_DIR=/data/user/0/com.fct.tc4/cache
export PATH=$BIN_DIR:$PATH
export LD_LIBRARY_PATH=/data/user/0/com.fct.tc4/files/bootstrap/lib:$LD_LIBRARY_PATH
export PROOT_LOADER=/data/user/0/com.fct.tc4/files/applib/libproot-loader-aarch64-5.1.107-68.so
export PROOT_LOADER_32=/data/user/0/com.fct.tc4/files/applib/libproot-loader32-aarch64-5.1.107-68.so
export PROOT_TMP_DIR=$CACHE_DIR/proot_tmp
mkdir -p $CACHE_DIR/tmp
mkdir -p $CACHE_DIR/run
mkdir -p $PROOT_TMP_DIR
mkdir -p $PUBLIC_DIR
export CONTAINER_DIR=/data/user/0/com.fct.tc4/gxde
ln -sf /data/user/0/com.fct.tc4/files/applib/lib__bin__proot-classic__.so /data/user/0/com.fct.tc4/files/bootstrap/bin/proot
xport BIN_DIR=/data/user/0/com.fct.tc4/files/bootstrap/bin <
xport PUBLIC_DIR=/data/user/0/com.fct.tc4/files/public <
:/data/data/com.fct.tc4 $ export CACHE_DIR=/data/user/0/com.fct.tc4/cache
:/data/data/com.fct.tc4 $ export PATH=$BIN_DIR:$PATH
ta/user/0/com.fct.tc4/files/bootstrap/lib:$LD_LIBRARY_PATH <
user/0/com.fct.tc4/files/applib/libproot-loader-aarch64-5.1.107-68.so <
ta/user/0/com.fct.tc4/files/applib/libproot-loader32-aarch64-5.1.107-68.so <
:/data/data/com.fct.tc4 $ export PROOT_TMP_DIR=$CACHE_DIR/proot_tmp
:/data/data/com.fct.tc4 $ mkdir -p $CACHE_DIR/tmp
:/data/data/com.fct.tc4 $ mkdir -p $CACHE_DIR/run
:/data/data/com.fct.tc4 $ mkdir -p $PROOT_TMP_DIR
:/data/data/com.fct.tc4 $ mkdir -p $PUBLIC_DIR
:/data/data/com.fct.tc4 $ export CONTAINER_DIR=/data/user/0/com.fct.tc4/gxde
in__proot-classic__.so /data/user/0/com.fct.tc4/files/bootstrap/bin/proot <
t.tc4/cache/boot_gxde.sh && rm /data/user/0/com.fct.tc4/cache/boot_gxde.sh <
sudo service dbus start;
eval dbus-launch --sh-syntax;
export XDG_RUNTIME_DIR="/tmp/runtime-tiny";
mkdir -p $XDG_RUNTIME_DIR;
pipewire > /dev/null 2>&1 &
while [ ! -S "$XDG_RUNTIME_DIR/pipewire-0" ]; do sleep 0.1; done &&
wireplumber > /dev/null 2>&1 &
pipewire-pulse > /dev/null 2>&1 &
Xtigervnc -geometry 1440x720 -ZlibLevel=0 -pn -rfbport -1
-SendPrimary=off -SetPrimary=off -FrameRate=120 -rfbunixpath /tmp/.tiny.vnc -alwaysshared -a 5 -once -depth 24
-SecurityTypes=None -desktop "Debian-GNU/Linux-13-(trixie)_pd-tiny-linux-vnc" :6 -extension MIT-SHM > /dev/null 2>&1 &
while [ ! -S "/tmp/.tiny.vnc" ]; do sleep 0.1; done &&
startgxde_android > /dev/null 2>&1 &

proot warning: can't sanitize binding "/storage/self/primary/AppFiles/Fonts": No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/usr/lib/aarch64-linux-gnu/xfce4/panel/wrapper-2.0': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/usr/lib/aarch64-linux-gnu/xfce4/panel': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/usr/lib/aarch64-linux-gnu/xfce4': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/usr/lib/wine/aarch64-unix': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/usr/lib/wine/aarch64-windows': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/usr/lib/wine': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/usr/local/share/polkit-1': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/usr/share/wine/fonts': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/usr/share/wine': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.cache/JetBrains': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.cache': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share/icons/.Fluent-base': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share/icons/Fluent': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share/icons': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share/fcitx5/themes': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share/fcitx5': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share/JetBrains/Daemon/bundles/current/jetbrainsd/bin/jetbrainsd': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share/JetBrains/Daemon/bundles/current/jetbrainsd/bin': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share/JetBrains/Daemon/bundles/current/jetbrainsd': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share/JetBrains/Daemon/bundles/current': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share/JetBrains/Daemon/bundles': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share/JetBrains/Daemon': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share/JetBrains': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local/share': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.local': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.wine/dosdevices': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.wine/drive_c/windows/system32': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.wine/drive_c/windows': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.wine/drive_c': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.wine': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/61-urw-c059.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/61-urw-d050000l.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/61-urw-fallback-backwards.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/61-urw-fallback-generics.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/61-urw-gothic.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/61-urw-nimbus-mono-ps.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/61-urw-nimbus-roman.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/61-urw-nimbus-sans.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/61-urw-p052.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/61-urw-standard-symbols-ps.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/61-urw-z003.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/10-sub-pixel-none.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/10-yes-antialias.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/11-lcdfilter-default.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/20-unhint-small-vera.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/30-metric-aliases.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/61-urw-bookman.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/40-nonlatin.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/45-generic.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/45-latin.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/48-spacing.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/49-sansserif.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/50-user.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/51-local.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/60-generic.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/60-latin.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/65-fonts-persian.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/65-nonlatin.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/69-unifont.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/80-delicious.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/90-synthetic.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/55-language-deepin-zh-cn.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/70-fonts-noto-cjk.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/55-language-deepin-zh-hk.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/55-language-deepin-zh-tw.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/10-hinting-slight.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/70-no-bitmaps-except-emoji.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/10-enhance-rending.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/10-scale-bitmap-fonts.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/fonts/conf.d/65-wqy-microhei.conf': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/localtime': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/etc/polkit-1/actions': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/opt/pycharm/plugins/python-ce/helpers/generator3': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/opt/pycharm/plugins/python-ce/helpers': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/opt/pycharm/plugins/python-ce': realpath: No such file or directory
proot warning: --assured-path '/proc/bus/pci/devices': realpath: Permission denied
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.mozilla': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.mozilla/firefox': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.cache/mozilla': realpath: No such file or directory
proot warning: --assured-path '/data/user/0/com.fct.tc4/gxde/home/tiny/.cache/mozilla/firefox': realpath: No such file or directory
proot error: execve("/usr/bin/env"): Function not implemented
proot info: possible causes:

  • the program is a script but its interpreter (eg. /bin/sh) was not found;
  • the program is an ELF but its interpreter (eg. ld-linux.so) was not found;
  • the program is a foreign binary but qemu was not specified;
  • qemu does not work correctly (if specified);
  • the loader was not found or doesn't work.
    fatal error: see proot --help.
    proot error: can't chmod '/data/data/com.fct.tc4/cache/proot_tmp/proot-6940-uIzJ8E': No such file or directory
    1|:/data/data/com.fct.tc4 $ sudo service dbus start; \

eval dbus-launch --sh-syntax;
export XDG_RUNTIME_DIR="/tmp/runtime-tiny";
mkdir -p $XDG_RUNTIME_DIR;
pipewire > /dev/null 2>&1 &
while [ ! -S "$XDG_RUNTIME_DIR/pipewire-0" ]; do sleep 0.1; done &&
wireplumber > /dev/null 2>&1 &
pipewire-pulse > /dev/null 2>&1 &
Xtigervnc -geometry 1440x720 -ZlibLevel=0 -pn -rfbport -1
-rfbunixpath /tmp/.tiny.vnc -alwaysshared -a 5 -once -depth 24 \ <
3-(trixie)_pd-tiny-linux-vnc" :6 -extension MIT-SHM > /dev/null 2>&1 & \ <
while [ ! -S "/tmp/.tiny.vnc" ]; do sleep 0.1; done &&
startgxde_android > /dev/null 2>&1 &
: sudo: inaccessible or not found
: dbus-launch: inaccessible or not found
mkdir: '/tmp/runtime-tiny': Permission denied
[1] 6948
[2] 6949
[3] 6950
[4] 6951
[5] 6952
[4] - Done (127) \Xtigervnc -geometry 1440x720 -ZlibLevel=0 -pn -rfbport -1 -SendPrimary=off -SetPrimary=off -FrameRate=120 -rfbunixpath /tmp/.tiny.vnc -alwaysshared -a 5 -once -depth 24 -SecurityTypes=None -desktop "Debian-GNU/Linux-13-(trixie
[1] Done (127) \pipewire >/dev/null 2>&1
:/data/data/com.fct.tc4 $
:/data/data/com.fct.tc4 $

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions