Skip to content
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

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

Open
jindamvani opened this issue Jun 2, 2023 · 6 comments
Open

Comments

@jindamvani
Copy link

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 #275

@jindamvani jindamvani changed the title Can't read /proc/sys/kernel/overflowuid: Permission denied bwrap: Can't read /proc/sys/kernel/overflowuid: Permission denied Jun 2, 2023
@A4-Tacks
Copy link

A4-Tacks commented Aug 5, 2023

Screenshot_20230805_160637

@sheng-di
Copy link

Same here.

@twaik
Copy link
Member

twaik commented Jan 29, 2024

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

@sheng-di
Copy link

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.

@twaik
Copy link
Member

twaik commented Jan 29, 2024

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

@edwintorok
Copy link

edwintorok commented May 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants