termux / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
34.82k stars 3.66k forks source link

[Bug]: hosts doesn't working? #2688

Closed 2096779623 closed 2 years ago

2096779623 commented 2 years ago

Problem description

Transcript

Welcome to Termux!

Community forum: https://termux.com/community
Gitter chat:     https://gitter.im/termux/termux
IRC channel:     #termux on libera.chat

Working with packages:

 * Search packages:   pkg search <query>
 * Install a package: pkg install <package>
 * Upgrade packages:  pkg upgrade

Subscribing to additional repositories:

 * Root:     pkg install root-repo
 * X11:      pkg install x11-repo

Report issues at https://termux.com/issues

~ $ cat $PREFIX/etc/hosts
127.0.0.1 localhost
::1 ip6-localhost

104.25.233.106 packages-cf.termux.org
~ $ ping -c4 packages-cf.termux.org
PING packages-cf.termux.org (104.21.20.145) 56(84) bytes of data.
64 bytes from 104.21.20.145: icmp_seq=1 ttl=50 time=177 ms
64 bytes from 104.21.20.145: icmp_seq=3 ttl=51 time=192 ms
64 bytes from 104.21.20.145: icmp_seq=4 ttl=51 time=193 ms

--- packages-cf.termux.org ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3031ms
rtt min/avg/max/mdev = 177.305/187.643/193.421/7.344 ms
~ $

ZeroTermux App Info

APP_NAME: ZeroTermux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.20
VERSION_CODE: 117
UID: 10305
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: false
APK_RELEASE: Unknown
SIGNING_CERTIFICATE_SHA256_DIGEST: 4A246F97551128DD855E5EEED3326A409454DD7CC6B7FC5268AA8528AD0A81E7

Device Info

Software

OS_VERSION: 4.9.206-perf
SDK_INT: 29
RELEASE: 10
ID: S618L
DISPLAY: 03.00.01
INCREMENTAL: 03.00.01
SECURITY_PATCH: 2020-06-01
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys

Hardware

MANUFACTURER: SHARP
BRAND: KDDI
MODEL: SHV43
PRODUCT: MZW_jp_kdi
BOARD: Anasui
HARDWARE: qcom
DEVICE: MZW
SUPPORTED_ABIS: arm64-v8a, armeabi-v7a, armeabi

Termux APT Info

Subscribed Repositories

sources.list

deb https://packages-cf.termux.org/apt/termux-main stable main

Updatable Packages

bash/stable 5.1.16-1 aarch64 [upgradable from: 5.1.16]
cmake/stable 3.23.0-1 aarch64 [upgradable from: 3.22.3]
golang/stable 3:1.18-1 aarch64 [upgradable from: 3:1.18]
libgcrypt/stable 1.10.1 aarch64 [upgradable from: 1.9.4]

Termux Files Info

TERMUX_REQUIRED_FILES_DIR_PATH ($PREFIX): /data/data/com.termux/files
ANDROID_ASSIGNED_FILES_DIR_PATH: /data/user/0/com.termux/files

$ echo 'ls info:'
/system/bin/ls -lhdZ '/data/data' '/data/user/0' '/data/data/com.termux' '/data/user/0/com.termux' '/data/data/com.termux/files' '/data/user/0/com.termux/files' '/data/user/0/com.termux/files' '/data/user/com.termux/files' '/data/data/com.termux/files/usr-staging' '/data/data/com.termux/files/usr' '/data/data/com.termux/files/home' '/data/data/com.termux/files/usr/bin/login' 2>&1
echo; echo 'mount info:'
/system/bin/grep -E '( /data )|( /data/data )|( /data/user/[0-9]+ )' /proc/self/mountinfo 2>&1 | /system/bin/grep -v '/data_mirror' 2>&1

ls info:
ls: /data/user/com.termux/files: No such file or directory
ls: /data/data/com.termux/files/usr-staging: No such file or directory
drwxrwx--x 351 system  system  u:object_r:system_data_file:s0                  24K 2022-04-01 22:22 /data/data
drwx------   7 u0_a305 u0_a305 u:object_r:app_data_file:s0:c49,c257,c512,c768 4.0K 2022-03-31 11:54 /data/data/com.termux
drwxrwx--x   5 u0_a305 u0_a305 u:object_r:app_data_file:s0:c49,c257,c512,c768 4.0K 2022-03-30 22:13 /data/data/com.termux/files
drwx------   4 u0_a305 u0_a305 u:object_r:app_data_file:s0:c49,c257,c512,c768 4.0K 2022-04-02 21:36 /data/data/com.termux/files/home
drwx------  13 u0_a305 u0_a305 u:object_r:app_data_file:s0:c49,c257,c512,c768 4.0K 2022-04-02 17:01 /data/data/com.termux/files/usr
-rwx------   1 u0_a305 u0_a305 u:object_r:app_data_file:s0:c49,c257,c512,c768 1.5K 2022-03-30 22:53 /data/data/com.termux/files/usr/bin/login
lrwxrwxrwx   1 root    root    u:object_r:system_data_file:s0                   10 1970-03-26 22:18 /data/user/0 -> /data/data
drwx------   7 u0_a305 u0_a305 u:object_r:app_data_file:s0:c49,c257,c512,c768 4.0K 2022-03-31 11:54 /data/user/0/com.termux
drwxrwx--x   5 u0_a305 u0_a305 u:object_r:app_data_file:s0:c49,c257,c512,c768 4.0K 2022-03-30 22:13 /data/user/0/com.termux/files
drwxrwx--x   5 u0_a305 u0_a305 u:object_r:app_data_file:s0:c49,c257,c512,c768 4.0K 2022-03-30 22:13 /data/user/0/com.termux/files

mount info:
2489 2446 259:38 / /data rw,nosuid,nodev,noatime master:24 - ext4 /dev/block/bootdevice/by-name/userdata rw,seclabel,noauto_da_alloc,noinit_itable,resgid=1065,errors=panic,data=ordered

Logcat Dump

$ /system/bin/logcat -d -t 3000 2>&1
--------- beginning of system
04-02 21:16:59.318  6228  6228 W ViewRootImpl[TermuxActivity]: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_ENTER, scanCode=0, metaState=0, flags=0x36, repeatCount=0, eventTime=7128792, downTime=7128792, deviceId=-1, source=0x0, displayId=0 }
04-02 21:16:59.318  6228  6228 I chatty  : uid=10305(com.termux) identical 1 line
04-02 21:16:59.318  6228  6228 W ViewRootImpl[TermuxActivity]: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_ENTER, scanCode=0, metaState=0, flags=0x36, repeatCount=0, eventTime=7128792, downTime=7128792, deviceId=-1, source=0x0, displayId=0 }
--------- beginning of main
04-02 21:35:47.622 18770 18770 W apt     : type=1400 audit(0.0:3160): avc: granted { execute } for name="dpkg" dev="mmcblk0p70" ino=537862 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:47.642 18770 18770 W apt     : type=1400 audit(0.0:3161): avc: granted { execute } for name="dpkg" dev="mmcblk0p70" ino=537862 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:47.642 18770 18770 W apt     : type=1400 audit(0.0:3162): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/dpkg" dev="mmcblk0p70" ino=537862 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:47.652 18770 18770 W dpkg    : type=1400 audit(0.0:3163): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/dpkg" dev="mmcblk0p70" ino=537862 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:47.692 18770 18770 W dpkg    : type=1400 audit(0.0:3164): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libtermux-exec.so" dev="mmcblk0p70" ino=525275 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:47.872 18773 18773 W apt     : type=1400 audit(0.0:3165): avc: granted { execute } for name="dpkg" dev="mmcblk0p70" ino=537862 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:47.872 18773 18773 W apt     : type=1400 audit(0.0:3166): avc: granted { execute } for name="dpkg" dev="mmcblk0p70" ino=537862 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:47.872 18773 18773 W apt     : type=1400 audit(0.0:3167): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/dpkg" dev="mmcblk0p70" ino=537862 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:49.827  6228 18810 I OMXClient: IOmx service obtained
04-02 21:35:49.861  6228 18810 E ACodec  : [OMX.google.vorbis.decoder] Now Loaded
04-02 21:35:49.871  6228 18810 W ExtendedACodec: Failed to get extension for extradata parameter
04-02 21:35:50.011  6228 18810 E ACodec  : [OMX.google.vorbis.decoder] Now Loaded
04-02 21:35:58.382 18817 18817 W bash    : type=1400 audit(0.0:3173): avc: granted { execute } for name="clear" dev="mmcblk0p70" ino=524495 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:58.442 18817 18817 W bash    : type=1400 audit(0.0:3174): avc: granted { execute } for name="clear" dev="mmcblk0p70" ino=524495 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:58.442 18817 18817 W bash    : type=1400 audit(0.0:3175): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/clear" dev="mmcblk0p70" ino=524495 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:58.442 18817 18817 W clear   : type=1400 audit(0.0:3176): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/clear" dev="mmcblk0p70" ino=524495 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:58.452 18817 18817 W clear   : type=1400 audit(0.0:3177): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libtermux-exec.so" dev="mmcblk0p70" ino=525275 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:35:58.452 18817 18817 W clear   : type=1400 audit(0.0:3178): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libncursesw.so.6.3" dev="mmcblk0p70" ino=526224 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:00.372 18823 18823 W bash    : type=1400 audit(0.0:3179): avc: granted { execute } for name="command-not-found" dev="mmcblk0p70" ino=524716 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:00.372 18823 18823 W bash    : type=1400 audit(0.0:3180): avc: granted { execute } for name="command-not-found" dev="mmcblk0p70" ino=524716 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:00.382 18823 18823 W bash    : type=1400 audit(0.0:3181): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/libexec/termux/command-not-found" dev="mmcblk0p70" ino=524716 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:00.382 18823 18823 W command-not-fou: type=1400 audit(0.0:3182): avc: granted { execute } for path="/data/data/com.termux/files/usr/libexec/termux/command-not-found" dev="mmcblk0p70" ino=524716 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:00.392 18823 18823 W command-not-fou: type=1400 audit(0.0:3183): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libtermux-exec.so" dev="mmcblk0p70" ino=525275 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:00.392 18823 18823 W command-not-fou: type=1400 audit(0.0:3184): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libc++_shared.so" dev="mmcblk0p70" ino=526058 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:03.861  6228  6228 D AriaManager: debug
04-02 21:36:04.190  6228  6228 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@378c998
04-02 21:36:04.633  6228  6228 E ada:    : 配置文件载入:1
04-02 21:36:04.633  6228  6228 E ada:    : 配置文件载入:2
04-02 21:36:04.633  6228  6228 E ada:    : 配置文件载入:3
04-02 21:36:04.633  6228  6228 E ada:    : 配置文件载入:4
04-02 21:36:04.697  6228 18844 I OMXClient: IOmx service obtained
04-02 21:36:04.699  6228 18844 E ACodec  : [OMX.google.vorbis.decoder] Now Loaded
04-02 21:36:04.700  6228 18844 W ExtendedACodec: Failed to get extension for extradata parameter
04-02 21:36:04.713  6228 18847 I OkGo    : --> GET http://od.ixcmstudio.cn/repository/main.json http/1.1
04-02 21:36:04.713  6228 18847 I OkGo    :  Accept-Language: zh-CN,zh;q=0.8
04-02 21:36:04.713  6228 18847 I OkGo    :  User-Agent: okhttp-okgo/jeasonlzy
04-02 21:36:04.713  6228 18847 I OkGo    :  clientType: 0
04-02 21:36:04.713  6228 18847 I OkGo    :  Authorization: 
04-02 21:36:04.713  6228 18847 I OkGo    :  
04-02 21:36:04.713  6228 18847 I OkGo    : --> END GET
04-02 21:36:04.744  6228 18844 E ACodec  : [OMX.google.vorbis.decoder] Now Loaded
04-02 21:36:04.862  6228  6228 W com.termux: type=1400 audit(0.0:3187): avc: granted { execute } for name="login" dev="mmcblk0p70" ino=526278 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:04.902 18853 18853 W com.termux: type=1400 audit(0.0:3188): avc: granted { execute } for name="login" dev="mmcblk0p70" ino=526278 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:04.902 18853 18853 W com.termux: type=1400 audit(0.0:3189): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/login" dev="mmcblk0p70" ino=526278 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:04.912 18853 18853 W com.termux: type=1400 audit(0.0:3190): avc: granted { execute } for name="dash" dev="mmcblk0p70" ino=524965 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:04.932 18853 18853 W login   : type=1400 audit(0.0:3191): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/dash" dev="mmcblk0p70" ino=524965 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:04.962 18859 18859 W login   : type=1400 audit(0.0:3192): avc: granted { execute } for name="coreutils" dev="mmcblk0p70" ino=524240 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:04.972 18859 18859 W login   : type=1400 audit(0.0:3193): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/coreutils" dev="mmcblk0p70" ino=524240 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:04.982 18859 18859 W cat     : type=1400 audit(0.0:3194): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/coreutils" dev="mmcblk0p70" ino=524240 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:05.680  6228 18847 I OkGo    : <-- 200 OK http://od.ixcmstudio.cn/repository/main.json (963ms)
04-02 21:36:05.680  6228 18847 I OkGo    :  Date: Sat, 02 Apr 2022 13:36:07 GMT
04-02 21:36:05.681  6228 18847 I OkGo    :  Content-Type: application/json
04-02 21:36:05.681  6228 18847 I OkGo    :  Transfer-Encoding: chunked
04-02 21:36:05.681  6228 18847 I OkGo    :  Connection: keep-alive
04-02 21:36:05.681  6228 18847 I OkGo    :  Last-Modified: Sat, 26 Mar 2022 05:46:02 GMT
04-02 21:36:05.681  6228 18847 I OkGo    :  ETag: W/"623ea89a-35d5"
04-02 21:36:05.681  6228 18847 I OkGo    :  Strict-Transport-Security: max-age=31536000
04-02 21:36:05.681  6228 18847 I OkGo    :  CF-Cache-Status: DYNAMIC
04-02 21:36:05.681  6228 18847 I OkGo    :  Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=sYPCnH6S2Kyh6j9HxNpK99TjE38aZruDY%2BwDsSubRKxDTiX%2Bsd0csdURcBVIAGXpFUGk0U2HE%2BufOIISog2j0uhSI6hyfRfHyH3X3d7UXaLYVnRqL237mCdlUyFEz5miFIzH"}],"group":"cf-nel","max_age":604800}
04-02 21:36:05.681  6228 18847 I OkGo    :  NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
04-02 21:36:05.681  6228 18847 I OkGo    :  Server: cloudflare
04-02 21:36:05.681  6228 18847 I OkGo    :  CF-RAY: 6f59f39c89013a2b-SEA
04-02 21:36:05.681  6228 18847 I OkGo    :  
04-02 21:36:05.682  6228 18847 I OkGo    :  body:{
04-02 21:36:05.682  6228 18847 I OkGo    :     "code": 0,
04-02 21:36:05.682  6228 18847 I OkGo    :     "ip": "http://od.ixcmstudio.cn/",
04-02 21:36:05.682  6228 18847 I OkGo    :     "home": "/repository/main/",
04-02 21:36:05.682  6228 18847 I OkGo    :  "versionName": "0.118.20",
04-02 21:36:05.682  6228 18847 I OkGo    :  "serviceName": "WINLOG的服务器(WINLOG Server)",
04-02 21:36:05.682  6228 18847 I OkGo    :  "msg": "(English tips are below)\nZeroTermux官方群聊(QQ):\n714730084\n提示:会话窗口在右侧\n紧急修复下载失败无法下载的问题\n双击命令窗口打开快捷命令\n使用许可:学习交流\n\nTip: The session window is on the right side\nUrgently fix the problem of download failure and unable to download\nDouble-click the command window to open the shortcut command\nLicense: Learn to communicate",
04-02 21:36:05.682  6228 18847 I OkGo    :     "data": [
04-02 21:36:05.682  6228 18847 I OkGo    :  {
04-02 21:36:05.682  6228 18847 I OkGo    :             "name": "[学习专用]ZeroTermux[0.118.19]",
04-02 21:36:05.682  6228 18847 I OkGo    :             "download": "/repository/main/ZeroTermux/ZeroTermux-0.118.19.apk",
04-02 21:36:05.682  6228 18847 I OkGo    :             "size": "128mb",
04-02 21:36:05.682  6228 18847 I OkGo    :          "fileName": "ZeroTermux-0.117.16.apk",
04-02 21:36:05.682  6228 18847 I OkGo    :          "type": "apk",
04-02 21:36:05.682  6228 18847 I OkGo    :          "isDownload": "0",
04-02 21:36:05.682  6228 18847 I OkGo    :          "note": "同步升级、增加多种源\nSynchronously upgrade and add multiple sources"
04-02 21:36:05.682  6228 18847 I OkGo    :         },
04-02 21:36:05.682  6228 18847 I OkGo    :      {
04-02 21:36:05.682  6228 18847 I OkGo    :             "name": "[学习专用]ZeroTermux[0.118.20]",
04-02 21:36:05.682  6228 18847 I OkGo    :             "download": "/repository/main/ZeroTermux/ZeroTermux-0.118.20.apk",
04-02 21:36:05.682  6228 18847 I OkGo    :             "size": "143.06mb",
04-02 21:36:05.682  6228 18847 I OkGo    :          "fileName": "ZeroTermux-0.0.118.20.apk",
04-02 21:36:05.682  6228 18847 I OkGo    :          "type": "apk",
04-02 21:36:05.682  6228 18847 I OkGo    :          "isDownload": "0",
04-02 21:36:05.682  6228 18847 I OkGo    :          "note": "增加新旧启动器,添加翻译文件\nAdd new and old launchers, add translation files"
04-02 21:36:05.682  6228 18847 I OkGo    :         },
04-02 21:36:05.682  6228 18847 I OkGo    :        {
04-02 21:36:05.682  6228 18847 I OkGo    :             "name": "[学习专用]Zero(U)Termux For JDK(11)",
04-02 21:36:05.682  6228 18847 I OkGo    :             "download": "/repository/main/JDK11ForZeroTermux.apk",
04-02 21:36:05.682  6228 18847 I OkGo    :             "size": "231mb",
04-02 21:36:05.682  6228 18847 I OkGo    :          "fileName": "JDK11ForZeroTermux.apk",
04-02 21:36:05.682  6228 18847 I OkGo    :          "type": "apk",
04-02 21:36:05.682  6228 18847 I OkGo    :          "isDownload": "0",
04-02 21:36:05.682  6228 18847 I OkGo    :          "note": "Zero(U)Termux JDK11一键安装\nZero(U)Termux JDK11 one-click installation"
04-02 21:36:05.682  6228 18847 I OkGo    :         },
04-02 21:36:05.682  6228 18847 I OkGo    :      
04-02 21:36:05.682  6228 18847 I OkGo    :      {
04-02 21:36:05.682  6228 18847 I OkGo    :             "name": "[学习专用]Alpine-X86插件",
04-02 21:36:05.682  6228 18847 I OkGo    :             "download": "/repository/main/Alpine_Termux.apk",
04-02 21:36:05.682  6228 18847 I OkGo    :             "size": "123mb",
04-02 21:36:05.682  6228 18847 I OkGo    :          "fileName": "Alpine_Termux.apk",
04-02 21:36:05.682  6228 18847 I OkGo    :          "type": "apk",
04-02 21:36:05.682  6228 18847 I OkGo    :          "isDownload": "0",
04-02 21:36:05.682  6228 18847 I OkGo    :          "note": "Termux官方Alpine_X86插件\nTermux official Alpine_X86 plugin"
04-02 21:36:05.682  6228 18847 I OkGo    :         },
04-02 21:36:05.682  6228 18847 I OkGo    :      {
04-02 21:36:05.682  6228 18847 I OkGo    :             "name": "[学习专用]ZeroVnc插件",
04-02 21:36:05.682  6228 18847 I OkGo    :             "download": "/repository/main/ZeroTermux_VNC.apk",
04-02 21:36:05.682  6228 18847 I OkGo    :             "size": "35.7mb",
04-02 21:36:05.682  6228 18847 I OkGo    :          "fileName": "ZeroTermux_VNC.apk",
04-02 21:36:05.682  6228 18847 I OkGo    :          "type": "apk",
04-02 21:36:05.682  6228 18847 I OkGo    :          "isDownload": "0",
04-02 21:36:05.682  6228 18847 I OkGo    :          "note": "ZeroTermux所使用的VNC插件窗口\nThe VNC plug-in window used by ZeroTermux"
04-02 21:36:05.682  6228 18847 I OkGo    :         },
04-02 21:36:05.682  6228 18847 I OkGo    :         {
04-02 21:36:05.682  6228 18847 I OkGo    :             "name": "[学习专用][NEW][超级推荐]狂吃仿苹果的ubuntu",
04-02 21:36:05.682  6228 18847 I OkGo    :             "download": "/repository/main/Polaris-Ubuntu.tar.gz",
04-02 21:36:05.682  6228 18847 I OkGo    :             "size": "4.6GB",
04-02 21:36:05.682  6228 18847 I OkGo    :          "fileName": "Polaris-Ubuntu_仿苹果_超级美化.tar.gz",
04-02 21:36:05.682  6228 18847 I OkGo    :          "type": "tar.gz",
04-02 21:36:05.682  6228 18847 I OkGo    :          "isDownload": "0",
04-02 21:36:05.682  6228 18847 I OkGo    :          "note": "[超级推荐](BY-狂吃) 超级美化,包含Android Studio、VSCode、游戏、WPS、火狐浏览器等\nSuper beautified, including Android Studio, VSCode, games, other"
04-02 21:36:05.682  6228 18847 I OkGo    :         },
04-02 21:36:05.682  6228 18847 I OkGo    :          {
04-02 21:36:05.682  6228 18847 I OkGo    :             "name": "[学习专用][推荐]极速恢复包狂吃不胖极致美化游戏ubuntu",
04-02 21:36:05.682  6228 18847 I OkGo    :             "download": "/repository/main/极速恢复包狂吃不胖ubuntu系统请准备15GB的空间.tar.gz",
04-02 21:36:05.682  6228 18847 I OkGo    :             "size": "5.59GB",
04-02 21:36:05.682  6228 18847 I OkGo    :          "fileName": "极速恢复包狂吃不胖ubuntu系统请准备15GB的空间.tar.gz",
04-02 21:36:05.682  6228 18847 I OkGo    :          "type": "tar.gz",
04-02 21:36:05.682  6228 18847 I OkGo    :          "isDownload": "0",
04-02 21:36:05.682  6228 18847 I OkGo    :          "note": "[推荐]极速恢复包狂吃不胖极致美化游戏ubuntu\n[Recommends] Speed recovery pack binge eating not fat Ultimate beautify game Ubuntu"
04-02 21:36:05.682  6228 18847 I OkGo    :         },
04-02 21:36:05.682  6228 18847 I OkGo    :      {
04-02 21:36:05.682  6228 18847 I OkGo    :             "name": "[学习专用][推荐]manjaro学习崩崩版",
04-02 21:36:05.682  6228 18847 I OkGo    :             "download": "/repository/main/manjaro学习崩崩版.tar.gz",
04-02 21:36:05.682  6228 18847 I OkGo    :             "size": "1.71GB",
04-02 21:36:05.682  6228 18847 I OkGo    :          "fileName": "manjaro学习崩崩版.tar.gz",
04-02 21:36:05.682  6228 18847 I OkGo    :          "type": "tar.gz",
04-02 21:36:05.682  6228 18847 I OkGo    :          "isDownload": "0",
04-02 21:36:05.682  6228 18847 I OkGo    :          "note": "[推荐]由末雪一超级美化的manjaro系统\n[Recommended] Super beautified Manjaro system by Moi Xueyi"
04-02 21:36:05.682  6228 18847 I OkGo    :         },
04-02 21:36:05.682  6228 18847 I OkGo    :          {
04-02 21:36:05.682  6228 18847 I OkGo    :             "name": "[学习专用][推荐]2020TermuxArch2.0",
04-02 21:36:05.682  6228 18847 I OkGo    :             "download": "/repository/main/2020TermuxArch2.0.tar.gz",
04-02 21:36:05.682  6228 18847 I OkGo    :             "size": "2.93GB",
04-02 21:36:05.682  6228 18847 I OkGo    :          "fileName": "2020TermuxArch2.0.t
04-02 21:36:05.683  6228 18847 I OkGo    : <-- END HTTP
04-02 21:36:05.684  6228  6228 E ada:    : 连接成功:{
04-02 21:36:05.684  6228  6228 E ada:    :     "code": 0,
04-02 21:36:05.684  6228  6228 E ada:    :     "ip": "http://od.ixcmstudio.cn/",
04-02 21:36:05.684  6228  6228 E ada:    :     "home": "/repository/main/",
04-02 21:36:05.684  6228  6228 E ada:    :  "versionName": "0.118.20",
04-02 21:36:05.684  6228  6228 E ada:    :  "serviceName": "WINLOG的服务器(WINLOG Server)",
04-02 21:36:05.684  6228  6228 E ada:    :  "msg": "(English tips are below)\nZeroTermux官方群聊(QQ):\n714730084\n提示:会话窗口在右侧\n紧急修复下载失败无法下载的问题\n双击命令窗口打开快捷命令\n使用许可:学习交流\n\nTip: The session window is on the right side\nUrgently fix the problem of download failure and unable to download\nDouble-click the command window to open the shortcut command\nLicense: Learn to communicate",
04-02 21:36:05.684  6228  6228 E ada:    :     "data": [
04-02 21:36:05.684  6228  6228 E ada:    :  {
04-02 21:36:05.684  6228  6228 E ada:    :             "name": "[学习专用]ZeroTermux[0.118.19]",
04-02 21:36:05.684  6228  6228 E ada:    :             "download": "/repository/main/ZeroTermux/ZeroTermux-0.118.19.apk",
04-02 21:36:05.684  6228  6228 E ada:    :             "size": "128mb",
04-02 21:36:05.684  6228  6228 E ada:    :          "fileName": "ZeroTermux-0.117.16.apk",
04-02 21:36:05.684  6228  6228 E ada:    :          "type": "apk",
04-02 21:36:05.684  6228  6228 E ada:    :          "isDownload": "0",
04-02 21:36:05.684  6228  6228 E ada:    :          "note": "同步升级、增加多种源\nSynchronously upgrade and add multiple sources"
04-02 21:36:05.684  6228  6228 E ada:    :         },
04-02 21:36:05.684  6228  6228 E ada:    :      {
04-02 21:36:05.684  6228  6228 E ada:    :             "name": "[学习专用]ZeroTermux[0.118.20]",
04-02 21:36:05.684  6228  6228 E ada:    :             "download": "/repository/main/ZeroTermux/ZeroTermux-0.118.20.apk",
04-02 21:36:05.684  6228  6228 E ada:    :             "size": "143.06mb",
04-02 21:36:05.684  6228  6228 E ada:    :          "fileName": "ZeroTermux-0.0.118.20.apk",
04-02 21:36:05.684  6228  6228 E ada:    :          "type": "apk",
04-02 21:36:05.684  6228  6228 E ada:    :          "isDownload": "0",
04-02 21:36:05.684  6228  6228 E ada:    :          "note": "增加新旧启动器,添加翻译文件\nAdd new and old launchers, add translation files"
04-02 21:36:05.684  6228  6228 E ada:    :         },
04-02 21:36:05.684  6228  6228 E ada:    :        {
04-02 21:36:05.684  6228  6228 E ada:    :             "name": "[学习专用]Zero(U)Termux For JDK(11)",
04-02 21:36:05.684  6228  6228 E ada:    :             "download": "/repository/main/JDK11ForZeroTermux.apk",
04-02 21:36:05.684  6228  6228 E ada:    :             "size": "231mb",
04-02 21:36:05.684  6228  6228 E ada:    :          "fileName": "JDK11ForZeroTermux.apk",
04-02 21:36:05.684  6228  6228 E ada:    :          "type": "apk",
04-02 21:36:05.684  6228  6228 E ada:    :          "isDownload": "0",
04-02 21:36:05.684  6228  6228 E ada:    :          "note": "Zero(U)Termux JDK11一键安装\nZero(U)Termux JDK11 one-click installation"
04-02 21:36:05.684  6228  6228 E ada:    :         },
04-02 21:36:05.684  6228  6228 E ada:    :      
04-02 21:36:05.684  6228  6228 E ada:    :      {
04-02 21:36:05.684  6228  6228 E ada:    :             "name": "[学习专用]Alpine-X86插件",
04-02 21:36:05.684  6228  6228 E ada:    :             "download": "/repository/main/Alpine_Termux.apk",
04-02 21:36:05.684  6228  6228 E ada:    :             "size": "123mb",
04-02 21:36:05.684  6228  6228 E ada:    :          "fileName": "Alpine_Termux.apk",
04-02 21:36:05.684  6228  6228 E ada:    :          "type": "apk",
04-02 21:36:05.684  6228  6228 E ada:    :          "isDownload": "0",
04-02 21:36:05.684  6228  6228 E ada:    :          "note": "Termux官方Alpine_X86插件\nTermux official Alpine_X86 plugin"
04-02 21:36:05.684  6228  6228 E ada:    :         },
04-02 21:36:05.684  6228  6228 E ada:    :      {
04-02 21:36:05.684  6228  6228 E ada:    :             "name": "[学习专用]ZeroVnc插件",
04-02 21:36:05.684  6228  6228 E ada:    :             "download": "/repository/main/ZeroTermux_VNC.apk",
04-02 21:36:05.684  6228  6228 E ada:    :             "size": "35.7mb",
04-02 21:36:05.684  6228  6228 E ada:    :          "fileName": "ZeroTermux_VNC.apk",
04-02 21:36:05.684  6228  6228 E ada:    :          "type": "apk",
04-02 21:36:05.684  6228  6228 E ada:    :          "isDownload": "0",
04-02 21:36:05.684  6228  6228 E ada:    :          "note": "ZeroTermux所使用的VNC插件窗口\nThe VNC plug-in window used by ZeroTermux"
04-02 21:36:05.684  6228  6228 E ada:    :         },
04-02 21:36:05.684  6228  6228 E ada:    :         {
04-02 21:36:05.684  6228  6228 E ada:    :             "name": "[学习专用][NEW][超级推荐]狂吃仿苹果的ubuntu",
04-02 21:36:05.684  6228  6228 E ada:    :             "download": "/repository/main/Polaris-Ubuntu.tar.gz",
04-02 21:36:05.684  6228  6228 E ada:    :             "size": "4.6GB",
04-02 21:36:05.684  6228  6228 E ada:    :          "fileName": "Polaris-Ubuntu_仿苹果_超级美化.tar.gz",
04-02 21:36:05.684  6228  6228 E ada:    :          "type": "tar.gz",
04-02 21:36:05.684  6228  6228 E ada:    :          "isDownload": "0",
04-02 21:36:05.684  6228  6228 E ada:    :          "note": "[超级推荐](BY-狂吃) 超级美化,包含Android Studio、VSCode、游戏、WPS、火狐浏览器等\nSuper beautified, including Android Studio, VSCode, games, other"
04-02 21:36:05.684  6228  6228 E ada:    :         },
04-02 21:36:05.684  6228  6228 E ada:    :          {
04-02 21:36:05.684  6228  6228 E ada:    :             "name": "[学习专用][推荐]极速恢复包狂吃不胖极致美化游戏ubuntu",
04-02 21:36:05.684  6228  6228 E ada:    :             "download": "/repository/main/极速恢复包狂吃不胖ubuntu系统请准备15GB的空间.tar.gz",
04-02 21:36:05.684  6228  6228 E ada:    :             "size": "5.59GB",
04-02 21:36:05.684  6228  6228 E ada:    :          "fileName": "极速恢复包狂吃不胖ubuntu系统请准备15GB的空间.tar.gz",
04-02 21:36:05.684  6228  6228 E ada:    :          "type": "tar.gz",
04-02 21:36:05.684  6228  6228 E ada:    :          "isDownload": "0",
04-02 21:36:05.684  6228  6228 E ada:    :          "note": "[推荐]极速恢复包狂吃不胖极致美化游戏ubuntu\n[Recommends] Speed recovery pack binge eating not fat Ultimate beautify game Ubuntu"
04-02 21:36:05.684  6228  6228 E ada:    :         },
04-02 21:36:05.684  6228  6228 E ada:    :      {
04-02 21:36:05.684  6228  6228 E ada:    :             "name": "[学习专用][推荐]manjaro学习崩崩版",
04-02 21:36:05.684  6228  6228 E ada:    :             "download": "/repository/main/manjaro学习崩崩版.tar.gz",
04-02 21:36:05.684  6228  6228 E ada:    :             "size": "1.71GB",
04-02 21:36:05.684  6228  6228 E ada:    :          "fileName": "manjaro学习崩崩版.tar.gz",
04-02 21:36:05.684  6228  6228 E ada:    :          "type": "tar.gz",
04-02 21:36:05.684  6228  6228 E ada:    :          "isDownload": "0",
04-02 21:36:05.684  6228  6228 E ada:    :          "note": "[推荐]由末雪一超级美化的manjaro系统\n[Recommended] Super beautified Manjaro system by Moi Xueyi"
04-02 21:36:05.684  6228  6228 E ada:    :         },
04-02 21:36:05.684  6228  6228 E ada:    :          {
04-02 21:36:05.684  6228  6228 E ada:    :             "name": "[学习专用][推荐]2020TermuxArch2.0",
04-02 21:36:05.684  6228  6228 E ada:    :             "download": "/repository/main/2020TermuxArch2.0.tar.gz",
04-02 21:36:05.684  6228  6228 E ada:    :             "size": "2.93GB",
04-02 21:36:05.684  6228  6228 E ada:    :          "fileName": "2020TermuxAr
04-02 21:36:13.072 18866 18866 W bash    : type=1400 audit(0.0:3226): avc: granted { execute } for name="coreutils" dev="mmcblk0p70" ino=524240 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:13.072 18866 18866 W bash    : type=1400 audit(0.0:3227): avc: granted { execute } for name="coreutils" dev="mmcblk0p70" ino=524240 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:13.072 18866 18866 W bash    : type=1400 audit(0.0:3228): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/coreutils" dev="mmcblk0p70" ino=524240 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:13.072 18866 18866 W cat     : type=1400 audit(0.0:3229): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/coreutils" dev="mmcblk0p70" ino=524240 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:13.082 18866 18866 W cat     : type=1400 audit(0.0:3230): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libgmp.so" dev="mmcblk0p70" ino=527143 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:27.222 18876 18876 W bash    : type=1400 audit(0.0:3234): avc: granted { execute } for name="ping" dev="mmcblk0p70" ino=526291 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:27.452 18876 18876 W bash    : type=1400 audit(0.0:3235): avc: granted { execute } for name="ping" dev="mmcblk0p70" ino=526291 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:27.452 18876 18876 W bash    : type=1400 audit(0.0:3236): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/ping" dev="mmcblk0p70" ino=526291 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:27.452 18876 18876 W bash    : type=1400 audit(0.0:3237): avc: granted { execute } for name="dash" dev="mmcblk0p70" ino=524965 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:27.452 18876 18876 W ping    : type=1400 audit(0.0:3238): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/dash" dev="mmcblk0p70" ino=524965 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:32.565  6228  6228 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
04-02 21:36:32.565  6228  6228 I chatty  : uid=10305(com.termux) identical 2 lines
04-02 21:36:32.565  6228  6228 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
04-02 21:36:33.815  6228  6253 D OpenGLRenderer: endAllActiveAnimators on 0x7b9b890500 (RippleDrawable) with handle 0x7b9ba19b00
04-02 21:36:33.825  6228  6242 W System  : A resource failed to call end. 
04-02 21:36:36.591  6228 18892 W System  : ClassLoader referenced unknown path: 
04-02 21:36:36.722 18895 18895 W Thread-10: type=1400 audit(0.0:3243): avc: granted { execute } for name="bash" dev="mmcblk0p70" ino=524266 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:36.722 18895 18895 W Thread-10: type=1400 audit(0.0:3244): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/bash" dev="mmcblk0p70" ino=524266 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:36.722 18895 18895 W bash    : type=1400 audit(0.0:3245): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/bash" dev="mmcblk0p70" ino=524266 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:36.722 18895 18895 W bash    : type=1400 audit(0.0:3246): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libncursesw.so.6.3" dev="mmcblk0p70" ino=526224 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:36.722 18895 18895 W bash    : type=1400 audit(0.0:3247): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libreadline.so.8.1" dev="mmcblk0p70" ino=526054 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:36.722 18895 18895 W bash    : type=1400 audit(0.0:3248): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libandroid-support.so" dev="mmcblk0p70" ino=526037 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:36.722 18895 18895 W bash    : type=1400 audit(0.0:3249): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libiconv.so" dev="mmcblk0p70" ino=525270 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:36.906  6228  6253 D OpenGLRenderer: endAllActiveAnimators on 0x7b9e172300 (RippleDrawable) with handle 0x7b9bf253e0
04-02 21:36:39.162 18921 18921 W apt     : type=1400 audit(0.0:3332): avc: granted { execute } for name="gpgv" dev="mmcblk0p70" ino=526220 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:39.162 18921 18921 W apt     : type=1400 audit(0.0:3333): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/lib/apt/methods/gpgv" dev="mmcblk0p70" ino=526220 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:39.172 18921 18921 W gpgv    : type=1400 audit(0.0:3334): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/apt/methods/gpgv" dev="mmcblk0p70" ino=526220 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:40.002 18984 18984 W apt-key : type=1400 audit(0.0:3617): avc: granted { execute } for name="coreutils" dev="mmcblk0p70" ino=524240 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:40.002 18984 18984 W apt-key : type=1400 audit(0.0:3618): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/coreutils" dev="mmcblk0p70" ino=524240 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:40.002 18984 18984 W rm      : type=1400 audit(0.0:3619): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/coreutils" dev="mmcblk0p70" ino=524240 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:40.002 18984 18984 W rm      : type=1400 audit(0.0:3620): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libiconv.so" dev="mmcblk0p70" ino=525270 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:40.002 18984 18984 W rm      : type=1400 audit(0.0:3621): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libandroid-support.so" dev="mmcblk0p70" ino=526037 scontext=u:r:untrusted_app_27:s0:c49,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c49,c257,c512,c768 tclass=file
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: (1) APT Info Command:
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: Previous State: `Executed`
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: Current State: `Success`
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: Stdout:
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: ```
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: ### Subscribed Repositories
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: #### sources.list
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: `deb https://packages-cf.termux.org/apt/termux-main stable main`
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: ##
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: ### Updatable Packages
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: ```
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: bash/stable 5.1.16-1 aarch64 [upgradable from: 5.1.16]
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: cmake/stable 3.23.0-1 aarch64 [upgradable from: 3.22.3]
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: golang/stable 3:1.18-1 aarch64 [upgradable from: 3:1.18]
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: libgcrypt/stable 1.10.1 aarch64 [upgradable from: 1.9.4]
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: ```
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: ##
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: ```
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: Stderr:
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: ```
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: find: ‘/data/data/com.termux/files/usr/etc/apt/sources.list.d’: No such file or directory
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: ```
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: Exit Code: `0`
04-02 21:36:40.275  6228 18892 E Logger.TermuxUtils: 

Steps to reproduce the behavior.

pkg install resolv-conf -y echo 104.25.233.106 packages-cf.termux.org > $PREFIX/etc/hosts termux-change-repo

What is the expected behavior?

should resolve to the specified ip.

System information

Grimler91 commented 2 years ago
  1. I don't understand what the issue is, you seem to be able to resolve packages-cf.termux.org without issues
  2. You are apparently not using termux but rather an app called "ZeroTermux" (which apparently uses the same PREFIX and our repositories). We don't provide support for other apps
2096779623 commented 2 years ago
  1. I don't understand what the issue is, you seem to be able to resolve packages-cf.termux.org without issues
  2. You are apparently not using termux but rather an app called "ZeroTermux" (which apparently uses the same PREFIX and our repositories). We don't provide support for other apps

The problem is: packages-cf.termux.org is not resolved by ip in $PREFIX/etc/hosts.

https://github.com/hanxinhao000/zerotermux

2096779623 commented 2 years ago
  1. I don't understand what the issue is, you seem to be able to resolve packages-cf.termux.org without issues
  2. You are apparently not using termux but rather an app called "ZeroTermux" (which apparently uses the same PREFIX and our repositories). We don't provide support for other apps
~ $ ping a
ping: unknown host a
~ $ cat $PREFIX/etc/hosts
127.0.0.1 localhost
::1 ip6-localhost

127.0.0.1 a
Grimler91 commented 2 years ago

Most utilities use android's hosts and resolv.conf, only a few are modified to use the files in $PREFIX, see https://github.com/search?q=org%3Atermux+etc%2Fresolv.conf&type=code and https://github.com/search?q=org%3Atermux+etc%2Fhosts&type=code

Ping is a wrapper of /system/bin/ping, so it definitely won't use the config files in $PREFIX