You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Arch Linux in Termux PRoot sudo error has changed:
[23:16 data ]$ env LD_PRELOAD=/data/data/com.termux/files/usr/lib/libandroid-shmem.so startarch su user sudo
sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
sudo: unable to load /usr/lib/sudo/sudoers.so: /usr/lib/sudo/sudoers.so: cannot stat shared object: Bad file descriptor
sudo: fatal error, unable to load plugins
[23:16 data ]$ env LD_PRELOAD=/data/data/com.termux/files/usr/lib/libandroid-shmem.so startarch l user
Welcome to Arch Linux in Termux!
Install a package: pacman -S package
More information: pacman [-D|F|Q|R|S|T|U]h
Search packages: pacman -Ss query
Upgrade packages: pacman -Syu
Chat: https://gitter.im/termux
Help: info query and man query
IRC: wiki.archlinux.org/index.php/IRC_channel
[23:17 ~ ]$ sudo
sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
sudo: unable to load /usr/lib/sudo/sudoers.so: /usr/lib/sudo/sudoers.so: cannot stat shared object: Bad file descriptor
sudo: fatal error, unable to load plugins
[23:17 ~ ]$ env LD_PRELOAD=/data/data/com.termux/files/usr/lib/libandroid-shmem.so sudo
sudo: error while loading shared libraries: liblog.so: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered:
I'm having the same issue. I downloaded liblog.so from https://github.com/innogames/android-ndk/blob/master/platforms/android-24/arch-arm64/usr/lib/liblog.so, but when I added it to my LD_PRELOAD path, the error changes to: /bin/sh: error while loading shared libraries: /usr/lib/aarch64-linux-gnu/libc.so: invalid ELF header
When I replace the libc.so in that folder with the one from that repository, it segfaults.
Shared memory appears to be important in many issues:
Arch Linux in Termux PRoot:
Termux:
The Arch Linux in Termux PRoot sudo error has changed:
The text was updated successfully, but these errors were encountered: