proot icon indicating copy to clipboard operation
proot copied to clipboard

bwrap: Can't read /proc/sys/kernel/overflowuid: Permission denied

Open jindamvani opened this issue 2 years ago • 6 comments

Problem description

  • uptodate opensuse tumbleweed Steps to reproduce $ proot-distro login opensuse Xvfb :1 -screen 0 1920x1080x24 & x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :1 -nopw -wait 5 -shared -permitfiletransfer -tightfilexfer -noshm & DISPLAY=:1 startxfce4 &
  • it just shows tab and no text and nothing Screenshot_20230602-234524

Expected behavior

Web browser opens ddg website

Additional information

~ $ termux-info
Termux Variables:
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=20068
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
Packages CPU architecture:
arm
Subscribed repositories:
# sources.list
deb https://mirror.surf/termux/termux-main/ stable main
Updatable packages:
All packages up to date
termux-tools version:
1.38.3
Android version:
9
Kernel build information:
Linux localhost 3.18.91-16078765 #1 SMP PREEMPT Tue Jul 13 22:02:42 KST 2021 armv8l Android
Device manufacturer:
samsung
Device model:
SM-J701F
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so

I dont know where to add output of verbose 9 https://github.com/termux/proot/discussions/275

jindamvani avatar Jun 02 '23 18:06 jindamvani

Screenshot_20230805_160637

A4-Tacks avatar Aug 05 '23 08:08 A4-Tacks

Same here.

sheng-di avatar Jan 29 '24 04:01 sheng-di

Android restricts access to this system file. Proot is not a magic bullet.

twaik avatar Jan 29 '24 05:01 twaik

Android restricts access to this system file. Proot is not a magic bullet.

Even if I have root privileges? I' ve given $ termux root permission.

sheng-di avatar Jan 29 '24 05:01 sheng-di

AFAIK proot runs as regular user, not root. So it still has no access.

twaik avatar Jan 29 '24 06:01 twaik

rm .opam -rf && opam init --disable-sandboxing. That avoids opam using bwrap, and avoids this failure.

edwintorok avatar May 08 '24 20:05 edwintorok