Proot is generally not stable on some devices. Would it be a bad idea to setup and use another user (with sudo access) instead of using root user all the time (even though root can't affect the device) ? This may lead to breakage of some tools relying on setuid/setgid. Proot doesn't track any chown call and file attribute states. That's amazing! Unfortunately rooting my phone isn't an option for me at the moment.įiles ownership is either current user or root only. This clears up things a lot, thank you very much! What kind of issues does not having an init system cause? Would not running an init system hinder usability in any kind of way? * Proot reduces the performance by about 10-50%, depending on running task. * Proot is generally not stable on some devices. * Files ownership is either current user or root only. ![]() ![]() ![]() Most likely you will have very strange issues, if you start proot with tsu/tsudo. This also puts limitations on proot usage under root shell. You will not be able to change any kernel or device setting. * Root access under proot is virtual, fake, just user/group ID set to "0" and nothing more. * System V shared memory calls are no-op. If you want to know the major limitations of proot, here they are: You'll never be able to change the system hostname in proot. In normal chroot that will lead to Android OS crash. I have successfully did that on my device. This is possible only in LXC which require root and customized kernel. Is it possible to boot with systemd or any other init, and if so how do I do it? Furthermore, systemd can be started only as PID 1, so you need to throw away the whole Android OS and run Linux on your device instead or use PID namespaces which require root and custom kernel. Same as udev, it requires full root access and may crash the Android OS. Systemd as the main init? Does it work? systemctl returns "System has not been booted with systemd as init system (PID 1). This may lead to Android OS crash due to conflict with /sbin/ueventd. This utility requires full root access to put device nodes in /dev. Probably something is being called in /etc/bash.bashrc, you can edit this file and remove command listing the groups. You don't need these groups to be added in /etc/groups unless you are using the real chroot (not proot). Any information will be greatly appreciated. I don't know what this is nor how to fix it. Apologies in advance if I misunderstood something completely obvious or stupid as I'm still learning about Linux.īefore the command prompt (and 9997 20632 50632 99909997 along with 3003) I also tried installing Ubuntu from atilo and ran into the same issues again unfortunately (Although I doubt changing sources would make any difference). ![]() These are a few of the problems I ran into and I'm not sure if these can be fixed or are inherent limitations. hostnamectl returned the same output as systemctl, when I tried to change the hostname (which was also unsuccessful as expected).Failed to connect to bus: host is down." and systemd returns "Trying to run as user instance, but the system has not been booted with systemd."Is it possible to boot with systemd or any other init, and if so how do I do it? systemd as the main init? Does it work? systemctl returns "System has not been booted with systemd as init system (PID 1).A chroot environment has ben detected, udev not started. Installation says Setting up udev (245.4-4ubuntu3.1). startubuntu.sh), it outputs groups: cannot find name for group ID 3003 before the command prompt (and 9997 20632 50632 99909997 along with 3003) (632 also happens to be the termux id i.e u0_a632). (For some reason apt-get installed sudo 1.8.31 and doesn't update to the latest one with apt-get upgrade) It had some problem that didn't allow it to run correctly with containerization but was fixed in the version sudo 1.8.31p1. Here are a few things I noticed that were a little off: I installed Ubuntu by MFDGaming and it did run and I was able to install the ubuntu-minimal packages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |