linuxdeploy
linuxdeploy copied to clipboard
PATH variable doesn't work and Linux /etc/hosts does't work too
I install CentOS and Ubuntu on HuaWei Mate7 through deploy. The progress of installation is smooth, but there are problems when I use Linux.
- PATH variable ("/system/xbin") doesn't work. When I start Linux, I can't found "/sytstem/xbin" and can't use commands in BusyBox. Then I mount "/system"(Mate7's "/system", BusyBox is installed under Mate7's "/system/xbin") and can use commands in BuysBox. So what is the PATH variable doing?
- Linux /etc/hosts doesn't work I added a IP/domain name record in Linux "/etc/hosts" file. Then I use ping "domain name", it doesn't work at all. Because the "ping" is from Busybox, I guess "ping" check Mate7 "/etc/hosts" instead of Linux "/etc/hosts". Am I right? If so, how to use Linux "/etc/hosts? Or I can only use Mate7 "/etc/hosts". I tried "ping" under Linux "/bin/ping", there is "permission denied" problem. So I must use Busybox ping.
Thanks a lot!
And also there is no “/data/data/ru.meefik.linuxdeploy/” on Mate7.
please ignore what I wrote above. all problems are resolved after I add root to group aid_inet
please ignore what I wrote above. all problems are resolved after I add root to group aid_inet
I add root to group aid_inet,but it doesn't work