feelfreelinux / feelfreelinux/android-linux-bootstrap
Bootstrap Failing to install "can't sanitize binding /data/data"
- Dominant language
- Shell
- Stars
- 14
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Phone is pixel 4a running android 13
Log output:
π» No bootstrap detected, proceeding with installation
π» Arch: aarch64
π» Downloading bootstrap 0.3.0 from https://github.com/feelfreelinux/android-linux-bootstrap/releases/download/0.3.0/bootstrap-aarch64.zip
π» Request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/352965812/ea14dee1-fef5-465a-9f22-4ff9e7631821?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230420%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230420T170917Z&X-Amz-Expires=300&X-Amz-Signature=5a4bdd1618e5117e79c2cae51c9f7b8972ceb2bd022f276d3f3530de9243ae79&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=352965812&response-content-disposition=attachment%3B%20filename%3Dbootstrap-aarch64.zip&response-content-type=application%2Foctet-stream returned status code 200
π» Bootstrap extracted, setting it up...
π» >ls
πΈ add-user.sh
πΈ fake_proc_stat
πΈ install-bootstrap.sh
πΈ ioctlHook.so
πΈ root
πΈ rootfs.tar.xz
πΈ run-bootstrap.sh
π» >chmod -R 700 .
π» >sh install-bootstrap.sh
πΈ bootstrap ready, run with run-bootstrap.sh
π» >sh add-user.sh octoprint
π» >cat /etc/motd
πΈ proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
πΈ Welcome to Alpine!
πΈ
πΈ The Alpine Wiki contains a large amount of how-to guides and general
πΈ information about administrating Alpine systems.
πΈ See .
πΈ
πΈ You can setup the system with the command: setup-alpine
πΈ
πΈ You may change this message by editing /etc/motd.
πΈ
π» >env
πΈ proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
πΈ DEX2OATBOOTCLASSPATH=/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar
πΈ EXTRA_BIND=-b /storage/emulated/0/Android/data/com.octo4a/files:/root -b /data/data/com.octo4a/files/serialpipe:/dev/ttyOcto4a -b /data/data/com.octo4a/files/bootstrap/ioctlHook.so:/home/octoprint/ioctlHook.so
πΈ USER=root
πΈ EXTERNAL_STORAGE=/sdcard
πΈ PROOT_L2S_DIR=/data/data/com.octo4a/files/bootstrap/bootstrap/.proot.meta
πΈ SHLVL=1
πΈ HOME=/root
πΈ ANDROID_ASSETS=/system/app
πΈ BOOTCLASSPATH=/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.adservices/javalib/framework-adservices.jar:/apex/com.android.adservices/javalib/framework-sdksandbox.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.btservices/javalib/framework-bluetooth.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.ondevicepersonalization/javalib/framework-ondevicepersonalization.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-connectivity-t.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.uwb/javalib/framework-uwb.jar:/apex/com.android.wifi/javalib/framework-wifi.jar
πΈ STANDALONE_SYSTEMSERVER_JARS=/apex/com.android.btservices/javalib/service-bluetooth.jar:/apex/com.android.os.statsd/javalib/service-statsd.jar:/apex/com.android.scheduling/javalib/service-scheduling.jar:/apex/com.android.tethering/javalib/service-connectivity.jar:/apex/com.android.uwb/javalib/service-uwb.jar:/apex/com.android.wifi/javalib/service-wifi.jar
πΈ _=./root/bin/proot
πΈ DOWNLOAD_CACHE=/data/cache
πΈ ANDROID_DATA=/data
πΈ PATH=/sbin:/usr/sbin:/bin:/usr/bin
πΈ ANDROID_ROOT=/system
πΈ ANDROID_I18N_ROOT=/apex/com.android.i18n
πΈ LANG='en_US.UTF-8'
πΈ ANDROID_TZDATA_ROOT=/apex/com.android.tzdata
πΈ ANDROID_SOCKET_zygote=21
πΈ ANDROID_SOCKET_usap_pool_primary=22
πΈ ASEC_MOUNTPOINT=/mnt/asec
πΈ PWD=/root
πΈ SYSTEMSERVERCLASSPATH=/system/framework/com.android.location.provider.jar:/system/framework/services.jar:/system/framework/org.lineageos.platform.jar:/apex/com.android.adservices/javalib/service-adservices.jar:/apex/com.android.adservices/javalib/service-sdksandbox.jar:/apex/com.android.appsearch/javalib/service-appsearch.jar:/apex/com.android.art/javalib/service-art.jar:/apex/com.android.media/javalib/service-media-s.jar:/apex/com.android.permission/javalib/service-permission.jar
πΈ ANDROID_ART_ROOT=/apex/com.android.art
πΈ ANDROID_STORAGE=/storage
πΈ PROOT_TMP_DIR=/data/data/com.octo4a/files/bootstrap/tmp
πΈ ANDROID_BOOTLOGO=1
π» >ls /
πΈ proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
πΈ bin
πΈ dev
πΈ etc
πΈ home
πΈ lib
πΈ media
πΈ mnt
πΈ opt
πΈ proc
πΈ root
πΈ run
πΈ sbin
πΈ srv
πΈ storage
πΈ sys
πΈ system
πΈ tmp
πΈ usr
πΈ var
πΈ vendor
π» >apk add openssh-server curl bash unzip
πΈ proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
πΈ fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz
πΈ ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.17/main: temporary error (try again later)
πΈ WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/main: No such file or directory
πΈ fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz
πΈ ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.17/community: temporary error (try again later)
πΈ WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: No such file or directory
πΈ ERROR: unable to select packages:
πΈ bash (no such package):
πΈ required by: world[bash]
πΈ curl (no such package):
πΈ required by: world[curl]
πΈ openssh-server (no such package):
πΈ required by: world[openssh-server]
πΈ unzip (no such package):
πΈ required by: world[unzip]
π» An exception has occurred at:
java.lang.RuntimeException: Process exited with error code 4. [proot warning: can't sanitize binding "/data/data
at com.octo4a.utils.ProcessUtilsKt.waitAndPrintOutput(ProcessUtils.kt:38)
at com.octo4a.utils.ProcessUtilsKt.waitAndPrintOutput$default(ProcessUtils.kt:12)
at com.octo4a.repository.BootstrapRepositoryImpl$setupBootstrap$2.invokeSuspend(BootstrapRepository.kt:163)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Exception:
java.lang.RuntimeException: Process exited with error code 4. [proot warning: can't sanitize binding "/data/data
π» No bootstrap detected, proceeding with installation
π» Arch: aarch64
π» Downloading bootstrap 0.3.0 from https://github.com/feelfreelinux/android-linux-bootstrap/releases/download/0.3.0/bootstrap-aarch64.zip
π» Request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/352965812/ea14dee1-fef5-465a-9f22-4ff9e7631821?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230420%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230420T170917Z&X-Amz-Expires=300&X-Amz-Signature=5a4bdd1618e5117e79c2cae51c9f7b8972ceb2bd022f276d3f3530de9243ae79&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=352965812&response-content-disposition=attachment%3B%20filename%3Dbootstrap-aarch64.zip&response-content-type=application%2Foctet-stream returned status code 200
π» Bootstrap extracted, setting it up...
π» >ls
πΈ add-user.sh
πΈ fake_proc_stat
πΈ install-bootstrap.sh
πΈ ioctlHook.so
πΈ root
πΈ rootfs.tar.xz
πΈ run-bootstrap.sh
π» >chmod -R 700 .
π» >sh install-bootstrap.sh
πΈ bootstrap ready, run with run-bootstrap.sh
π» >sh add-user.sh octoprint
π» >cat /etc/motd
πΈ proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
πΈ Welcome to Alpine!
πΈ
πΈ The Alpine Wiki contains a large amount of how-to guides and general
πΈ information about administrating Alpine systems.
πΈ See .
πΈ
πΈ You can setup the system with the command: setup-alpine
πΈ
πΈ You may change this message by editing /etc/motd.
πΈ
π» >env
πΈ proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
πΈ DEX2OATBOOTCLASSPATH=/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar
πΈ EXTRA_BIND=-b /storage/emulated/0/Android/data/com.octo4a/files:/root -b /data/data/com.octo4a/files/serialpipe:/dev/ttyOcto4a -b /data/data/com.octo4a/files/bootstrap/ioctlHook.so:/home/octoprint/ioctlHook.so
πΈ USER=root
πΈ EXTERNAL_STORAGE=/sdcard
πΈ PROOT_L2S_DIR=/data/data/com.octo4a/files/bootstrap/bootstrap/.proot.meta
πΈ SHLVL=1
πΈ HOME=/root
πΈ ANDROID_ASSETS=/system/app
πΈ BOOTCLASSPATH=/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.adservices/javalib/framework-adservices.jar:/apex/com.android.adservices/javalib/framework-sdksandbox.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.btservices/javalib/framework-bluetooth.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.ondevicepersonalization/javalib/framework-ondevicepersonalization.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-connectivity-t.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.uwb/javalib/framework-uwb.jar:/apex/com.android.wifi/javalib/framework-wifi.jar
πΈ STANDALONE_SYSTEMSERVER_JARS=/apex/com.android.btservices/javalib/service-bluetooth.jar:/apex/com.android.os.statsd/javalib/service-statsd.jar:/apex/com.android.scheduling/javalib/service-scheduling.jar:/apex/com.android.tethering/javalib/service-connectivity.jar:/apex/com.android.uwb/javalib/service-uwb.jar:/apex/com.android.wifi/javalib/service-wifi.jar
πΈ _=./root/bin/proot
πΈ DOWNLOAD_CACHE=/data/cache
πΈ ANDROID_DATA=/data
πΈ PATH=/sbin:/usr/sbin:/bin:/usr/bin
πΈ ANDROID_ROOT=/system
πΈ ANDROID_I18N_ROOT=/apex/com.android.i18n
πΈ LANG='en_US.UTF-8'
πΈ ANDROID_TZDATA_ROOT=/apex/com.android.tzdata
πΈ ANDROID_SOCKET_zygote=21
πΈ ANDROID_SOCKET_usap_pool_primary=22
πΈ ASEC_MOUNTPOINT=/mnt/asec
πΈ PWD=/root
πΈ SYSTEMSERVERCLASSPATH=/system/framework/com.android.location.provider.jar:/system/framework/services.jar:/system/framework/org.lineageos.platform.jar:/apex/com.android.adservices/javalib/service-adservices.jar:/apex/com.android.adservices/javalib/service-sdksandbox.jar:/apex/com.android.appsearch/javalib/service-appsearch.jar:/apex/com.android.art/javalib/service-art.jar:/apex/com.android.media/javalib/service-media-s.jar:/apex/com.android.permission/javalib/service-permission.jar
πΈ ANDROID_ART_ROOT=/apex/com.android.art
πΈ ANDROID_STORAGE=/storage
πΈ PROOT_TMP_DIR=/data/data/com.octo4a/files/bootstrap/tmp
πΈ ANDROID_BOOTLOGO=1
π» >ls /
πΈ proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
πΈ bin
πΈ dev
πΈ etc
πΈ home
πΈ lib
πΈ media
πΈ mnt
πΈ opt
πΈ proc
πΈ root
πΈ run
πΈ sbin
πΈ srv
πΈ storage
πΈ sys
πΈ system
πΈ tmp
πΈ usr
πΈ var
πΈ vendor
π» >apk add openssh-server curl bash unzip
πΈ proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
πΈ fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz
πΈ ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.17/main: temporary error (try again later)
πΈ WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/main: No such file or directory
πΈ fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz
πΈ ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.17/community: temporary error (try again later)
πΈ WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: No such file or directory
πΈ ERROR: unable to select packages:
πΈ bash (no such package):
πΈ required by: world[bash]
πΈ curl (no such package):
πΈ required by: world[curl]
πΈ openssh-server (no such package):
πΈ required by: world[openssh-server]
πΈ unzip (no such package):
πΈ required by: world[unzip]
π» An exception has occurred at:
java.lang.RuntimeException: Process exited with error code 4. [proot warning: can't sanitize binding "/data/data
at com.octo4a.utils.ProcessUtilsKt.waitAndPrintOutput(ProcessUtils.kt:38)
at com.octo4a.utils.ProcessUtilsKt.waitAndPrintOutput$default(ProcessUtils.kt:12)
at com.octo4a.repository.BootstrapRepositoryImpl$setupBootstrap$2.invokeSuspend(BootstrapRepository.kt:163)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Exception:
java.lang.RuntimeException: Process exited with error code 4. [proot warning: can't sanitize binding "/data/data
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.