Git Product home page Git Product logo

Comments (31)

warmike01 avatar warmike01 commented on August 28, 2024 1

https://pi-hole.net/blog/2022/10/10/pi-hole-ftl-v5-18-2-web-v5-16-and-core-v5-13-released/#page-content

Rolled back to core 5.13 and web 5.16, now it seems to be working properly! Thank you for your support, that's been one hell of a ride!

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024 1

I think congratualtions are in order -- This is one of the lowest-end Android devices anyone has been able to get working with Pi-hole!

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024 1

FYI -- I updated the disk image of Pi-hole on CentOS 7 with the most recent version:

p4a-install has been updated too, it successfully compiles the latest FTL from source. Tested with my old Rockchip ARMv7 HDMI stick.

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

Hi,

Try changing the image size from 4000 to 2000 and re-deploy. Older devices may not be able to handle disk images greater than 2048MB.

Alternatively, try formatting the SDcard EXT4. Sometimes it's easier to format it on another device.

The CentOS image doesn't take much space, 1GB free should be plenty if you tighen-up log retention.

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

Hi,

Try changing the image size from 4000 to 2000 and re-deploy. Older devices may not be able to handle disk images greater than 2048MB.

Alternatively, try formatting the SDcard EXT4. Sometimes it's easier to format it on another device.

The CentOS image doesn't take much space, 1GB free should be plenty if you tighen-up log retention.

I created a ext4 partition on the SD card, now the error is different: "Importing rootfs from tar.gz archive... fail". Full log:

Edit: made log collapsible for easier navigation
+ PATH=/data/data/ru.meefik.linuxdeploy/files/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
+ printf >>> deploy

>>> deploy
+ /data/data/ru.meefik.linuxdeploy/files/bin/linuxdeploy -d -t deploy
+ config_which linux
+ local 'conf_file=linux'
+ '[' -n linux ]
+ '[' -n linux ]
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/config/linux.conf
+ echo /data/data/ru.meefik.linuxdeploy/files/config/linux.conf
+ CONF_FILE=/data/data/ru.meefik.linuxdeploy/files/config/linux.conf
+ basename /data/data/ru.meefik.linuxdeploy/files/config/linux.conf .conf
+ PROFILE=linux
+ OPTLST=' '
+ params_read /data/data/ru.meefik.linuxdeploy/files/config/linux.conf
+ local 'conf_file=/data/data/ru.meefik.linuxdeploy/files/config/linux.conf'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/config/linux.conf ]
+ local item key val
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'ARCH="armhf"'
+ key=ARCH
+ val='"armhf"'
+ '[' -n ARCH ]
+ eval 'ARCH="armhf"'
+ ARCH=armhf
+ '[' -n ' ' ]
+ OPTLST=' ARCH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'DESKTOP="lxde"'
+ key=DESKTOP
+ val='"lxde"'
+ '[' -n DESKTOP ]
+ eval 'DESKTOP="lxde"'
+ DESKTOP=lxde
+ '[' -n ' ARCH ' ]
+ OPTLST=' ARCH DESKTOP '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'DISK_SIZE="2000"'
+ key=DISK_SIZE
+ val='"2000"'
+ '[' -n DISK_SIZE ]
+ eval 'DISK_SIZE="2000"'
+ DISK_SIZE=2000
+ '[' -n ' ARCH DESKTOP ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'DISTRIB="rootfs"'
+ key=DISTRIB
+ val='"rootfs"'
+ '[' -n DISTRIB ]
+ eval 'DISTRIB="rootfs"'
+ DISTRIB=rootfs
+ '[' -n ' ARCH DESKTOP DISK_SIZE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'DNS=""'
+ key=DNS
+ val='""'
+ '[' -n DNS ]
+ eval 'DNS=""'
+ DNS=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'FB_ARGS="-dpi' 100 -sharevts 'vt0"'
+ key=FB_ARGS
+ val='"-dpi 100 -sharevts vt0"'
+ '[' -n FB_ARGS ]
+ eval 'FB_ARGS="-dpi 100 -sharevts vt0"'
+ FB_ARGS='-dpi 100 -sharevts vt0'
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS '
+ read item
+ echo 'FB_DEV="/dev/graphics/fb0"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=FB_DEV
+ val='"/dev/graphics/fb0"'
+ '[' -n FB_DEV ]
+ eval 'FB_DEV="/dev/graphics/fb0"'
+ FB_DEV=/dev/graphics/fb0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV '
+ read item
+ echo 'FB_DISPLAY="0"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=FB_DISPLAY
+ val='"0"'
+ '[' -n FB_DISPLAY ]
+ eval 'FB_DISPLAY="0"'
+ FB_DISPLAY=0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY '
+ read item
+ echo 'FB_FREEZE="none"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=FB_FREEZE
+ val='"none"'
+ '[' -n FB_FREEZE ]
+ eval 'FB_FREEZE="none"'
+ FB_FREEZE=none
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE '
+ read item
+ echo 'FB_INPUT="/dev/input/event0"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=FB_INPUT
+ val='"/dev/input/event0"'
+ '[' -n FB_INPUT ]
+ eval 'FB_INPUT="/dev/input/event0"'
+ FB_INPUT=/dev/input/event0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT '
+ read item
+ echo 'FB_REFRESH="true"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=FB_REFRESH
+ val='"true"'
+ '[' -n FB_REFRESH ]
+ eval 'FB_REFRESH="true"'
+ FB_REFRESH=true
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH '
+ read item
+ echo 'FS_TYPE="ext4"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=FS_TYPE
+ val='"ext4"'
+ '[' -n FS_TYPE ]
+ eval 'FS_TYPE="ext4"'
+ FS_TYPE=ext4
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE '
+ read item
+ echo 'GRAPHICS="vnc"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=GRAPHICS
+ val='"vnc"'
+ '[' -n GRAPHICS ]
+ eval 'GRAPHICS="vnc"'
+ GRAPHICS=vnc
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS '
+ read item
+ echo 'INCLUDE="bootstrap' desktop extra/pulse graphics 'init"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INCLUDE
+ val='"bootstrap desktop extra/pulse graphics init"'
+ '[' -n INCLUDE ]
+ eval 'INCLUDE="bootstrap desktop extra/pulse graphics init"'
+ INCLUDE='bootstrap desktop extra/pulse graphics init'
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE '
+ read item
+ echo 'INIT="sysv"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INIT
+ val='"sysv"'
+ '[' -n INIT ]
+ eval 'INIT="sysv"'
+ INIT=sysv
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT '
+ read item
+ echo 'INIT_ASYNC="false"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INIT_ASYNC
+ val='"false"'
+ '[' -n INIT_ASYNC ]
+ eval 'INIT_ASYNC="false"'
+ INIT_ASYNC=false
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC '
+ read item
+ echo 'INIT_LEVEL="3"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INIT_LEVEL
+ val='"3"'
+ '[' -n INIT_LEVEL ]
+ eval 'INIT_LEVEL="3"'
+ INIT_LEVEL=3
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL '
+ read item
+ echo 'INIT_PATH="/etc/rc.local"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INIT_PATH
+ val='"/etc/rc.local"'
+ '[' -n INIT_PATH ]
+ eval 'INIT_PATH="/etc/rc.local"'
+ INIT_PATH=/etc/rc.local
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'INIT_USER="root"'
+ key=INIT_USER
+ val='"root"'
+ '[' -n INIT_USER ]
+ eval 'INIT_USER="root"'
+ INIT_USER=root
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER '
+ read item
+ echo 'LOCALE="C"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=LOCALE
+ val='"C"'
+ '[' -n LOCALE ]
+ eval 'LOCALE="C"'
+ LOCALE=C
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'MOUNTS=""'
+ key=MOUNTS
+ val='""'
+ '[' -n MOUNTS ]
+ eval 'MOUNTS=""'
+ MOUNTS=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS '
+ read item
+ echo 'NET_TRIGGER=""'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=NET_TRIGGER
+ val='""'
+ '[' -n NET_TRIGGER ]
+ eval 'NET_TRIGGER=""'
+ NET_TRIGGER=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER '
+ read item
+ echo 'POWER_TRIGGER=""'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=POWER_TRIGGER
+ val='""'
+ '[' -n POWER_TRIGGER ]
+ eval 'POWER_TRIGGER=""'
+ POWER_TRIGGER=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER '
+ read item
+ echo 'PRIVILEGED_USERS="android"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=PRIVILEGED_USERS
+ val='"android"'
+ '[' -n PRIVILEGED_USERS ]
+ eval 'PRIVILEGED_USERS="android"'
+ PRIVILEGED_USERS=android
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'PULSE_HOST="127.0.0.1"'
+ key=PULSE_HOST
+ val='"127.0.0.1"'
+ '[' -n PULSE_HOST ]
+ eval 'PULSE_HOST="127.0.0.1"'
+ PULSE_HOST=127.0.0.1
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST '
+ read item
+ echo 'PULSE_PORT="4712"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=PULSE_PORT
+ val='"4712"'
+ '[' -n PULSE_PORT ]
+ eval 'PULSE_PORT="4712"'
+ PULSE_PORT=4712
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT '
+ read item
+ echo 'SOURCE_PATH="/mnt/sdcard2/p4a17.tgz"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=SOURCE_PATH
+ val='"/mnt/sdcard2/p4a17.tgz"'
+ '[' -n SOURCE_PATH ]
+ eval 'SOURCE_PATH="/mnt/sdcard2/p4a17.tgz"'
+ SOURCE_PATH=/mnt/sdcard2/p4a17.tgz
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH '
+ read item
+ + echo 'SSH_ARGS=""'grep
 -o '^[0-9A-Z_]\{1,32\}'
+ key=SSH_ARGS
+ val='""'
+ '[' -n SSH_ARGS ]
+ eval 'SSH_ARGS=""'
+ SSH_ARGS=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'SSH_PORT="22"'
+ key=SSH_PORT
+ val='"22"'
+ '[' -n SSH_PORT ]
+ eval 'SSH_PORT="22"'
+ SSH_PORT=22
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT '
+ read item
+ echo 'SUITE="buster"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=SUITE
+ val='"buster"'
+ '[' -n SUITE ]
+ eval 'SUITE="buster"'
+ SUITE=buster
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE '
+ read item
+ echo 'TARGET_PATH="/mnt/sdcard3/linux.img"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=TARGET_PATH
+ val='"/mnt/sdcard3/linux.img"'
+ '[' -n TARGET_PATH ]
+ eval 'TARGET_PATH="/mnt/sdcard3/linux.img"'
+ TARGET_PATH=/mnt/sdcard3/linux.img
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'TARGET_TYPE="file"'
+ key=TARGET_TYPE
+ val='"file"'
+ '[' -n TARGET_TYPE ]
+ eval 'TARGET_TYPE="file"'
+ TARGET_TYPE=file
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'USER_NAME="android"'
+ key=USER_NAME
+ val='"android"'
+ '[' -n USER_NAME ]
+ eval 'USER_NAME="android"'
+ USER_NAME=android
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'USER_PASSWORD="12345"'
+ key=USER_PASSWORD
+ val='"12345"'
+ '[' -n USER_PASSWORD ]
+ eval 'USER_PASSWORD="12345"'
+ USER_PASSWORD=12345
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'VNC_ARGS=""'
+ key=VNC_ARGS
+ val='""'
+ '[' -n VNC_ARGS ]
+ eval 'VNC_ARGS=""'
+ VNC_ARGS=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS '
+ read item
+ echo 'VNC_DEPTH="16"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=VNC_DEPTH
+ val='"16"'
+ '[' -n VNC_DEPTH ]
+ eval 'VNC_DEPTH="16"'
+ VNC_DEPTH=16
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH '
+ read item
+ echo 'VNC_DISPLAY="0"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=VNC_DISPLAY
+ val='"0"'
+ '[' -n VNC_DISPLAY ]
+ eval 'VNC_DISPLAY="0"'
+ VNC_DISPLAY=0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'VNC_DPI="75"'
+ key=VNC_DPI
+ val='"75"'
+ '[' -n VNC_DPI ]
+ eval 'VNC_DPI="75"'
+ VNC_DPI=75
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'VNC_HEIGHT="540"'
+ key=VNC_HEIGHT
+ val='"540"'
+ '[' -n VNC_HEIGHT ]
+ eval 'VNC_HEIGHT="540"'
+ VNC_HEIGHT=540
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'VNC_WIDTH="960"'
+ key=VNC_WIDTH
+ val='"960"'
+ '[' -n VNC_WIDTH ]
+ eval 'VNC_WIDTH="960"'
+ VNC_WIDTH=960
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'X11_DISPLAY="0"'
+ key=X11_DISPLAY
+ val='"0"'
+ '[' -n X11_DISPLAY ]
+ eval 'X11_DISPLAY="0"'
+ X11_DISPLAY=0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'X11_HOST="127.0.0.1"'
+ key=X11_HOST
+ val='"127.0.0.1"'
+ '[' -n X11_HOST ]
+ eval 'X11_HOST="127.0.0.1"'
+ X11_HOST=127.0.0.1
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'X11_SDL="false"'
+ key=X11_SDL
+ val='"false"'
+ '[' -n X11_SDL ]
+ eval 'X11_SDL="false"'
+ X11_SDL=false
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST X11_SDL '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'X11_SDL_DELAY="15"'
+ key=X11_SDL_DELAY
+ val='"15"'
+ '[' -n X11_SDL_DELAY ]
+ eval 'X11_SDL_DELAY="15"'
+ X11_SDL_DELAY=15
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST X11_SDL ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST X11_SDL X11_SDL_DELAY '
+ read item
+ WITHOUT_CHECK=false
+ WITHOUT_DEPENDS=false
+ REVERSE_DEPENDS=false
+ EXCLUDE_COMPONENTS=
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/config ]
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include ]
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/tmp ]
+ '[' -d /data/local/mnt ]
+ OPTCMD=deploy
+ shift
+ DO_ACTION='do_install && do_configure'
+ OPTIND=1
+ getopts :n:mic FLAG
+ shift 0
+ params_parse
+ OPTIND=1
+ '[' 0 -gt 0 ]
+ shift 0
+ '['  '=' true ]
+ '[' 0 -gt 0 ]
+ component_exec 'bootstrap desktop extra/pulse graphics init'
+ local 'components=bootstrap desktop extra/pulse graphics init'
+ '[' false '!=' true ]
+ IGNORE_DEPENDS=' ' component_depends bootstrap desktop extra/pulse graphics init
+ local 'components=bootstrap desktop extra/pulse graphics init'
+ '[' -n 'bootstrap desktop extra/pulse graphics init' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z ' ' ]
+ IGNORE_DEPENDS=' bootstrap '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.conf
+ eval 'DEPENDS="bootstrap/rootfs' 'bootstrap/${DISTRIB}' 'core"'
+ DEPENDS='bootstrap/rootfs bootstrap/rootfs core'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap/rootfs bootstrap/rootfs core
+ local 'components=bootstrap/rootfs bootstrap/rootfs core'
+ '[' -n 'bootstrap/rootfs bootstrap/rootfs core' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap/rootfs
+ '[' -z ' bootstrap ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo bootstrap/rootfs
+ component=bootstrap/rootfs
+ '[' -z  ]
+ continue
+ component=core
+ '[' -z ' bootstrap bootstrap/rootfs ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/deploy.conf
+ eval 'DEPENDS="core/emulator' core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo 'core/unchroot"'
+ DEPENDS='core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot
+ local 'components=core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot'
+ '[' -n 'core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot' ]
+ local component conf_file TARGET DEPENDS
+ component=core/emulator
+ '[' -z ' bootstrap bootstrap/rootfs core ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/emulator
+ component=core/motd
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/motd/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/motd/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/motd/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/motd
+ component=core/hosts
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/hosts
+ component=core/hostname
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/hostname
+ component=core/mnt
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/mnt
+ component=core/net
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/net/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/net/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/net/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/net
+ component=core/timezone
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/timezone
+ component=core/su
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/su/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/su/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/su/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/su
+ component=core/locale
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/locale/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/locale/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/locale/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/locale
+ component=core/aid
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/aid/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/aid/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/aid/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/aid
+ component=core/profile
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/profile/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/profile/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/profile/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/profile
+ component=core/sudo
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/sudo
+ component=core/unchroot
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/unchroot
+ echo core
+ echo bootstrap
+ component=desktop
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/desktop/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/desktop/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/desktop/deploy.conf
+ eval 'DEPENDS="bootstrap' desktop/desktop-base 'desktop/${DESKTOP}"'
+ DEPENDS='bootstrap desktop/desktop-base desktop/lxde'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap desktop/desktop-base desktop/lxde
+ local 'components=bootstrap desktop/desktop-base desktop/lxde'
+ '[' -n 'bootstrap desktop/desktop-base desktop/lxde' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z  ]
+ continue
+ component=desktop/desktop-base
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.conf
+ eval 'DEPENDS="desktop"'
+ DEPENDS=desktop
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends desktop
+ local 'components=desktop'
+ '[' -n desktop ]
+ local component conf_file TARGET DEPENDS
+ component=desktop
+ '[' -z  ]
+ continue
+ echo desktop/desktop-base
+ component=desktop/lxde
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.conf
+ eval 'DEPENDS="desktop' 'desktop/dbus"'
+ DEPENDS='desktop desktop/dbus'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends desktop desktop/dbus
+ local 'components=desktop desktop/dbus'
+ '[' -n 'desktop desktop/dbus' ]
+ local component conf_file TARGET DEPENDS
+ component=desktop
+ '[' -z  ]
+ continue
+ component=desktop/dbus
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.conf
+ eval 'DEPENDS="extra"'
+ DEPENDS=extra
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends extra
+ local 'components=extra'
+ '[' -n extra ]
+ local component conf_file TARGET DEPENDS
+ component=extra
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/extra/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/extra/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/extra/deploy.conf
+ eval 'DEPENDS="bootstrap"'
+ DEPENDS=bootstrap
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap
+ local 'components=bootstrap'
+ '[' -n bootstrap ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z  ]
+ continue
+ echo extra
+ echo desktop/dbus
+ echo desktop/lxde
+ echo desktop
+ component=extra/pulse
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/extra/pulse/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/extra/pulse/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/extra/pulse/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap desktop/desktop-base desktop/lxde
+ local 'components=bootstrap desktop/desktop-base desktop/lxde'
+ '[' -n 'bootstrap desktop/desktop-base desktop/lxde' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z  ]
+ continue
+ component=desktop/desktop-base
+ '[' -z  ]
+ continue
+ component=desktop/lxde
+ '[' -z  ]
+ continue
+ echo extra/pulse
+ component=graphics
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse graphics '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/graphics/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/graphics/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/graphics/deploy.conf
+ eval 'DEPENDS="bootstrap' 'graphics/${GRAPHICS}"'
+ DEPENDS='bootstrap graphics/vnc'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap graphics/vnc
+ local 'components=bootstrap graphics/vnc'
+ '[' -n 'bootstrap graphics/vnc' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z  ]
+ continue
+ component=graphics/vnc
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse graphics ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse graphics graphics/vnc '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.conf
+ eval 'DEPENDS="graphics"'
+ DEPENDS=graphics
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends graphics
+ local 'components=graphics'
+ '[' -n graphics ]
+ local component conf_file TARGET DEPENDS
+ component=graphics
+ '[' -z  ]
+ continue
+ echo graphics/vnc
+ echo graphics
+ component=init
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse graphics graphics/vnc ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse graphics graphics/vnc init '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/init/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/init/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/init/deploy.conf
+ eval 'DEPENDS="init/${INIT}"'
+ DEPENDS=init/sysv
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends init/sysv
+ local 'components=init/sysv'
+ '[' -n init/sysv ]
+ local component conf_file TARGET DEPENDS
+ component=init/sysv
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse graphics graphics/vnc init ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse graphics graphics/vnc init init/sysv '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/init/sysv/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/init/sysv/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/init/sysv/deploy.conf
+ eval 'DEPENDS="init"'
+ DEPENDS=init
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends init
+ local 'components=init'
+ '[' -n init ]
+ local component conf_file TARGET DEPENDS
+ component=init
+ '[' -z  ]
+ continue
+ echo init/sysv
+ echo init
+ components='bootstrap/rootfs
core/emulator
core/motd
core/hosts
core/hostname
core/mnt
core/net
core/timezone
core/su
core/locale
core/aid
core/profile
core/sudo
core/unchroot
core
bootstrap
desktop/desktop-base
extra
desktop/dbus
desktop/lxde
desktop
extra/pulse
graphics/vnc
graphics
init/sysv
init'
+ '[' -n 'bootstrap/rootfs
core/emulator
core/motd
core/hosts
core/hostname
core/mnt
core/net
core/timezone
core/su
core/locale
core/aid
core/profile
core/sudo
core/unchroot
core
bootstrap
desktop/desktop-base
extra
desktop/dbus
desktop/lxde
desktop
extra/pulse
graphics/vnc
graphics
init/sysv
init' ]
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.conf
+ NAME=rootfs
+ DESC='Prepare and import RootFS'
+ PARAMS='SOURCE_PATH TARGET_PATH'
+ EXTENDS=bootstrap/rootfs
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.sh
+ '[' -n file ]
+ '[' -n ext4 ]
+ '[' -n 2000 ]
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.sh
+ '[' -n file ]
+ '[' -n ext4 ]
+ '[' -n 2000 ]
+ component_is_exclude bootstrap/rootfs
+ local 'component=bootstrap/rootfs'
+ '[' -n bootstrap/rootfs ]
+ return 1
+ '[' false '!=' true ]
+ params_check SOURCE_PATH TARGET_PATH
+ local 'params_list=SOURCE_PATH TARGET_PATH'
+ local key val params_lost
+ eval 'val=$SOURCE_PATH'
+ val=/mnt/sdcard2/p4a17.tgz
+ '[' -z /mnt/sdcard2/p4a17.tgz ]
+ eval 'val=$TARGET_PATH'
+ val=/mnt/sdcard3/linux.img
+ '[' -z /mnt/sdcard3/linux.img ]
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## bootstrap/rootfs : do_install && do_configure'
+ echo '## bootstrap/rootfs : do_install && do_configure'
## bootstrap/rootfs : do_install && do_configure
+ set +e
+ eval do_install '&&' do_configure
+ do_install
+ '[' /data/local/mnt '!=' /mnt/sdcard3/linux.img ]
+ container_mounted
+ '[' chroot '=' chroot ]
+ is_mounted /data/local/mnt
+ local 'mount_point=/data/local/mnt'
+ '[' -n /data/local/mnt ]
+ grep -q ' /data/local/mnt ' /proc/mounts
+ 
+ return 1
+ msg ':: Installing bootstrap/rootfs ... '
+ echo ':: Installing bootstrap/rootfs ... '
:: Installing bootstrap/rootfs ... 
+ rootfs_make
+ msg -n 'Checking installation path ... '
+ echo -n 'Checking installation path ... '
Checking installation path ... + '[' -e /mnt/sdcard3/linux.img -a '!' -f /mnt/sdcard3/linux.img ]
+ '[' -n /mnt/sdcard3 -a '!' -e /mnt/sdcard3 ]
+ msg 'done'
+ echo 'done'
done
+ '[' file '=' file ]
+ local 'file_size=0'
+ '[' -f /mnt/sdcard3/linux.img ]
+ '[' -z 2000 -o 2000 -le 0 ]
+ let 'file_size=0/1048576'
+ '[' 2000 '!=' 0 ]
+ msg -n 'Making new disk image (2000 MB) ... '
+ echo -n 'Making new disk image (2000 MB) ... '
Making new disk image (2000 MB) ... + expr 2000 - 1
+ dd 'if=/dev/zero' 'of=/mnt/sdcard3/linux.img' 'bs=1048576' 'seek=1999' 'count=1'
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ '[' file '=' file -o file '=' partition ]
+ msg -n 'Making file system (ext4) ... '
+ echo -n 'Making file system (ext4) ... '
Making file system (ext4) ... + grep -c /mnt/sdcard3/linux.img
+ losetup -a
+ local 'loop_exist=0'
+ grep -c /mnt/sdcard3/linux.img /proc/mounts
+ local 'img_mounted=0'
+ '[' 0 -ne 0 -o 0 -ne 0 ]
+ which mke2fs
+ local 'makefs=/data/data/ru.meefik.linuxdeploy/files/bin/mke2fs'
+ '[' -n /data/data/ru.meefik.linuxdeploy/files/bin/mke2fs ]
+ /data/data/ru.meefik.linuxdeploy/files/bin/mke2fs -V
+ makefs='/data/data/ru.meefik.linuxdeploy/files/bin/mke2fs -q -FFF -t ext4'
+ /data/data/ru.meefik.linuxdeploy/files/bin/mke2fs -q -FFF -t ext4 /mnt/sdcard3/linux.img
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ '[' file '=' directory ]
+ '[' file '=' ram ]
+ return 0
+ container_mount
+ '[' chroot '=' chroot ]
+ '[' 0 -eq 0 ]
+ container_mount root proc sys dev shm pts fd tty tun binfmt_misc
+ '[' chroot '=' chroot ]
+ '[' 10 -eq 0 ]
+ params_check TARGET_PATH
+ local 'params_list=TARGET_PATH'
+ local key val params_lost
+ eval 'val=$TARGET_PATH'
+ val=/mnt/sdcard3/linux.img
+ '[' -z /mnt/sdcard3/linux.img ]
+ '[' -n  ]
+ return 0
+ msg -n 'Checking file system ... '
+ echo -n 'Checking file system ... '
Checking file system ... + fs_check
+ is_mounted /data/local/mnt
+ local 'mount_point=/data/local/mnt'
+ '[' -n /data/local/mnt ]
+ grep -q ' /data/local/mnt ' /proc/mounts
+ 
+ return 1
+ which e2fsck
+ local 'checkfs=/data/data/ru.meefik.linuxdeploy/files/bin/e2fsck'
+ '[' -z /data/data/ru.meefik.linuxdeploy/files/bin/e2fsck ]
+ /data/data/ru.meefik.linuxdeploy/files/bin/e2fsck -p /mnt/sdcard3/linux.img
+ return 0
+ is_ok skip 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ msg 'Mounting the container: '
+ echo 'Mounting the container: '
Mounting the container: 
+ local item
+ mount_part root
+ msg -n '/ ... '
+ echo -n '/ ... '
/ ... + is_mounted /data/local/mnt
+ local 'mount_point=/data/local/mnt'
+ '[' -n /data/local/mnt ]
+ grep -q ' /data/local/mnt ' /proc/mounts
+ 
+ return 1
+ '[' -d /data/local/mnt ]
+ local mnt_opts
+ '[' -d /mnt/sdcard3/linux.img ]
+ mnt_opts=rw,relatime
+ mount -o rw,relatime /mnt/sdcard3/linux.img /data/local/mnt
+ mount -o remount,exec,suid,dev /data/local/mnt
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ mount_part proc
+ msg -n '/proc ... '
+ echo -n '/proc ... '
/proc ... + local 'target=/data/local/mnt/proc'
+ is_mounted /data/local/mnt/proc
+ local 'mount_point=/data/local/mnt/proc'
+ '[' -n /data/local/mnt/proc ]
+ grep -q ' /data/local/mnt/proc ' /proc/mounts
+ 
+ return 1
+ '[' -d /data/local/mnt/proc ]
+ mkdir -p /data/local/mnt/proc
+ mount -t proc proc /data/local/mnt/proc
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ mount_part sys
+ msg -n '/sys ... '
+ echo -n '/sys ... '
/sys ... + local 'target=/data/local/mnt/sys'
+ is_mounted /data/local/mnt/sys
+ local 'mount_point=/data/local/mnt/sys'
+ '[' -n /data/local/mnt/sys ]
+ grep -q ' /data/local/mnt/sys ' /proc/mounts
+ 
+ return 1
+ '[' -d /data/local/mnt/sys ]
+ mkdir -p /data/local/mnt/sys
+ mount -t sysfs sys /data/local/mnt/sys
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ mount_part dev
+ msg -n '/dev ... '
+ echo -n '/dev ... '
/dev ... + local 'target=/data/local/mnt/dev'
+ is_mounted /data/local/mnt/dev
+ local 'mount_point=/data/local/mnt/dev'
+ '[' -n /data/local/mnt/dev ]
+ grep -q ' /data/local/mnt/dev ' /proc/mounts
+ 
+ return 1
+ '[' -d /data/local/mnt/dev ]
+ mkdir -p /data/local/mnt/dev
+ mount -o bind /dev /data/local/mnt/dev
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ mount_part shm
+ msg -n '/dev/shm ... '
+ echo -n '/dev/shm ... '
/dev/shm ... + is_mounted /dev/shm
+ local 'mount_point=/dev/shm'
+ '[' -n /dev/shm ]
+ grep -q ' /dev/shm ' /proc/mounts
+ 
+ return 0
+ local 'target=/data/local/mnt/dev/shm'
+ is_mounted /data/local/mnt/dev/shm
+ local 'mount_point=/data/local/mnt/dev/shm'
+ '[' -n /data/local/mnt/dev/shm ]
+ grep -q ' /data/local/mnt/dev/shm ' /proc/mounts
+ 
+ return 1
+ mount -o bind /dev/shm /data/local/mnt/dev/shm
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ mount_part pts
+ msg -n '/dev/pts ... '
+ echo -n '/dev/pts ... '
/dev/pts ... + is_mounted /dev/pts
+ local 'mount_point=/dev/pts'
+ '[' -n /dev/pts ]
+ grep -q ' /dev/pts ' /proc/mounts
+ 
+ return 0
+ local 'target=/data/local/mnt/dev/pts'
+ is_mounted /data/local/mnt/dev/pts
+ local 'mount_point=/data/local/mnt/dev/pts'
+ '[' -n /data/local/mnt/dev/pts ]
+ grep -q ' /data/local/mnt/dev/pts ' /proc/mounts
+ 
+ return 1
+ mount -o bind /dev/pts /data/local/mnt/dev/pts
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ mount_part fd
+ '[' '!' -e /dev/fd -o '!' -e /dev/stdin -o '!' -e /dev/stdout -o '!' -e /dev/stderr ]
+ return 0
+ mount_part tty
+ '[' '!' -e /dev/tty0 ]
+ return 0
+ mount_part tun
+ '[' '!' -e /dev/net/tun ]
+ return 0
+ mount_part binfmt_misc
+ multiarch_support
+ '[' -d /proc/sys/fs/binfmt_misc ]
+ return 1
+ return 0
+ return 0
+ return 0
+ is_archive /mnt/sdcard2/p4a17.tgz
+ local 'src=/mnt/sdcard2/p4a17.tgz'
+ '[' -n /mnt/sdcard2/p4a17.tgz ]
+ '[' -z  -o -z /mnt/sdcard2/p4a17.tgz -o -z /mnt/sdcard2/p4a17.tgz ]
+ return 0
+ rootfs_import /mnt/sdcard2/p4a17.tgz
+ local 'rootfs_file=/mnt/sdcard2/p4a17.tgz'
+ '[' -n /mnt/sdcard2/p4a17.tgz ]
+ container_mounted
+ '[' chroot '=' chroot ]
+ is_mounted /data/local/mnt
+ local 'mount_point=/data/local/mnt'
+ '[' -n /data/local/mnt ]
+ grep -q ' /data/local/mnt ' /proc/mounts
+ 
+ return 0
+ msg -n 'Importing rootfs from tar.gz archive ... '
+ echo -n 'Importing rootfs from tar.gz archive ... '
Importing rootfs from tar.gz archive ... + '[' -e /mnt/sdcard2/p4a17.tgz ]
+ '[' -z /mnt/sdcard2/p4a17.tgz ]
+ msg fail
+ echo fail
fail
+ return 1
+ exit 1
+ is_ok
+ '[' 1 -eq 0 ]
+ '[' -n  ]
+ return 1
+ return 1
+ printf <<< deploy

<<< deploy
+ exit 0
Also, I deleted the old 4000 MB image, but the new "2000 MB" one is just 32.7 MB. Is that the way it's supposed to be?

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

It looks like you had better progress with your first attempt.
Reformat the SDcard for FAT32 and repeat what you did originally, only this time set the image size to 2000MB.

Make sure auto-start at boot is disabled (for now) and reboot your device before you try to deploy. I've seen issues where deployment fails and subsequent attempts will always fail because resources in use from the previous deployment aren't properly released.

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

It looks like you had better progress with your first attempt. Reformat the SDcard for FAT32 and repeat what you did originally, only this time set the image size to 2000MB.

Make sure auto-start at boot is disabled (for now) and reboot your device before you try to deploy. I've seen issues where deployment fails and subsequent attempts will always fail because resources in use from the previous deployment aren't properly released.

That got the job done, thank you very much!

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

Now I have a problem with Pi-hole itself, and its support redirected me back here. I have red "DNS service not running" on top and the error message "PHP error (2): fsockopen(): unable to connect to 127.0.0.1:4711 (Unknown error) in /var/www/html/admin/scripts/pi-hole/php/FTL.php:47 ". I have tried a few fixes: https://discourse.pi-hole.net/t/fixed-php-error-2-fsockopen-unable-to-connect-to-127-0-0-1-4711-connection-refused-in-var-www-html-admin-scripts-pi-hole-php-ftl-php-47/59325, https://www.reddit.com/r/HomeNetworking/comments/10odxwv/after_3_hours_i_fixed_php_error_2_fsockopen/ with no result. By the way, when I ssh into it it says "RTNETLINK answers: Invalid argument" but "pi-hole blocking enabled".
Here's the pihole log:

Edit: made log collapsible for easier navigation
*** [ INITIALIZING ]
[i] 2023-07-26:14:07:23 debug log has been initialized.
[i] System has been running for 0 days, 11 hours, 35 minutes

*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

*** [ DIAGNOSING ]: Core version
[i] Core: v5.13 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Remotes: origin	https://github.com/pi-hole/pi-hole.git (fetch)
             origin	https://github.com/pi-hole/pi-hole.git (push)
[i] Branch: master
[i] Commit: v5.13-0-g17779ba

*** [ DIAGNOSING ]: Web version
[i] Web: v5.16 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Remotes: origin	https://github.com/pi-hole/AdminLTE.git (fetch)
             origin	https://github.com/pi-hole/AdminLTE.git (push)
[i] Branch: master
[i] Commit: v5.16-0-gc2afe42

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v5.18.2
[i] Branch: master
[i] Commit: 6f69dd5

*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.54

*** [ DIAGNOSING ]: php version
[i] 7.4.30

*** [ DIAGNOSING ]: Operating system
[i] dig return code:  0
[i] dig response:  "Raspbian=10,11 Ubuntu=20,22,23 Debian=10,11,12 Fedora=36,37,38 CentOS=8,9"
[✓] Distro:  Centos
[✗] Version: 7
[✗] Error: Centos is supported but version 7 is currently unsupported (https://docs.pi-hole.net/main/prerequisites/)

*** [ DIAGNOSING ]: SELinux
[✓] Default SELinux: permissive
[✓] Current SELinux: Disabled

*** [ DIAGNOSING ]: FirewallD
[i] Firewalld service active
[✗]   Allow Service: http (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗]   Allow Service: dns (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗]   Allow Service: dhcp (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗]   Allow Service: dhcpv6 (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗] FTL Custom Zone Not Detected (https://docs.pi-hole.net/main/prerequisites/#firewalld)

*** [ DIAGNOSING ]: Processor
[✓] armv7l

*** [ DIAGNOSING ]: Disk usage
   Filesystem        Size  Used Avail Use% Mounted on
   /dev/block/loop0  2.0G  1.3G  603M  68% /
   tmpfs             314M   64K  314M   1% /dev
   tmpfs             314M  1.3M  312M   1% /dev/shm

*** [ DIAGNOSING ]: Network interfaces and addresses
   1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN group default 
       link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
       inet 127.0.0.1/8 scope host lo
       inet6 ::1/128 scope host 
          valid_lft forever preferred_lft forever
   2: rmnet0: <> mtu 1500 qdisc noop state DOWN group default qlen 1000
       link/[530] 
   3: rmnet1: <> mtu 1500 qdisc noop state DOWN group default qlen 1000
       link/[530] 
   4: rmnet2: <> mtu 1500 qdisc noop state DOWN group default qlen 1000
       link/[530] 
   5: rmnet3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
       link/ether 2e:f7:a0:76:98:cd brd ff:ff:ff:ff:ff:ff
   6: rmnet4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
       link/ether 1e:28:d8:e3:6b:bd brd ff:ff:ff:ff:ff:ff
   7: rmnet5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
       link/ether d6:1e:72:be:67:43 brd ff:ff:ff:ff:ff:ff
   8: rmnet6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
       link/ether 42:bb:2e:53:a8:c4 brd ff:ff:ff:ff:ff:ff
   9: rmnet7: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
       link/ether 0e:b8:52:79:32:bd brd ff:ff:ff:ff:ff:ff
   10: tunl0: <NOARP> mtu 1480 qdisc noop state DOWN group default 
       link/ipip 0.0.0.0 brd 0.0.0.0
   11: sit0: <NOARP> mtu 1480 qdisc noop state DOWN group default 
       link/sit 0.0.0.0 brd 0.0.0.0
   12: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN group default 
       link/tunnel6 :: brd ::
   13: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
       link/ether 0c:37:dc:d3:c5:03 brd ff:ff:ff:ff:ff:ff
       inet 192.168.1.44/24 brd 192.168.1.255 scope global eth0
       inet6 fe80::e37:dcff:fed3:c503/64 scope link 
          valid_lft forever preferred_lft forever

*** [ DIAGNOSING ]: Network routing table
   default via 192.168.1.1 dev eth0 
   default via 192.168.1.1 dev eth0 metric 213 
   192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.44 metric 213 
   192.168.1.1 dev eth0 scope link 

*** [ DIAGNOSING ]: Networking
[✗] No IPv4 address(es) found on the wlan0 interface.

[✗] No IPv6 address(es) found on the wlan0 interface.

[i] Default IPv4 gateway(s):
[i] Default IPv6 gateway(s):

*** [ DIAGNOSING ]: Ports in use
[✓] udp:*:53 is in use by pihole-FTL
[✓] udp:[::]:53 is in use by pihole-FTL
    udp:[::]:60006 is in use by d.wfdft:FTSserv
    udp:[::]:42230 is in use by d.wfdft:FTSserv
    udp:[::]:44832 is in use by d.wfdft:FTSserv
    udp:[::]:1900 is in use by d.wfdft:FTSserv
    udp:[::]:1900 is in use by d.wfdft:FTCserv
    udp:[::ffff:192.168.1.44]:8108 is in use by d.wfdft:FTCserv
    udp:[::]:40897 is in use by d.wfdft:FTSserv
    udp:[::]:36816 is in use by d.wfdft:FTSserv
    tcp:127.0.0.1:55555 is in use by mm-qcamera-daem
    tcp:127.0.0.1:55556 is in use by mm-qcamera-daem
[✓] tcp:[::1]:4711 is in use by pihole-FTL
[✓] tcp:127.0.0.1:4711 is in use by pihole-FTL
    tcp:[::ffff:192.168.1.44]:33003 is in use by d.wfdft:FTSserv
[✓] tcp:*:80 is in use by lighttpd
[✓] tcp:[::]:53 is in use by pihole-FTL
[✓] tcp:*:53 is in use by pihole-FTL
    tcp:[::1]:3350 is in use by xrdp-sesman
    tcp:[::]:22 is in use by dropbear
    tcp:*:22 is in use by dropbear
    tcp:[::ffff:192.168.1.44]:8058 is in use by d.wfdft:FTCserv
    tcp:[::]:3389 is in use by xrdp

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] owavalidation86.wixsite.com is 0.0.0.0 on lo (127.0.0.1)
[✓] owavalidation86.wixsite.com is 0.0.0.0 on eth0 (192.168.1.44)
[✓] doubleclick.com is 64.233.165.138 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[✓] inpost-pl-xz5512.tribesng.xyz is :: on lo (::1)
[✓] inpost-pl-xz5512.tribesng.xyz is :: on eth0 (fe80::e37:dcff:fed3:c503)
[✗] Failed to resolve doubleclick.com via a remote, public DNS server (2001:4860:4860::8888)

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   
   WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
   WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
   WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
   WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
   WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
   WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
   WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
   WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
   * Received 300 bytes from eth0:192.168.1.1
     Offered IP address: 192.168.1.44
     Server IP address: N/A
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      server-identifier: 192.168.1.1
      lease-time: 25200 ( 7h )
      renewal-time: 12600 ( 3h 30m )
      rebinding-time: 22050 ( 6h 7m 30s )
      netmask: 255.255.255.0
      router: 192.168.1.1
      dns-server: 192.168.1.44
      --- end of options ---
    
   DHCP packets received on interface tunl0: 0
   DHCP packets received on interface sit0: 0
   DHCP packets received on interface ip6tnl0: 0
   DHCP packets received on interface rmnet7: 0
   DHCP packets received on interface rmnet6: 0
   DHCP packets received on interface rmnet5: 0
   DHCP packets received on interface rmnet4: 0
   DHCP packets received on interface rmnet3: 0
   DHCP packets received on interface lo: 0
   DHCP packets received on interface eth0: 1

*** [ DIAGNOSING ]: Pi-hole processes
[✓] lighttpd daemon is active
[✓] pihole-FTL daemon is active

*** [ DIAGNOSING ]: Pi-hole-FTL full status
   

*** [ DIAGNOSING ]: Setup variables
    WEBUIBOXEDLAYOUT=boxed
    WEBTHEME=default-dark
    API_QUERY_LOG_SHOW=all
    API_PRIVACY_MODE=false
    IPV4_ADDRESS=10.73.0.49/24
    IPV6_ADDRESS=
    BLOCKING_ENABLED=true
    PIHOLE_INTERFACE=wlan0
    QUERY_LOGGING=true
    INSTALL_WEB_SERVER=true
    INSTALL_WEB_INTERFACE=true
    LIGHTTPD_ENABLED=false
    CACHE_SIZE=10000
    DNS_FQDN_REQUIRED=true
    DNS_BOGUS_PRIV=true
    DNSMASQ_LISTENING=all
    DNSSEC=false
    REV_SERVER=false
    PIHOLE_DNS_1=208.67.222.222
    PIHOLE_DNS_2=208.67.220.220
    PIHOLE_DNS_3=127.0.0.1#5335

*** [ DIAGNOSING ]: Dashboard headers
[✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!

*** [ DIAGNOSING ]: Pi-hole FTL Query Database
-rw-rw-r-- 1 pihole pihole 0 Jul 26 03:59 /etc/pihole/pihole-FTL.db

*** [ DIAGNOSING ]: Gravity Database
-rw-rw-r-- 1 pihole pihole 11M Oct 11  2022 /etc/pihole/gravity.db

*** [ DIAGNOSING ]: Info table
   property              value                                   
   --------------------  ----------------------------------------
   version               15                                      
   updated               1665452562                              
   gravity_count         152588                                  
   Last gravity run finished at: Tue Oct 11 05:42:42 +04 2022

   ----- First 10 Gravity Domains -----
   localhost.localdomain
   eu1.clevertap-prod.com
   wizhumpgyros.com
   coccyxwickimp.com
   webmail-who-int.000webhostapp.com
   010sec.com
   01mspmd5yalky8.com
   0byv9mgbn0.com
   ns6.0pendns.org
   dns.0pengl.com


*** [ DIAGNOSING ]: Groups
   id    enabled  name                                                date_added           date_modified        description                                       
   ----  -------  --------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   0           1  Default                                             2022-01-17 02:20:54  2022-01-17 02:20:54  The default group                                 

*** [ DIAGNOSING ]: Domainlist (0/1 = exact white-/blacklist, 2/3 = regex white-/blacklist)

*** [ DIAGNOSING ]: Clients

*** [ DIAGNOSING ]: Adlists
   id     enabled  group_ids     address                                                                                               date_added           date_modified        comment                                           
   -----  -------  ------------  ----------------------------------------------------------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   1            1  0             https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts                                      2022-01-17 02:20:54  2022-01-17 02:20:54  Migrated from /etc/pihole/adlists.list            

*** [ DIAGNOSING ]: contents of /etc/pihole

-rw-r--r-- 1 root root 44 Oct  6  2022 /etc/pihole/custom.list
   142.250.80.99 connectivitycheck.gstatic.com

-rw-r--r-- 1 root root 65 Oct 11  2022 /etc/pihole/local.list

-rw-r--r-- 1 root root 241 Sep  8  2022 /etc/pihole/logrotate
   /var/log/pihole/pihole.log {
   	su root root
   	daily
   	copytruncate
   	rotate 5
   	compress
   	delaycompress
   	notifempty
   	nomail
   }
   /var/log/pihole/FTL.log {
   	su root root
   	weekly
   	copytruncate
   	rotate 3
   	compress
   	delaycompress
   	notifempty
   	nomail
   }

-rw-rw-r-- 1 pihole root 146 Jul 26 03:06 /etc/pihole/pihole-FTL.conf
   PRIVACYLEVEL=0
   RATE_LIMIT=1000/60

*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d

-rw-r--r-- 1 root root 1.4K Jul 26 03:06 /etc/dnsmasq.d/01-pihole.conf
   addn-hosts=/etc/pihole/local.list
   addn-hosts=/etc/pihole/custom.list
   localise-queries
   no-resolv
   log-queries
   log-facility=/var/log/pihole/pihole.log
   log-async
   server=208.67.222.222
   server=208.67.220.220
   server=127.0.0.1#5335
   domain-needed
   expand-hosts
   bogus-priv
   except-interface=nonexisting

-rw-r--r-- 1 root root 2.2K Oct 11  2022 /etc/dnsmasq.d/06-rfc6761.conf
   server=/test/
   server=/localhost/
   server=/invalid/
   server=/bind/
   server=/onion/

*** [ DIAGNOSING ]: contents of /etc/lighttpd

-rw-r--r-- 1 root root 0 Oct 11  2022 /etc/lighttpd/external.conf

-rw-r--r-- 1 root root 5.6K Oct 11  2022 /etc/lighttpd/lighttpd.conf
   server.modules = (
       "mod_access",
       "mod_auth",
       "mod_expire",
       "mod_fastcgi",
       "mod_accesslog",
       "mod_redirect",
       "mod_setenv",
       "mod_rewrite"
   )
   server.document-root        = "/var/www/html"
   server.error-handler-404    = "/pihole/index.php"
   server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
   server.errorlog             = "/var/log/lighttpd/error-pihole.log"
   server.pid-file             = "/run/lighttpd.pid"
   server.username             = "lighttpd"
   server.groupname            = "lighttpd"
   server.port                 = 80
   accesslog.filename          = "/var/log/lighttpd/access-pihole.log"
   accesslog.format            = "%{%s}t|%V|%r|%s|%b"
   server.stream-response-body = 1
   index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
   url.access-deny             = ( "~", ".inc", ".md", ".yml", ".ini" )
   static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
   mimetype.assign = (
       ".ico"   => "image/x-icon",
       ".jpeg"  => "image/jpeg",
       ".jpg"   => "image/jpeg",
       ".png"   => "image/png",
       ".svg"   => "image/svg+xml",
       ".css"   => "text/css; charset=utf-8",
       ".html"  => "text/html; charset=utf-8",
       ".js"    => "text/javascript; charset=utf-8",
       ".json"  => "application/json; charset=utf-8",
       ".map"   => "application/json; charset=utf-8",
       ".txt"   => "text/plain; charset=utf-8",
       ".eot"   => "application/vnd.ms-fontobject",
       ".otf"   => "font/otf",
       ".ttc"   => "font/collection",
       ".ttf"   => "font/ttf",
       ".woff"  => "font/woff",
       ".woff2" => "font/woff2"
   )
   include_shell "cat external.conf 2>/dev/null"
   fastcgi.server = (
       ".php" => (
           "localhost" => (
               "socket" => "/tmp/php-fastcgi.socket",
               "bin-path" => "/usr/bin/php-cgi"
           )
       )
   )
   $HTTP["url"] =~ "^/admin/" {
       setenv.add-response-header = (
           "X-Pi-hole" => "The Pi-hole Web interface is working!",
           "X-Frame-Options" => "DENY",
           "X-XSS-Protection" => "1; mode=block",
           "X-Content-Type-Options" => "nosniff",
           "Content-Security-Policy" => "default-src 'self' 'unsafe-inline';",
           "X-Permitted-Cross-Domain-Policies" => "none",
           "Referrer-Policy" => "same-origin"
       )
   }
   $HTTP["url"] =~ "^/admin/\.(.*)" {
       url.access-deny = ("")
   }
   $HTTP["url"] =~ "/(teleporter|api_token)\.php$" {
       $HTTP["referer"] =~ "/admin/settings\.php" {
           setenv.add-response-header = ( "X-Frame-Options" => "SAMEORIGIN" )
       }
   }
   expire.url = ( "" => "access plus 0 seconds" )

*** [ DIAGNOSING ]: contents of /etc/cron.d

-rw-r--r-- 1 root root 1.7K Oct 11  2022 /etc/cron.d/pihole
   23 3   * * 7   root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updateGravity >/var/log/pihole/pihole_updateGravity.log || cat /var/log/pihole/pihole_updateGravity.log
   00 00   * * *   root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole flush once quiet
   @reboot root /usr/sbin/logrotate --state /var/lib/logrotate/pihole /etc/pihole/logrotate
   15 17  * * *   root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker remote
   @reboot root    PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker remote reboot

*** [ DIAGNOSING ]: contents of /var/log/lighttpd

-rw-r--r-- 1 lighttpd lighttpd 3.1K Jul 26 14:07 /var/log/lighttpd/error-pihole.log
   -----head of error-pihole.log------
   2023-07-26 03:51:36: (server.c.1521) server started (lighttpd/1.4.54) 
   2023-07-26 03:51:36: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-0 after connect failed: Connection refused 
   2023-07-26 03:51:36: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-1 after connect failed: Connection refused 
   2023-07-26 03:51:36: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-2 after connect failed: Connection refused 
   2023-07-26 03:51:36: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-3 after connect failed: Connection refused 
   2023-07-26 03:59:47: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 04:02:16: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 04:02:18: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 04:02:24: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:05:59: (server.c.1521) server started (lighttpd/1.4.54) 
   2023-07-26 14:05:59: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-0 after connect failed: Connection refused 
   2023-07-26 14:05:59: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-1 after connect failed: Connection refused 
   2023-07-26 14:05:59: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-2 after connect failed: Connection refused 
   2023-07-26 14:05:59: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-3 after connect failed: Connection refused 
   2023-07-26 14:06:11: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:06:16: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:06:21: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:06:23: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:06:29: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:07:10: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:07:15: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385

   -----tail of error-pihole.log------
   2023-07-26 03:51:36: (server.c.1521) server started (lighttpd/1.4.54) 
   2023-07-26 03:51:36: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-0 after connect failed: Connection refused 
   2023-07-26 03:51:36: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-1 after connect failed: Connection refused 
   2023-07-26 03:51:36: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-2 after connect failed: Connection refused 
   2023-07-26 03:51:36: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-3 after connect failed: Connection refused 
   2023-07-26 03:59:47: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 04:02:16: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 04:02:18: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 04:02:24: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:05:59: (server.c.1521) server started (lighttpd/1.4.54) 
   2023-07-26 14:05:59: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-0 after connect failed: Connection refused 
   2023-07-26 14:05:59: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-1 after connect failed: Connection refused 
   2023-07-26 14:05:59: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-2 after connect failed: Connection refused 
   2023-07-26 14:05:59: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-3 after connect failed: Connection refused 
   2023-07-26 14:06:11: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:06:16: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:06:21: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:06:23: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:06:29: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:07:10: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
   2023-07-26 14:07:15: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385

*** [ DIAGNOSING ]: contents of /var/log/pihole

-rw-r--r-- 1 pihole pihole 67K Jul 26 14:07 /var/log/pihole/FTL.log
   -----head of FTL.log------
   [2023-07-26 02:46:42.417 6511M] Using log file /var/log/pihole/FTL.log
   [2023-07-26 02:46:42.419 6511M] ########## FTL started on localhost! ##########
   [2023-07-26 02:46:42.419 6511M] FTL branch: master
   [2023-07-26 02:46:42.420 6511M] FTL version: v5.18.2
   [2023-07-26 02:46:42.421 6511M] FTL commit: 6f69dd5
   [2023-07-26 02:46:42.421 6511M] FTL date: 2022-10-10 21:56:15 +0100
   [2023-07-26 02:46:42.422 6511M] FTL user: root
   [2023-07-26 02:46:42.422 6511M] Compiled for armv7l (compiled locally) using cc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)
   [2023-07-26 02:46:42.425 6511M] Creating mutex
   [2023-07-26 02:46:42.426 6511M] Creating mutex
   [2023-07-26 02:46:42.462 6511M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
   [2023-07-26 02:46:42.463 6511M]    SOCKET_LISTENING: only local
   [2023-07-26 02:46:42.463 6511M]    AAAA_QUERY_ANALYSIS: Show AAAA queries
   [2023-07-26 02:46:42.464 6511M]    MAXDBDAYS: max age for stored queries is 365 days
   [2023-07-26 02:46:42.464 6511M]    RESOLVE_IPV6: Resolve IPv6 addresses
   [2023-07-26 02:46:42.464 6511M]    RESOLVE_IPV4: Resolve IPv4 addresses
   [2023-07-26 02:46:42.465 6511M]    DBINTERVAL: saving to DB file every minute
   [2023-07-26 02:46:42.465 6511M]    DBFILE: Using /etc/pihole/pihole-FTL.db
   [2023-07-26 02:46:42.465 6511M]    MAXLOGAGE: Importing up to 24.0 hours of log data
   [2023-07-26 02:46:42.466 6511M]    PRIVACYLEVEL: Set to 0
   [2023-07-26 02:46:42.467 6511M]    IGNORE_LOCALHOST: Show queries from localhost
   [2023-07-26 02:46:42.467 6511M]    BLOCKINGMODE: Null IPs for blocked domains
   [2023-07-26 02:46:42.467 6511M]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
   [2023-07-26 02:46:42.467 6511M]    DBIMPORT: Importing history from database
   [2023-07-26 02:46:42.468 6511M]    PIDFILE: Using /run/pihole-FTL.pid
   [2023-07-26 02:46:42.468 6511M]    SOCKETFILE: Using /run/pihole/FTL.sock
   [2023-07-26 02:46:42.468 6511M]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2023-07-26 02:46:42.468 6511M]    MACVENDORDB: Using /etc/pihole/macvendor.db
   [2023-07-26 02:46:42.469 6511M]    GRAVITYDB: Using /etc/pihole/gravity.db
   [2023-07-26 02:46:42.469 6511M]    PARSE_ARP_CACHE: Active
   [2023-07-26 02:46:42.469 6511M]    CNAME_DEEP_INSPECT: Active
   [2023-07-26 02:46:42.469 6511M]    DELAY_STARTUP: No delay requested.
   [2023-07-26 02:46:42.470 6511M]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
   [2023-07-26 02:46:42.470 6511M]    NICE: Set process niceness to -10 (default)
   [2023-07-26 02:46:42.470 6511M]    MAXNETAGE: Removing IP addresses and host names from network table after 365 days

   -----tail of FTL.log------
   [2023-07-26 14:06:01.050 21164/T21181] Blocking status is enabled
   [2023-07-26 14:07:00.089 21164/T21181] SQLite3 message: no such table: network_addresses in "DELETE FROM network_addresses WHERE lastSeen < 1658830020;" (1)
   [2023-07-26 14:07:00.089 21164/T21181] ERROR: SQL query "DELETE FROM network_addresses WHERE lastSeen < 1658830020;" failed: SQL logic error
   [2023-07-26 14:07:30.936 21164M] SQLite3 message: no such table: network in "SELECT aliasclient_id FROM network WHERE id = (SELECT network_id FROM network_addresses WHERE ip = ? AND aliasclient_id IS NOT NULL GROUP BY ip HAVING max(lastSeen));" (1)
   [2023-07-26 14:07:30.937 21164M] getAliasclientIDfromIP("127.0.0.1") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:30.938 21164M] SQLite3 message: no such table: network in "SELECT hwaddr FROM network WHERE id = (SELECT network_id FROM network_addresses WHERE ip = ? GROUP BY ip HAVING max(lastSeen));" (1)
   [2023-07-26 14:07:30.939 21164M] getMACfromIP("127.0.0.1") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:30.939 21164M] SQLite3 message: no such table: network_addresses in "SELECT name FROM network_addresses WHERE name IS NOT NULL AND ip = ?;" (1)
   [2023-07-26 14:07:30.940 21164M] getNameFromIP("127.0.0.1") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:30.940 21164M] SQLite3 message: no such table: network in "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" (1)
   [2023-07-26 14:07:30.941 21164M] getIfaceFromIP("127.0.0.1") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:31.077 21164M] SQLite3 message: no such table: network in "SELECT aliasclient_id FROM network WHERE id = (SELECT network_id FROM network_addresses WHERE ip = ? AND aliasclient_id IS NOT NULL GROUP BY ip HAVING max(lastSeen));" (1)
   [2023-07-26 14:07:31.077 21164M] getAliasclientIDfromIP("192.168.1.44") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:31.078 21164M] SQLite3 message: no such table: network in "SELECT hwaddr FROM network WHERE id = (SELECT network_id FROM network_addresses WHERE ip = ? GROUP BY ip HAVING max(lastSeen));" (1)
   [2023-07-26 14:07:31.079 21164M] getMACfromIP("192.168.1.44") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:31.080 21164M] SQLite3 message: no such table: network_addresses in "SELECT name FROM network_addresses WHERE name IS NOT NULL AND ip = ?;" (1)
   [2023-07-26 14:07:31.080 21164M] getNameFromIP("192.168.1.44") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:31.081 21164M] SQLite3 message: no such table: network in "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" (1)
   [2023-07-26 14:07:31.081 21164M] getIfaceFromIP("192.168.1.44") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:32.046 21164M] SQLite3 message: no such table: network in "SELECT aliasclient_id FROM network WHERE id = (SELECT network_id FROM network_addresses WHERE ip = ? AND aliasclient_id IS NOT NULL GROUP BY ip HAVING max(lastSeen));" (1)
   [2023-07-26 14:07:32.046 21164M] getAliasclientIDfromIP("::1") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:32.047 21164M] SQLite3 message: no such table: network in "SELECT hwaddr FROM network WHERE id = (SELECT network_id FROM network_addresses WHERE ip = ? GROUP BY ip HAVING max(lastSeen));" (1)
   [2023-07-26 14:07:32.048 21164M] getMACfromIP("::1") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:32.048 21164M] SQLite3 message: no such table: network_addresses in "SELECT name FROM network_addresses WHERE name IS NOT NULL AND ip = ?;" (1)
   [2023-07-26 14:07:32.049 21164M] getNameFromIP("::1") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:32.049 21164M] SQLite3 message: no such table: network in "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" (1)
   [2023-07-26 14:07:32.050 21164M] getIfaceFromIP("::1") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:32.133 21164M] SQLite3 message: no such table: network in "SELECT aliasclient_id FROM network WHERE id = (SELECT network_id FROM network_addresses WHERE ip = ? AND aliasclient_id IS NOT NULL GROUP BY ip HAVING max(lastSeen));" (1)
   [2023-07-26 14:07:32.133 21164M] getAliasclientIDfromIP("fe80::e37:dcff:fed3:c503") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:32.135 21164M] SQLite3 message: no such table: network in "SELECT hwaddr FROM network WHERE id = (SELECT network_id FROM network_addresses WHERE ip = ? GROUP BY ip HAVING max(lastSeen));" (1)
   [2023-07-26 14:07:32.135 21164M] getMACfromIP("fe80::e37:dcff:fed3:c503") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:32.136 21164M] SQLite3 message: no such table: network_addresses in "SELECT name FROM network_addresses WHERE name IS NOT NULL AND ip = ?;" (1)
   [2023-07-26 14:07:32.136 21164M] getNameFromIP("fe80::e37:dcff:fed3:c503") - SQL error prepare: SQL logic error
   [2023-07-26 14:07:32.137 21164M] SQLite3 message: no such table: network in "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" (1)
   [2023-07-26 14:07:32.137 21164M] getIfaceFromIP("fe80::e37:dcff:fed3:c503") - SQL error prepare: SQL logic error

*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 root root 324K Jul 26 14:06 /dev/shm/FTL-clients
-rw------- 1 root root 244 Jul 26 14:06 /dev/shm/FTL-counters
-rw------- 1 root root 4.0K Jul 26 14:06 /dev/shm/FTL-dns-cache
-rw------- 1 root root 20K Jul 26 14:06 /dev/shm/FTL-domains
-rw------- 1 root root 56 Jul 26 14:06 /dev/shm/FTL-lock
-rw------- 1 root root 12K Jul 26 14:06 /dev/shm/FTL-overTime
-rw------- 1 root root 4.0K Jul 26 14:06 /dev/shm/FTL-per-client-regex
-rw------- 1 root root 176K Jul 26 14:06 /dev/shm/FTL-queries
-rw------- 1 root root 12 Jul 26 14:06 /dev/shm/FTL-settings
-rw------- 1 root root 80K Jul 26 14:07 /dev/shm/FTL-strings
-rw------- 1 root root 604K Jul 26 14:06 /dev/shm/FTL-upstreams

*** [ DIAGNOSING ]: contents of /etc

-rw-r--r-- 1 root root 24 Oct 11  2022 /etc/dnsmasq.conf
   conf-dir=/etc/dnsmasq.d

-rw-r--r-- 1 root root 48 Jul 26 14:05 /etc/resolv.conf
   nameserver 192.168.1.1
   nameserver 115.168.254.2

*** [ DIAGNOSING ]: Pi-hole diagnosis messages

*** [ DIAGNOSING ]: Locale
    LANG=C

*** [ DIAGNOSING ]: Pi-hole log
-rw-r----- 1 pihole pihole 390K Jul 26 14:07 /var/log/pihole/pihole.log
   -----head of pihole.log------
   Jul 26 02:46:45 dnsmasq[6520]: started, version pi-hole-v2.87 cachesize 150
   Jul 26 02:46:45 dnsmasq[6520]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n IDN DHCP DHCPv6 Lua TFTP no-conntrack ipset no-nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
   Jul 26 02:46:45 dnsmasq[6520]: using nameserver 127.0.0.1#5335
   Jul 26 02:46:45 dnsmasq[6520]: using only locally-known addresses for onion
   Jul 26 02:46:45 dnsmasq[6520]: using only locally-known addresses for bind
   Jul 26 02:46:45 dnsmasq[6520]: using only locally-known addresses for invalid
   Jul 26 02:46:45 dnsmasq[6520]: using only locally-known addresses for localhost
   Jul 26 02:46:45 dnsmasq[6520]: using only locally-known addresses for test
   Jul 26 02:46:45 dnsmasq[6520]: read /etc/hosts - 2 addresses
   Jul 26 02:46:45 dnsmasq[6520]: read /etc/pihole/custom.list - 1 addresses
   Jul 26 02:46:45 dnsmasq[6520]: read /etc/pihole/local.list - 0 addresses
   Jul 26 02:52:55 dnsmasq[6520]: query[A] status.megafon.ru from 192.168.1.1
   Jul 26 02:52:55 dnsmasq[6520]: forwarded status.megafon.ru to 127.0.0.1#5335
   Jul 26 02:52:55 dnsmasq[6520]: query[A] status.megafon.ru from 192.168.1.1
   Jul 26 02:52:55 dnsmasq[6520]: query[PTR] 1.1.168.192.in-addr.arpa from 127.0.0.1
   Jul 26 02:52:56 dnsmasq[6520]: config 192.168.1.1 is NXDOMAIN
   Jul 26 02:52:56 dnsmasq[6520]: query[A] status.megafon.ru from 192.168.1.1
   Jul 26 02:55:49 dnsmasq[6520]: query[A] dns6-5e05a8149fbbc6d06d92ce2943a14cd7.dnstest6.top10vpn.com from 192.168.1.1
   Jul 26 02:55:49 dnsmasq[6520]: forwarded dns6-5e05a8149fbbc6d06d92ce2943a14cd7.dnstest6.top10vpn.com to 127.0.0.1#5335
   Jul 26 02:55:49 dnsmasq[6520]: query[A] dns6-5e05a8149fbbc6d06d92ce2943a14cd7.dnstest6.top10vpn.com from 192.168.1.1

   -----tail of pihole.log------
   Jul 26 14:06:00 dnsmasq[21164]: using only locally-known addresses for onion
   Jul 26 14:06:00 dnsmasq[21164]: using only locally-known addresses for bind
   Jul 26 14:06:00 dnsmasq[21164]: using only locally-known addresses for invalid
   Jul 26 14:06:00 dnsmasq[21164]: using only locally-known addresses for localhost
   Jul 26 14:06:00 dnsmasq[21164]: using only locally-known addresses for test
   Jul 26 14:06:00 dnsmasq[21164]: read /etc/hosts - 2 addresses
   Jul 26 14:06:00 dnsmasq[21164]: read /etc/pihole/custom.list - 1 addresses
   Jul 26 14:06:00 dnsmasq[21164]: read /etc/pihole/local.list - 0 addresses
   Jul 26 14:07:30 dnsmasq[21164]: query[A] owavalidation86.wixsite.com from 127.0.0.1
   Jul 26 14:07:30 dnsmasq[21164]: gravity blocked owavalidation86.wixsite.com is 0.0.0.0
   Jul 26 14:07:31 dnsmasq[21164]: query[A] owavalidation86.wixsite.com from 192.168.1.44
   Jul 26 14:07:31 dnsmasq[21164]: gravity blocked owavalidation86.wixsite.com is 0.0.0.0
   Jul 26 14:07:31 dnsmasq[21164]: query[PTR] 44.1.168.192.in-addr.arpa from 127.0.0.1
   Jul 26 14:07:31 dnsmasq[21164]: config 44.1.168.192.in-addr.arpa is <PTR>
   Jul 26 14:07:32 dnsmasq[21164]: query[AAAA] inpost-pl-xz5512.tribesng.xyz from ::1
   Jul 26 14:07:32 dnsmasq[21164]: gravity blocked inpost-pl-xz5512.tribesng.xyz is ::
   Jul 26 14:07:32 dnsmasq[21164]: query[AAAA] inpost-pl-xz5512.tribesng.xyz from fe80::e37:dcff:fed3:c503
   Jul 26 14:07:32 dnsmasq[21164]: gravity blocked inpost-pl-xz5512.tribesng.xyz is ::
   Jul 26 14:07:32 dnsmasq[21164]: query[PTR] 3.0.5.c.3.d.e.f.f.f.c.d.7.3.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa from 127.0.0.1
   Jul 26 14:07:32 dnsmasq[21164]: config 3.0.5.c.3.d.e.f.f.f.c.d.7.3.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa is <PTR>
Edit: and here's the log of the container's launch, maybe that would be useful.
Edit: made log collapsible for easier navigation
+ PATH=/data/data/ru.meefik.linuxdeploy/files/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
+ printf >>> start

>>> start
+ /data/data/ru.meefik.linuxdeploy/files/bin/linuxdeploy -d -t start -m
+ config_which linux
+ local 'conf_file=linux'
+ '[' -n linux ]
+ '[' -n linux ]
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/config/linux.conf
+ echo /data/data/ru.meefik.linuxdeploy/files/config/linux.conf
+ CONF_FILE=/data/data/ru.meefik.linuxdeploy/files/config/linux.conf
+ basename /data/data/ru.meefik.linuxdeploy/files/config/linux.conf .conf
+ PROFILE=linux
+ OPTLST=' '
+ params_read /data/data/ru.meefik.linuxdeploy/files/config/linux.conf
+ local 'conf_file=/data/data/ru.meefik.linuxdeploy/files/config/linux.conf'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/config/linux.conf ]
+ local item key val
+ read item
+ echo 'ARCH="armhf"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=ARCH
+ val='"armhf"'
+ '[' -n ARCH ]
+ eval 'ARCH="armhf"'
+ ARCH=armhf
+ '[' -n ' ' ]
+ OPTLST=' ARCH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'DESKTOP="lxde"'
+ key=DESKTOP
+ val='"lxde"'
+ '[' -n DESKTOP ]
+ eval 'DESKTOP="lxde"'
+ DESKTOP=lxde
+ '[' -n ' ARCH ' ]
+ OPTLST=' ARCH DESKTOP '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'DISK_SIZE="2000"'
+ key=DISK_SIZE
+ val='"2000"'
+ '[' -n DISK_SIZE ]
+ eval 'DISK_SIZE="2000"'
+ DISK_SIZE=2000
+ '[' -n ' ARCH DESKTOP ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE '
+ read item
+ + echogrep 'DISTRIB="rootfs"' -o
 '^[0-9A-Z_]\{1,32\}'
+ key=DISTRIB
+ val='"rootfs"'
+ '[' -n DISTRIB ]
+ eval 'DISTRIB="rootfs"'
+ DISTRIB=rootfs
+ '[' -n ' ARCH DESKTOP DISK_SIZE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'DNS=""'
+ key=DNS
+ val='""'
+ '[' -n DNS ]
+ eval 'DNS=""'
+ DNS=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'FB_ARGS="-dpi' 100 -sharevts 'vt0"'
+ key=FB_ARGS
+ val='"-dpi 100 -sharevts vt0"'
+ '[' -n FB_ARGS ]
+ eval 'FB_ARGS="-dpi 100 -sharevts vt0"'
+ FB_ARGS='-dpi 100 -sharevts vt0'
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS '
+ read item
+ echo 'FB_DEV="/dev/graphics/fb0"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=FB_DEV
+ val='"/dev/graphics/fb0"'
+ '[' -n FB_DEV ]
+ eval 'FB_DEV="/dev/graphics/fb0"'
+ FB_DEV=/dev/graphics/fb0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV '
+ read item
+ echo 'FB_DISPLAY="0"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=FB_DISPLAY
+ val='"0"'
+ '[' -n FB_DISPLAY ]
+ eval 'FB_DISPLAY="0"'
+ FB_DISPLAY=0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY '
+ read item
+ echo 'FB_FREEZE="none"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=FB_FREEZE
+ val='"none"'
+ '[' -n FB_FREEZE ]
+ eval 'FB_FREEZE="none"'
+ FB_FREEZE=none
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'FB_INPUT="/dev/input/event0"'
+ key=FB_INPUT
+ val='"/dev/input/event0"'
+ '[' -n FB_INPUT ]
+ eval 'FB_INPUT="/dev/input/event0"'
+ FB_INPUT=/dev/input/event0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT '
+ read item
+ echo 'FB_REFRESH="true"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=FB_REFRESH
+ val='"true"'
+ '[' -n FB_REFRESH ]
+ eval 'FB_REFRESH="true"'
+ FB_REFRESH=true
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'FS_TYPE="ext4"'
+ key=FS_TYPE
+ val='"ext4"'
+ '[' -n FS_TYPE ]
+ eval 'FS_TYPE="ext4"'
+ FS_TYPE=ext4
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'GRAPHICS="vnc"'
+ key=GRAPHICS
+ val='"vnc"'
+ '[' -n GRAPHICS ]
+ eval 'GRAPHICS="vnc"'
+ GRAPHICS=vnc
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS '
+ read item
+ echo 'INCLUDE="bootstrap' desktop extra/pulse extra/ssh graphics 'init"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INCLUDE
+ val='"bootstrap desktop extra/pulse extra/ssh graphics init"'
+ '[' -n INCLUDE ]
+ eval 'INCLUDE="bootstrap desktop extra/pulse extra/ssh graphics init"'
+ INCLUDE='bootstrap desktop extra/pulse extra/ssh graphics init'
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE '
+ read item
+ echo 'INIT="sysv"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INIT
+ val='"sysv"'
+ '[' -n INIT ]
+ eval 'INIT="sysv"'
+ INIT=sysv
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT '
+ read item
+ echo 'INIT_ASYNC="false"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INIT_ASYNC
+ val='"false"'
+ '[' -n INIT_ASYNC ]
+ eval 'INIT_ASYNC="false"'
+ INIT_ASYNC=false
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'INIT_LEVEL="3"'
+ key=INIT_LEVEL
+ val='"3"'
+ '[' -n INIT_LEVEL ]
+ eval 'INIT_LEVEL="3"'
+ INIT_LEVEL=3
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL '
+ read item
+ echo 'INIT_PATH="/etc/rc.local"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INIT_PATH
+ val='"/etc/rc.local"'
+ '[' -n INIT_PATH ]
+ eval 'INIT_PATH="/etc/rc.local"'
+ INIT_PATH=/etc/rc.local
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH '
+ read item
+ echo 'INIT_USER="root"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INIT_USER
+ val='"root"'
+ '[' -n INIT_USER ]
+ eval 'INIT_USER="root"'
+ INIT_USER=root
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER '
+ read item
+ echo 'LOCALE="C"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=LOCALE
+ val='"C"'
+ '[' -n LOCALE ]
+ eval 'LOCALE="C"'
+ LOCALE=C
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE '
+ read item
+ echo 'MOUNTS=""'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=MOUNTS
+ val='""'
+ '[' -n MOUNTS ]
+ eval 'MOUNTS=""'
+ MOUNTS=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'NET_TRIGGER=""'
+ key=NET_TRIGGER
+ val='""'
+ '[' -n NET_TRIGGER ]
+ eval 'NET_TRIGGER=""'
+ NET_TRIGGER=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER '
+ read item
+ echo 'POWER_TRIGGER=""'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=POWER_TRIGGER
+ val='""'
+ '[' -n POWER_TRIGGER ]
+ eval 'POWER_TRIGGER=""'
+ POWER_TRIGGER=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER '
+ read item
+ echo 'PRIVILEGED_USERS="android"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=PRIVILEGED_USERS
+ val='"android"'
+ '[' -n PRIVILEGED_USERS ]
+ eval 'PRIVILEGED_USERS="android"'
+ PRIVILEGED_USERS=android
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'PULSE_HOST="127.0.0.1"'
+ key=PULSE_HOST
+ val='"127.0.0.1"'
+ '[' -n PULSE_HOST ]
+ eval 'PULSE_HOST="127.0.0.1"'
+ PULSE_HOST=127.0.0.1
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST '
+ read item
+ echo 'PULSE_PORT="4712"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=PULSE_PORT
+ val='"4712"'
+ '[' -n PULSE_PORT ]
+ eval 'PULSE_PORT="4712"'
+ PULSE_PORT=4712
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'SOURCE_PATH="/mnt/sdcard2/p4a17.tgz"'
+ key=SOURCE_PATH
+ val='"/mnt/sdcard2/p4a17.tgz"'
+ '[' -n SOURCE_PATH ]
+ eval 'SOURCE_PATH="/mnt/sdcard2/p4a17.tgz"'
+ SOURCE_PATH=/mnt/sdcard2/p4a17.tgz
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'SSH_ARGS=""'
+ key=SSH_ARGS
+ val='""'
+ '[' -n SSH_ARGS ]
+ eval 'SSH_ARGS=""'
+ SSH_ARGS=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'SSH_PORT="22"'
+ key=SSH_PORT
+ val='"22"'
+ '[' -n SSH_PORT ]
+ eval 'SSH_PORT="22"'
+ SSH_PORT=22
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'SUITE="buster"'
+ key=SUITE
+ val='"buster"'
+ '[' -n SUITE ]
+ eval 'SUITE="buster"'
+ SUITE=buster
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'TARGET_PATH="/mnt/sdcard2/linux.img"'
+ key=TARGET_PATH
+ val='"/mnt/sdcard2/linux.img"'
+ '[' -n TARGET_PATH ]
+ eval 'TARGET_PATH="/mnt/sdcard2/linux.img"'
+ TARGET_PATH=/mnt/sdcard2/linux.img
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'TARGET_TYPE="file"'
+ key=TARGET_TYPE
+ val='"file"'
+ '[' -n TARGET_TYPE ]
+ eval 'TARGET_TYPE="file"'
+ TARGET_TYPE=file
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'USER_NAME="android"'
+ key=USER_NAME
+ val='"android"'
+ '[' -n USER_NAME ]
+ eval 'USER_NAME="android"'
+ USER_NAME=android
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'USER_PASSWORD="12345"'
+ key=USER_PASSWORD
+ val='"12345"'
+ '[' -n USER_PASSWORD ]
+ eval 'USER_PASSWORD="12345"'
+ USER_PASSWORD=12345
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'VNC_ARGS=""'
+ key=VNC_ARGS
+ val='""'
+ '[' -n VNC_ARGS ]
+ eval 'VNC_ARGS=""'
+ VNC_ARGS=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS '
+ read item
+ echo 'VNC_DEPTH="16"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=VNC_DEPTH
+ val='"16"'
+ '[' -n VNC_DEPTH ]
+ eval 'VNC_DEPTH="16"'
+ VNC_DEPTH=16
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'VNC_DISPLAY="0"'
+ key=VNC_DISPLAY
+ val='"0"'
+ '[' -n VNC_DISPLAY ]
+ eval 'VNC_DISPLAY="0"'
+ VNC_DISPLAY=0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'VNC_DPI="75"'
+ key=VNC_DPI
+ val='"75"'
+ '[' -n VNC_DPI ]
+ eval 'VNC_DPI="75"'
+ VNC_DPI=75
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI '
+ read item
+ echo 'VNC_HEIGHT="540"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=VNC_HEIGHT
+ val='"540"'
+ '[' -n VNC_HEIGHT ]
+ eval 'VNC_HEIGHT="540"'
+ VNC_HEIGHT=540
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'VNC_WIDTH="960"'
+ key=VNC_WIDTH
+ val='"960"'
+ '[' -n VNC_WIDTH ]
+ eval 'VNC_WIDTH="960"'
+ VNC_WIDTH=960
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'X11_DISPLAY="0"'
+ key=X11_DISPLAY
+ val='"0"'
+ '[' -n X11_DISPLAY ]
+ eval 'X11_DISPLAY="0"'
+ X11_DISPLAY=0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'X11_HOST="127.0.0.1"'
+ key=X11_HOST
+ val='"127.0.0.1"'
+ '[' -n X11_HOST ]
+ eval 'X11_HOST="127.0.0.1"'
+ X11_HOST=127.0.0.1
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'X11_SDL="false"'
+ key=X11_SDL
+ val='"false"'
+ '[' -n X11_SDL ]
+ eval 'X11_SDL="false"'
+ X11_SDL=false
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST X11_SDL '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'X11_SDL_DELAY="15"'
+ key=X11_SDL_DELAY
+ val='"15"'
+ '[' -n X11_SDL_DELAY ]
+ eval 'X11_SDL_DELAY="15"'
+ X11_SDL_DELAY=15
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST X11_SDL ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE MOUNTS NET_TRIGGER POWER_TRIGGER PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST X11_SDL X11_SDL_DELAY '
+ read item
+ WITHOUT_CHECK=false
+ WITHOUT_DEPENDS=false
+ REVERSE_DEPENDS=false
+ EXCLUDE_COMPONENTS=
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/config ]
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include ]
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/tmp ]
+ '[' -d /data/local/mnt ]
+ OPTCMD=start
+ shift
+ OPTIND=1
+ getopts :m FLAG
+ mount_flag=true
+ getopts :m FLAG
+ shift 1
+ '[' true '=' true ]
+ container_mount
+ '[' chroot '=' chroot ]
+ '[' 0 -eq 0 ]
+ container_mount root proc sys dev shm pts fd tty tun binfmt_misc
+ '[' chroot '=' chroot ]
+ '[' 10 -eq 0 ]
+ params_check TARGET_PATH
+ local 'params_list=TARGET_PATH'
+ local key val params_lost
+ eval 'val=$TARGET_PATH'
+ val=/mnt/sdcard2/linux.img
+ '[' -z /mnt/sdcard2/linux.img ]
+ '[' -n  ]
+ return 0
+ msg -n 'Checking file system ... '
+ echo -n 'Checking file system ... '
Checking file system ... + fs_check
+ is_mounted /data/local/mnt
+ local 'mount_point=/data/local/mnt'
+ '[' -n /data/local/mnt ]
+ grep -q ' /data/local/mnt ' /proc/mounts
+ 
+ return 1
+ which e2fsck
+ local 'checkfs=/data/data/ru.meefik.linuxdeploy/files/bin/e2fsck'
+ '[' -z /data/data/ru.meefik.linuxdeploy/files/bin/e2fsck ]
+ /data/data/ru.meefik.linuxdeploy/files/bin/e2fsck -p /mnt/sdcard2/linux.img
+ return 0
+ is_ok skip 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ msg 'Mounting the container: '
+ echo 'Mounting the container: '
Mounting the container: 
+ local item
+ mount_part root
+ msg -n '/ ... '
+ echo -n '/ ... '
/ ... + is_mounted /data/local/mnt
+ local 'mount_point=/data/local/mnt'
+ '[' -n /data/local/mnt ]
+ grep -q ' /data/local/mnt ' /proc/mounts
+ 
+ return 1
+ '[' -d /data/local/mnt ]
+ local mnt_opts
+ '[' -d /mnt/sdcard2/linux.img ]
+ mnt_opts=rw,relatime
+ mount -o rw,relatime /mnt/sdcard2/linux.img /data/local/mnt
+ mount -o remount,exec,suid,dev /data/local/mnt
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ mount_part proc
+ msg -n '/proc ... '
+ echo -n '/proc ... '
/proc ... + local 'target=/data/local/mnt/proc'
+ is_mounted /data/local/mnt/proc
+ local 'mount_point=/data/local/mnt/proc'
+ '[' -n /data/local/mnt/proc ]
+ grep -q ' /data/local/mnt/proc ' /proc/mounts
+ 
+ return 1
+ '[' -d /data/local/mnt/proc ]
+ mount -t proc proc /data/local/mnt/proc
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ mount_part sys
+ msg -n '/sys ... '
+ echo -n '/sys ... '
/sys ... + local 'target=/data/local/mnt/sys'
+ is_mounted /data/local/mnt/sys
+ local 'mount_point=/data/local/mnt/sys'
+ '[' -n /data/local/mnt/sys ]
+ grep -q ' /data/local/mnt/sys ' /proc/mounts
+ 
+ return 1
+ '[' -d /data/local/mnt/sys ]
+ mount -t sysfs sys /data/local/mnt/sys
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ mount_part dev
+ msg -n '/dev ... '
+ echo -n '/dev ... '
/dev ... + local 'target=/data/local/mnt/dev'
+ is_mounted /data/local/mnt/dev
+ local 'mount_point=/data/local/mnt/dev'
+ '[' -n /data/local/mnt/dev ]
+ grep -q ' /data/local/mnt/dev ' /proc/mounts
+ 
+ return 1
+ '[' -d /data/local/mnt/dev ]
+ mount -o bind /dev /data/local/mnt/dev
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ mount_part shm
+ msg -n '/dev/shm ... '
+ echo -n '/dev/shm ... '
/dev/shm ... + is_mounted /dev/shm
+ local 'mount_point=/dev/shm'
+ '[' -n /dev/shm ]
+ grep -q ' /dev/shm ' /proc/mounts
+ 
+ return 0
+ local 'target=/data/local/mnt/dev/shm'
+ is_mounted /data/local/mnt/dev/shm
+ local 'mount_point=/data/local/mnt/dev/shm'
+ '[' -n /data/local/mnt/dev/shm ]
+ grep -q ' /data/local/mnt/dev/shm ' /proc/mounts
+ 
+ return 1
+ mount -o bind /dev/shm /data/local/mnt/dev/shm
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ mount_part pts
+ msg -n '/dev/pts ... '
+ echo -n '/dev/pts ... '
/dev/pts ... + is_mounted /dev/pts
+ local 'mount_point=/dev/pts'
+ '[' -n /dev/pts ]
+ grep -q ' /dev/pts ' /proc/mounts
+ 
+ return 0
+ local 'target=/data/local/mnt/dev/pts'
+ is_mounted /data/local/mnt/dev/pts
+ local 'mount_point=/data/local/mnt/dev/pts'
+ '[' -n /data/local/mnt/dev/pts ]
+ grep -q ' /data/local/mnt/dev/pts ' /proc/mounts
+ 
+ return 1
+ mount -o bind /dev/pts /data/local/mnt/dev/pts
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ mount_part fd
+ '[' '!' -e /dev/fd -o '!' -e /dev/stdin -o '!' -e /dev/stdout -o '!' -e /dev/stderr ]
+ return 0
+ mount_part tty
+ '[' '!' -e /dev/tty0 ]
+ return 0
+ mount_part tun
+ '[' '!' -e /dev/net/tun ]
+ return 0
+ mount_part binfmt_misc
+ multiarch_support
+ '[' -d /proc/sys/fs/binfmt_misc ]
+ return 1
+ return 0
+ return 0
+ return 0
+ container_start
+ container_mounted
+ '[' chroot '=' chroot ]
+ is_mounted /data/local/mnt
+ local 'mount_point=/data/local/mnt'
+ '[' -n /data/local/mnt ]
+ grep -q ' /data/local/mnt ' /proc/mounts
+ 
+ return 0
+ DO_ACTION=do_start
+ '[' 0 -gt 0 ]
+ component_exec 'bootstrap desktop extra/pulse extra/ssh graphics init'
+ local 'components=bootstrap desktop extra/pulse extra/ssh graphics init'
+ '[' false '!=' true ]
+ IGNORE_DEPENDS=' ' component_depends bootstrap desktop extra/pulse extra/ssh graphics init
+ local 'components=bootstrap desktop extra/pulse extra/ssh graphics init'
+ '[' -n 'bootstrap desktop extra/pulse extra/ssh graphics init' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z ' ' ]
+ IGNORE_DEPENDS=' bootstrap '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.conf
+ eval 'DEPENDS="bootstrap/rootfs' 'bootstrap/${DISTRIB}' 'core"'
+ DEPENDS='bootstrap/rootfs bootstrap/rootfs core'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap/rootfs bootstrap/rootfs core
+ local 'components=bootstrap/rootfs bootstrap/rootfs core'
+ '[' -n 'bootstrap/rootfs bootstrap/rootfs core' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap/rootfs
+ '[' -z ' bootstrap ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo bootstrap/rootfs
+ component=bootstrap/rootfs
+ '[' -z  ]
+ continue
+ component=core
+ '[' -z ' bootstrap bootstrap/rootfs ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/deploy.conf
+ eval 'DEPENDS="core/emulator' core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo 'core/unchroot"'
+ DEPENDS='core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot
+ local 'components=core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot'
+ '[' -n 'core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot' ]
+ local component conf_file TARGET DEPENDS
+ component=core/emulator
+ '[' -z ' bootstrap bootstrap/rootfs core ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/emulator
+ component=core/motd
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/motd/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/motd/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/motd/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/motd
+ component=core/hosts
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/hosts
+ component=core/hostname
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/hostname
+ component=core/mnt
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/mnt
+ component=core/net
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/net/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/net/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/net/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/net
+ component=core/timezone
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/timezone
+ component=core/su
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/su/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/su/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/su/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/su
+ component=core/locale
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/locale/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/locale/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/locale/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/locale
+ component=core/aid
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/aid/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/aid/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/aid/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/aid
+ component=core/profile
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/profile/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/profile/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/profile/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/profile
+ component=core/sudo
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/sudo
+ component=core/unchroot
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n  ]
+ return 0
+ echo core/unchroot
+ echo core
+ echo bootstrap
+ component=desktop
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/desktop/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/desktop/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/desktop/deploy.conf
+ eval 'DEPENDS="bootstrap' desktop/desktop-base 'desktop/${DESKTOP}"'
+ DEPENDS='bootstrap desktop/desktop-base desktop/lxde'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap desktop/desktop-base desktop/lxde
+ local 'components=bootstrap desktop/desktop-base desktop/lxde'
+ '[' -n 'bootstrap desktop/desktop-base desktop/lxde' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z  ]
+ continue
+ component=desktop/desktop-base
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.conf
+ eval 'DEPENDS="desktop"'
+ DEPENDS=desktop
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends desktop
+ local 'components=desktop'
+ '[' -n desktop ]
+ local component conf_file TARGET DEPENDS
+ component=desktop
+ '[' -z  ]
+ continue
+ echo desktop/desktop-base
+ component=desktop/lxde
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.conf
+ eval 'DEPENDS="desktop' 'desktop/dbus"'
+ DEPENDS='desktop desktop/dbus'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends desktop desktop/dbus
+ local 'components=desktop desktop/dbus'
+ '[' -n 'desktop desktop/dbus' ]
+ local component conf_file TARGET DEPENDS
+ component=desktop
+ '[' -z  ]
+ continue
+ component=desktop/dbus
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.conf
+ eval 'DEPENDS="extra"'
+ DEPENDS=extra
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends extra
+ local 'components=extra'
+ '[' -n extra ]
+ local component conf_file TARGET DEPENDS
+ component=extra
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/extra/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/extra/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/extra/deploy.conf
+ eval 'DEPENDS="bootstrap"'
+ DEPENDS=bootstrap
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap
+ local 'components=bootstrap'
+ '[' -n bootstrap ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z  ]
+ continue
+ echo extra
+ echo desktop/dbus
+ echo desktop/lxde
+ echo desktop
+ component=extra/pulse
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/extra/pulse/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/extra/pulse/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/extra/pulse/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap desktop/desktop-base desktop/lxde
+ local 'components=bootstrap desktop/desktop-base desktop/lxde'
+ '[' -n 'bootstrap desktop/desktop-base desktop/lxde' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z  ]
+ continue
+ component=desktop/desktop-base
+ '[' -z  ]
+ continue
+ component=desktop/lxde
+ '[' -z  ]
+ continue
+ echo extra/pulse
+ component=extra/ssh
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse extra/ssh '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/extra/ssh/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/extra/ssh/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/extra/ssh/deploy.conf
+ eval 'DEPENDS="extra"'
+ DEPENDS=extra
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends extra
+ local 'components=extra'
+ '[' -n extra ]
+ local component conf_file TARGET DEPENDS
+ component=extra
+ '[' -z  ]
+ continue
+ echo extra/ssh
+ component=graphics
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse extra/ssh ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse extra/ssh graphics '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/graphics/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/graphics/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/graphics/deploy.conf
+ eval 'DEPENDS="bootstrap' 'graphics/${GRAPHICS}"'
+ DEPENDS='bootstrap graphics/vnc'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap graphics/vnc
+ local 'components=bootstrap graphics/vnc'
+ '[' -n 'bootstrap graphics/vnc' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z  ]
+ continue
+ component=graphics/vnc
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse extra/ssh graphics ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse extra/ssh graphics graphics/vnc '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.conf
+ eval 'DEPENDS="graphics"'
+ DEPENDS=graphics
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends graphics
+ local 'components=graphics'
+ '[' -n graphics ]
+ local component conf_file TARGET DEPENDS
+ component=graphics
+ '[' -z  ]
+ continue
+ echo graphics/vnc
+ echo graphics
+ component=init
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse extra/ssh graphics graphics/vnc ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse extra/ssh graphics graphics/vnc init '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/init/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/init/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/init/deploy.conf
+ eval 'DEPENDS="init/${INIT}"'
+ DEPENDS=init/sysv
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends init/sysv
+ local 'components=init/sysv'
+ '[' -n init/sysv ]
+ local component conf_file TARGET DEPENDS
+ component=init/sysv
+ '[' -z ' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse extra/ssh graphics graphics/vnc init ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/pulse extra/ssh graphics graphics/vnc init init/sysv '
+ conf_file=/data/data/ru.meefik.linuxdeploy/files/include/init/sysv/deploy.conf
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/init/sysv/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/data/ru.meefik.linuxdeploy/files/include/init/sysv/deploy.conf
+ eval 'DEPENDS="init"'
+ DEPENDS=init
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n  ]
+ return 0
+ '[' false '=' true ]
+ component_depends init
+ local 'components=init'
+ '[' -n init ]
+ local component conf_file TARGET DEPENDS
+ component=init
+ '[' -z  ]
+ continue
+ echo init/sysv
+ echo init
+ components='bootstrap/rootfs
core/emulator
core/motd
core/hosts
core/hostname
core/mnt
core/net
core/timezone
core/su
core/locale
core/aid
core/profile
core/sudo
core/unchroot
core
bootstrap
desktop/desktop-base
extra
desktop/dbus
desktop/lxde
desktop
extra/pulse
extra/ssh
graphics/vnc
graphics
init/sysv
init'
+ '[' -n 'bootstrap/rootfs
core/emulator
core/motd
core/hosts
core/hostname
core/mnt
core/net
core/timezone
core/su
core/locale
core/aid
core/profile
core/sudo
core/unchroot
core
bootstrap
desktop/desktop-base
extra
desktop/dbus
desktop/lxde
desktop
extra/pulse
extra/ssh
graphics/vnc
graphics
init/sysv
init' ]
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.conf
+ NAME=rootfs
+ DESC='Prepare and import RootFS'
+ PARAMS='SOURCE_PATH TARGET_PATH'
+ EXTENDS=bootstrap/rootfs
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.sh
+ '[' -n file ]
+ '[' -n ext4 ]
+ '[' -n 2000 ]
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.sh
+ '[' -n file ]
+ '[' -n ext4 ]
+ '[' -n 2000 ]
+ component_is_exclude bootstrap/rootfs
+ local 'component=bootstrap/rootfs'
+ '[' -n bootstrap/rootfs ]
+ return 1
+ '[' false '!=' true ]
+ params_check SOURCE_PATH TARGET_PATH
+ local 'params_list=SOURCE_PATH TARGET_PATH'
+ local key val params_lost
+ eval 'val=$SOURCE_PATH'
+ val=/mnt/sdcard2/p4a17.tgz
+ '[' -z /mnt/sdcard2/p4a17.tgz ]
+ eval 'val=$TARGET_PATH'
+ val=/mnt/sdcard2/linux.img
+ '[' -z /mnt/sdcard2/linux.img ]
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## bootstrap/rootfs : do_start'
+ echo '## bootstrap/rootfs : do_start'
## bootstrap/rootfs : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/emulator
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/emulator ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.conf
+ NAME=emulator
+ DESC='CPU emulation'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.sh
+ '[' -n  ]
+ get_qemu armhf
+ local 'arch=armhf'
+ local 'qemu='
+ get_platform
+ local 'arch='
+ '[' -z  ]
+ uname -m
+ arch=armv7l
+ echo arm
+ local 'host_platform=arm'
+ get_platform armhf
+ local 'arch=armhf'
+ '[' -z armhf ]
+ echo arm
+ local 'guest_platform=arm'
+ '[' arm '!=' arm ]
+ echo
+ EMULATOR=
+ component_is_exclude core/emulator
+ local 'component=core/emulator'
+ '[' -n core/emulator ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/emulator : do_start'
+ echo '## core/emulator : do_start'
## core/emulator : do_start
+ set +e
+ eval do_start
+ do_start
+ '[' -n  -a chroot '=' chroot ]
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/motd
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/motd ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/motd/deploy.conf
+ NAME=motd
+ DESC='Message after a successful login'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/motd/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/motd/deploy.sh
+ component_is_exclude core/motd
+ local 'component=core/motd'
+ '[' -n core/motd ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/motd : do_start'
+ echo '## core/motd : do_start'
## core/motd : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/hosts
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/hosts ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.conf
+ NAME=hosts
+ DESC='Hosts file'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.sh
+ component_is_exclude core/hosts
+ local 'component=core/hosts'
+ '[' -n core/hosts ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/hosts : do_start'
+ echo '## core/hosts : do_start'
## core/hosts : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/hostname
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/hostname ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.conf
+ NAME=hostname
+ DESC=Hostname
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.sh
+ component_is_exclude core/hostname
+ local 'component=core/hostname'
+ '[' -n core/hostname ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/hostname : do_start'
+ echo '## core/hostname : do_start'
## core/hostname : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/mnt
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/mnt ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.conf
+ NAME=mnt
+ DESC='Mount points configuration'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.sh
+ component_is_exclude core/mnt
+ local 'component=core/mnt'
+ '[' -n core/mnt ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/mnt : do_start'
+ echo '## core/mnt : do_start'
## core/mnt : do_start
+ set +e
+ eval do_start
+ do_start
+ '[' chroot '=' chroot -a -n  ]
+ do_configure
+ msg ':: Configuring core/mnt ... '
+ echo ':: Configuring core/mnt ... '
:: Configuring core/mnt ... 
+ '[' chroot '=' proot ]
+ rm -f /data/local/mnt/etc/mtab
+ grep /data/local/mnt /proc/mounts
+ sed 's|/data/local/mnt/*|/|g'
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/net
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/net ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/net/deploy.conf
+ NAME=net
+ DESC='Network configuration'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/net/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/net/deploy.sh
+ '[' -n  ]
+ DNS=auto
+ component_is_exclude core/net
+ local 'component=core/net'
+ '[' -n core/net ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/net : do_start'
+ echo '## core/net : do_start'
## core/net : do_start
+ set +e
+ eval do_start
+ do_start
+ do_configure
+ msg ':: Configuring core/net ... '
+ echo ':: Configuring core/net ... '
:: Configuring core/net ... 
+ local dns dns_list
+ '[' -z auto -o auto '=' auto ]
+ which getprop
+ '[' -n /system/bin/getprop ]
+ getprop net.dns1
+ dns=192.168.1.44
+ '[' -n 192.168.1.44 ]
+ dns_list=192.168.1.44
+ getprop net.dns2
+ dns=115.168.254.2
+ '[' -n 115.168.254.2 ]
+ dns_list='192.168.1.44 115.168.254.2'
+ '[' -z '192.168.1.44 115.168.254.2' -a -e /etc/resolv.conf ]
+ '[' -z '192.168.1.44 115.168.254.2' ]
+ printf 
+ echo 'nameserver 192.168.1.44'
+ echo 'nameserver 115.168.254.2'
+ '[' -e /data/local/mnt/etc/nsswitch.conf ]
+ sed -i s/systemd//g /data/local/mnt/etc/nsswitch.conf
+ return 0
+ '[' -n  ]
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/timezone
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/timezone ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.conf
+ NAME=timezone
+ DESC='Time zone'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.sh
+ component_is_exclude core/timezone
+ local 'component=core/timezone'
+ '[' -n core/timezone ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/timezone : do_start'
+ echo '## core/timezone : do_start'
## core/timezone : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/su
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/su ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/su/deploy.conf
+ NAME=su
+ DESC='SU command'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/su/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/su/deploy.sh
+ component_is_exclude core/su
+ local 'component=core/su'
+ '[' -n core/su ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/su : do_start'
+ echo '## core/su : do_start'
## core/su : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/locale
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/locale ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/locale/deploy.conf
+ NAME=locale
+ DESC=Localization
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/locale/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/locale/deploy.sh
+ '[' -n C ]
+ '[' -n C ]
+ component_is_exclude core/locale
+ local 'component=core/locale'
+ '[' -n core/locale ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/locale : do_start'
+ echo '## core/locale : do_start'
## core/locale : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/aid
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/aid ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/aid/deploy.conf
+ NAME=aid
+ DESC='Android users and groups'
+ PARAMS=USER_NAME
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/aid/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/aid/deploy.sh
+ component_is_exclude core/aid
+ local 'component=core/aid'
+ '[' -n core/aid ]
+ return 1
+ '[' false '!=' true ]
+ params_check USER_NAME
+ local 'params_list=USER_NAME'
+ local key val params_lost
+ eval 'val=$USER_NAME'
+ val=android
+ '[' -z android ]
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/aid : do_start'
+ echo '## core/aid : do_start'
## core/aid : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/profile
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/profile ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/profile/deploy.conf
+ NAME=profile
+ DESC='User and its environment'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/profile/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/profile/deploy.sh
+ '[' -n android ]
+ '[' -n 12345 ]
+ component_is_exclude core/profile
+ local 'component=core/profile'
+ '[' -n core/profile ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/profile : do_start'
+ echo '## core/profile : do_start'
## core/profile : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/sudo
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/sudo ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.conf
+ NAME=sudo
+ DESC='Sudoers file'
+ PARAMS=USER_NAME
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.sh
+ component_is_exclude core/sudo
+ local 'component=core/sudo'
+ '[' -n core/sudo ]
+ return 1
+ '[' false '!=' true ]
+ params_check USER_NAME
+ local 'params_list=USER_NAME'
+ local key val params_lost
+ eval 'val=$USER_NAME'
+ val=android
+ '[' -z android ]
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/sudo : do_start'
+ echo '## core/sudo : do_start'
## core/sudo : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core/unchroot
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core/unchroot ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.conf
+ NAME=unchroot
+ DESC='Break chroot'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.sh
+ component_is_exclude core/unchroot
+ local 'component=core/unchroot'
+ '[' -n core/unchroot ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/unchroot : do_start'
+ echo '## core/unchroot : do_start'
## core/unchroot : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/core
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/core ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/deploy.conf
+ NAME=core
+ DESC='Core components'
+ DEPENDS='core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/core/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/core/deploy.sh
+ component_is_exclude core
+ local 'component=core'
+ '[' -n core ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## core : do_start'
+ echo '## core : do_start'
## core : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/bootstrap
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/bootstrap ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.conf
+ NAME=bootstrap
+ DESC='Installer of Linux distibution'
+ DEPENDS='bootstrap/rootfs bootstrap/rootfs core'
+ PARAMS=DISTRIB
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.sh
+ DISTRIB=rootfs
+ component_is_exclude bootstrap
+ local 'component=bootstrap'
+ '[' -n bootstrap ]
+ return 1
+ '[' false '!=' true ]
+ params_check DISTRIB
+ local 'params_list=DISTRIB'
+ local key val params_lost
+ eval 'val=$DISTRIB'
+ val=rootfs
+ '[' -z rootfs ]
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## bootstrap : do_start'
+ echo '## bootstrap : do_start'
## bootstrap : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/desktop/desktop-base
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/desktop/desktop-base ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.conf
+ NAME=desktop-base
+ DESC='Common configuration for desktop environment'
+ PARAMS=USER_NAME
+ DEPENDS=desktop
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.sh
+ component_is_exclude desktop/desktop-base
+ local 'component=desktop/desktop-base'
+ '[' -n desktop/desktop-base ]
+ return 1
+ '[' false '!=' true ]
+ params_check USER_NAME
+ local 'params_list=USER_NAME'
+ local key val params_lost
+ eval 'val=$USER_NAME'
+ val=android
+ '[' -z android ]
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## desktop/desktop-base : do_start'
+ echo '## desktop/desktop-base : do_start'
## desktop/desktop-base : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/extra
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/extra ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/extra/deploy.conf
+ NAME=extra
+ DESC='Extra applications'
+ DEPENDS=bootstrap
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/extra/deploy.sh ]
+ component_is_exclude extra
+ local 'component=extra'
+ '[' -n extra ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## extra : do_start'
+ echo '## extra : do_start'
## extra : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/desktop/dbus
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/desktop/dbus ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.conf
+ NAME=dbus
+ DESC='DBus daemon'
+ PARAMS=DISTRIB
+ DEPENDS=extra
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.sh
+ component_is_exclude desktop/dbus
+ local 'component=desktop/dbus'
+ '[' -n desktop/dbus ]
+ return 1
+ '[' false '!=' true ]
+ params_check DISTRIB
+ local 'params_list=DISTRIB'
+ local key val params_lost
+ eval 'val=$DISTRIB'
+ val=rootfs
+ '[' -z rootfs ]
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## desktop/dbus : do_start'
+ echo '## desktop/dbus : do_start'
## desktop/dbus : do_start
+ set +e
+ eval do_start
+ do_start
+ msg -n ':: Starting desktop/dbus ... '
+ echo -n ':: Starting desktop/dbus ... '
:: Starting desktop/dbus ... + is_stopped /run/dbus/pid /run/dbus/messagebus.pid /run/messagebus.pid /var/run/dbus/pid /var/run/dbus/messagebus.pid /var/run/messagebus.pid
+ is_started /run/dbus/pid /run/dbus/messagebus.pid /run/messagebus.pid /var/run/dbus/pid /var/run/dbus/messagebus.pid /var/run/messagebus.pid
+ get_pids /run/dbus/pid /run/dbus/messagebus.pid /run/messagebus.pid /var/run/dbus/pid /var/run/dbus/messagebus.pid /var/run/messagebus.pid
+ local pid pidfile pids
+ pidfile=/data/local/mnt/run/dbus/pid
+ '[' -e /data/local/mnt/run/dbus/pid ]
+ '[' -e /proc//run/dbus/pid ]
+ pidfile=/data/local/mnt/run/dbus/messagebus.pid
+ '[' -e /data/local/mnt/run/dbus/messagebus.pid ]
+ cat /data/local/mnt/run/dbus/messagebus.pid
+ pid=20935
+ '[' -e /proc/20935 ]
+ pidfile=/data/local/mnt/run/messagebus.pid
+ '[' -e /data/local/mnt/run/messagebus.pid ]
+ '[' -e /proc//run/messagebus.pid ]
+ pidfile=/data/local/mnt/var/run/dbus/pid
+ '[' -e /data/local/mnt/var/run/dbus/pid ]
+ '[' -e /proc//var/run/dbus/pid ]
+ pidfile=/data/local/mnt/var/run/dbus/messagebus.pid
+ '[' -e /data/local/mnt/var/run/dbus/messagebus.pid ]
+ cat /data/local/mnt/var/run/dbus/messagebus.pid
+ pid=20935
+ '[' -e /proc/20935 ]
+ pidfile=/data/local/mnt/var/run/messagebus.pid
+ '[' -e /data/local/mnt/var/run/messagebus.pid ]
+ '[' -e /proc//var/run/messagebus.pid ]
+ '[' -n  ]
+ return 1
+ test 1 -ne 0
+ is_ok skip
+ '[' 0 -eq 0 ]
+ '[' -n  ]
+ return 0
+ remove_files /run/dbus/pid /run/dbus/messagebus.pid /run/messagebus.pid /var/run/dbus/pid /var/run/dbus/messagebus.pid /var/run/messagebus.pid
+ local item target
+ target=/data/local/mnt/run/dbus/pid
+ '[' -e /data/local/mnt/run/dbus/pid ]
+ target=/data/local/mnt/run/dbus/messagebus.pid
+ '[' -e /data/local/mnt/run/dbus/messagebus.pid ]
+ rm -f /data/local/mnt/run/dbus/messagebus.pid
+ target=/data/local/mnt/run/messagebus.pid
+ '[' -e /data/local/mnt/run/messagebus.pid ]
+ target=/data/local/mnt/var/run/dbus/pid
+ '[' -e /data/local/mnt/var/run/dbus/pid ]
+ target=/data/local/mnt/var/run/dbus/messagebus.pid
+ '[' -e /data/local/mnt/var/run/dbus/messagebus.pid ]
+ target=/data/local/mnt/var/run/messagebus.pid
+ '[' -e /data/local/mnt/var/run/messagebus.pid ]
+ return 0
+ chroot_exec -u root dbus-daemon --system --fork
+ unset TMP TEMP TMPDIR LD_PRELOAD LD_DEBUG
+ local 'path=/data/data/ru.meefik.linuxdeploy/files/bin:/data/data/ru.meefik.linuxdeploy/files/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
+ '[' -u '=' -u ]
+ local 'username=root'
+ shift 2
+ '[' -n root ]
+ '[' 3 -gt 0 ]
+ chroot /data/local/mnt /bin/su - root -c 'dbus-daemon --system --fork'
+ is_ok fail 'done'
+ '[' 0 -eq 0 ]
+ '[' -n 'done' ]
+ msg 'done'
+ echo 'done'
done
+ return 0
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/desktop/lxde
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/desktop/lxde ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.conf
+ NAME=lxde
+ DESC='Lightweight X11 Desktop Environment'
+ PARAMS='DISTRIB USER_NAME'
+ DEPENDS='desktop desktop/dbus'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.sh
+ component_is_exclude desktop/lxde
+ local 'component=desktop/lxde'
+ '[' -n desktop/lxde ]
+ return 1
+ '[' false '!=' true ]
+ params_check DISTRIB USER_NAME
+ local 'params_list=DISTRIB USER_NAME'
+ local key val params_lost
+ eval 'val=$DISTRIB'
+ val=rootfs
+ '[' -z rootfs ]
+ eval 'val=$USER_NAME'
+ val=android
+ '[' -z android ]
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## desktop/lxde : do_start'
+ echo '## desktop/lxde : do_start'
## desktop/lxde : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/desktop
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/desktop ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/desktop/deploy.conf
+ NAME=desktop
+ DESC='Desktop environment'
+ PARAMS=DESKTOP
+ DEPENDS='bootstrap desktop/desktop-base desktop/lxde'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/desktop/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/desktop/deploy.sh
+ DESKTOP=lxde
+ component_is_exclude desktop
+ local 'component=desktop'
+ '[' -n desktop ]
+ return 1
+ '[' false '!=' true ]
+ params_check DESKTOP
+ local 'params_list=DESKTOP'
+ local key val params_lost
+ eval 'val=$DESKTOP'
+ val=lxde
+ '[' -z lxde ]
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## desktop : do_start'
+ echo '## desktop : do_start'
## desktop : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/extra/pulse
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/extra/pulse ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/extra/pulse/deploy.conf
+ NAME=pulse
+ DESC='Audio output via PulseAudio server'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/extra/pulse/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/extra/pulse/deploy.sh
+ '[' -n 127.0.0.1 ]
+ '[' -n 4712 ]
+ component_is_exclude extra/pulse
+ local 'component=extra/pulse'
+ '[' -n extra/pulse ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## extra/pulse : do_start'
+ echo '## extra/pulse : do_start'
## extra/pulse : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/extra/ssh
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/extra/ssh ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/extra/ssh/deploy.conf
+ NAME=ssh
+ DESC='Secure shell (SSH) server'
+ PARAMS=DISTRIB
+ DEPENDS=extra
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/extra/ssh/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/extra/ssh/deploy.sh
+ '[' -n 22 ]
+ component_is_exclude extra/ssh
+ local 'component=extra/ssh'
+ '[' -n extra/ssh ]
+ return 1
+ '[' false '!=' true ]
+ params_check DISTRIB
+ local 'params_list=DISTRIB'
+ local key val params_lost
+ eval 'val=$DISTRIB'
+ val=rootfs
+ '[' -z rootfs ]
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## extra/ssh : do_start'
+ echo '## extra/ssh : do_start'
## extra/ssh : do_start
+ set +e
+ eval do_start
+ do_start
+ msg -n ':: Starting extra/ssh ... '
+ echo -n ':: Starting extra/ssh ... '
:: Starting extra/ssh ... + is_stopped /var/run/sshd.pid /run/sshd.pid
+ is_started /var/run/sshd.pid /run/sshd.pid
+ get_pids /var/run/sshd.pid /run/sshd.pid
+ local pid pidfile pids
+ pidfile=/data/local/mnt/var/run/sshd.pid
+ '[' -e /data/local/mnt/var/run/sshd.pid ]
+ '[' -e /proc//var/run/sshd.pid ]
+ pidfile=/data/local/mnt/run/sshd.pid
+ '[' -e /data/local/mnt/run/sshd.pid ]
+ '[' -e /proc//run/sshd.pid ]
+ '[' -n  ]
+ return 1
+ test 1 -ne 0
+ is_ok skip
+ '[' 0 -eq 0 ]
+ '[' -n  ]
+ return 0
+ make_dirs /run/sshd /var/run/sshd
+ local item target
+ target=/data/local/mnt/run/sshd
+ '[' -d /data/local/mnt/run -a '!' -d /data/local/mnt/run/sshd ]
+ target=/data/local/mnt/var/run/sshd
+ '[' -d /data/local/mnt/var/run -a '!' -d /data/local/mnt/var/run/sshd ]
+ return 0
+ grep -c key
+ ls /data/local/mnt/etc/ssh/
+ '[' 10 -eq 0 ]
+ '[' chroot '=' proot ]
+ chroot_exec -u root /usr/sbin/sshd -p 22
+ unset TMP TEMP TMPDIR LD_PRELOAD LD_DEBUG
+ local 'path=/data/data/ru.meefik.linuxdeploy/files/bin:/data/data/ru.meefik.linuxdeploy/files/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
+ '[' -u '=' -u ]
+ local 'username=root'
+ shift 2
+ '[' -n root ]
+ '[' 3 -gt 0 ]
+ chroot /data/local/mnt /bin/su - root -c '/usr/sbin/sshd -p 22'
-bash: /usr/sbin/sshd: No such file or directory
+ is_ok fail 'done'
+ '[' 127 -eq 0 ]
+ '[' -n fail ]
+ msg fail
+ echo fail
fail
+ return 1
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/graphics/vnc
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/graphics/vnc ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.conf
+ NAME=vnc
+ DESC='Virtual network computing (VNC) server'
+ PARAMS='DISTRIB USER_NAME'
+ DEPENDS=graphics
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.sh
+ '[' -n 12345 ]
+ '[' -n 0 ]
+ '[' -n 16 ]
+ '[' -n 75 ]
+ '[' -n 960 ]
+ '[' -n 540 ]
+ component_is_exclude graphics/vnc
+ local 'component=graphics/vnc'
+ '[' -n graphics/vnc ]
+ return 1
+ '[' false '!=' true ]
+ params_check DISTRIB USER_NAME
+ local 'params_list=DISTRIB USER_NAME'
+ local key val params_lost
+ eval 'val=$DISTRIB'
+ val=rootfs
+ '[' -z rootfs ]
+ eval 'val=$USER_NAME'
+ val=android
+ '[' -z android ]
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## graphics/vnc : do_start'
+ echo '## graphics/vnc : do_start'
## graphics/vnc : do_start
+ set +e
+ eval do_start
+ do_start
+ msg -n ':: Starting graphics/vnc ... '
+ echo -n ':: Starting graphics/vnc ... '
:: Starting graphics/vnc ... + is_stopped /tmp/xsession.pid
+ is_started /tmp/xsession.pid
+ get_pids /tmp/xsession.pid
+ local pid pidfile pids
+ pidfile=/data/local/mnt/tmp/xsession.pid
+ '[' -e /data/local/mnt/tmp/xsession.pid ]
+ '[' -e /proc//tmp/xsession.pid ]
+ '[' -n  ]
+ return 1
+ test 1 -ne 0
+ is_ok skip
+ '[' 0 -eq 0 ]
+ '[' -n  ]
+ return 0
+ remove_files /tmp/.X0-lock /tmp/.X11-unix/X0
+ local item target
+ target=/data/local/mnt/tmp/.X0-lock
+ '[' -e /data/local/mnt/tmp/.X0-lock ]
+ target=/data/local/mnt/tmp/.X11-unix/X0
+ '[' -e /data/local/mnt/tmp/.X11-unix/X0 ]
+ return 0
+ chroot_exec -u android vncserver :0 -depth 16 -dpi 75 -geometry 960x540
+ unset TMP TEMP TMPDIR LD_PRELOAD LD_DEBUG
+ local 'path=/data/data/ru.meefik.linuxdeploy/files/bin:/data/data/ru.meefik.linuxdeploy/files/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
+ '[' -u '=' -u ]
+ local 'username=android'
+ shift 2
+ '[' -n android ]
+ '[' 8 -gt 0 ]
+ chroot /data/local/mnt /bin/su - android -c 'vncserver :0 -depth 16 -dpi 75 -geometry 960x540'
  [✗] DNS service is NOT running
  [✗] DNS service is NOT running

-bash: vncserver: command not found
+ is_ok fail 'done'
+ '[' 127 -eq 0 ]
+ '[' -n fail ]
+ msg fail
+ echo fail
fail
+ return 1
+ return 0
+ set -e
+ COMPONENT_DIR=/data/data/ru.meefik.linuxdeploy/files/include/graphics
+ '[' -d /data/data/ru.meefik.linuxdeploy/files/include/graphics ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/data/ru.meefik.linuxdeploy/files/include/graphics/deploy.conf
+ NAME=graphics
+ DESC='Graphics subsystem'
+ PARAMS=GRAPHICS
+ DEPENDS='bootstrap graphics/vnc'
+ '[' -e /data/data/ru.meefik.linuxdeploy/files/include/graphics/deploy.sh ]
+ . /data/data/ru.meefik.linuxdeploy/files/include/graphics/deploy.sh
+ GRAPHICS=vnc
+ component_is_exclude graphics
+ local 'component=graphics'
+ '[' -n graphics ]
+ return 1
+ '[' false '!=' true ]
+ params_check GRAPHICS
+ local 'params_list=GRAPHICS'
+ local key val params_lost
+ eval 'val=$GRAPHICS'
+ val=vnc
+ '[' -z vnc ]
+ '[' -n  ]
+ return 0
+ '[' true '=' true ]
+ msg '## graphic

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

The real issue is with the databse. Try re-initializing it:

sudo service pihole-FTL stop

sudo mv /etc/pihole/pihole-FTL.db /etc/pihole/pihole-FTL-old.db

sudo service pihole-FTL start

Then check if the databses is accessible:

sqlite3 /etc/pihole/pihole-FTL.db "SELECT * FROM counters"

Output should be something like:

0|0
1|0

...and not an error.

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

Output should be something like:

0|0
1|0

...and not an error.

The output is exactly like this, yet the DNS service is still not running (when I click "Enable blocking" it changes to "Active" but whenever I reboot the dasboard page it shows again as "DNS service is not running"), the "There was a problem applying your settings. PHP error (2): fsockopen(): unable to connect to 127.0.0.1:4711 (Unknown error) in /var/www/html/admin/scripts/pi-hole/php/FTL.php:47 " error in the dashboard persists, and when I open the query log a pop-up says " Error, something went wrong! FTL is not running".

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

Now there is a new problem: the phone dischanged, and after reboot the pihole does not respond at all! The dashboard does not open, and the SSH connection is refused. The IP is unchanged. How do I fix it?

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

Sounds like filesystem corruption, redeploy the image.

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

Sounds like filesystem corruption, redeploy the image.

I got that over with, but the old problem persists. This part of the debug:

*** [ DIAGNOSING ]: FirewallD
[i] Firewalld service active
[✗]   Allow Service: http (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗]   Allow Service: dns (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗]   Allow Service: dhcp (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗]   Allow Service: dhcpv6 (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗] FTL Custom Zone Not Detected (https://docs.pi-hole.net/main/prerequisites/#firewalld)

seems the most sus, so I've tried to attack it. When executing firewall-cmd --permanent --add-service=http --add-service=dns --add-service=dhcp --add-service=dhcpv6, I got a response bash: firewall-cmd: command not found. So I installed firewallID with yum, and when running the same command, I get FirewallD is not running, and when I run systemctl enable firewalld I get:

update-rc.d firewalld enable
update-rc.d: /etc/init.d/firewalld: file does not exist

Surely this can't be right.

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

Probably using iptables given the device's age.
Try sudo unchroot iptables -L

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

This didn't solve the problem, and I've also found another one. From the debug log:

Edit: made log collapsible for easier navigation
 -----tail of FTL.log------
   [2023-08-13 18:19:01.178 15545/T15561] ERROR: SQL query "END TRANSACTION" failed: database is locked
   [2023-08-13 18:19:01.178 15545/T15561] WARNING: Storing devices in network table failed: database is locked
   [2023-08-13 18:20:01.373 15545/T15561] ERROR: SQL query "DELETE FROM query_storage WHERE timestamp <= 1660400400" failed: database is locked
   [2023-08-13 18:20:01.373 15545/T15561] delete_old_queries_in_DB(): Deleting queries due to age of entries failed!
   [2023-08-13 18:20:03.035 15545/T15561] ERROR: SQL query "END TRANSACTION" failed: database is locked
   [2023-08-13 18:20:03.036 15545/T15561] WARNING: Storing devices in network table failed: database is locked
   [2023-08-13 18:22:05.557 15545/T15561] ERROR: SQL query "END TRANSACTION" failed: database is locked
   [2023-08-13 18:22:05.557 15545/T15561] WARNING: Storing devices in network table failed: database is locked
   [2023-08-13 18:23:03.396 15545/T15561] ERROR: SQL query "END TRANSACTION" failed: database is locked
   [2023-08-13 18:23:03.397 15545/T15561] WARNING: Storing devices in network table failed: database is locked
   [2023-08-13 18:25:06.109 15545/T15562] WARNING: Long-term load (15min avg) larger than number of processors: 27.6 > 1
   [2023-08-13 18:25:07.117 15545/T15562] add_message(type=6, message=excessive load) - SQL error step DELETE: database is locked
   [2023-08-13 18:25:07.118 15545/T15562] Error while trying to close database: database is locked
   [2023-08-13 18:25:07.681 15545/T15561] ERROR: SQL query "END TRANSACTION" failed: database is locked
   [2023-08-13 18:25:07.682 15545/T15561] WARNING: Storing devices in network table failed: database is locked
   [2023-08-13 18:26:13.055 15545/T15561] ERROR: SQL query "END TRANSACTION" failed: database is locked
   [2023-08-13 18:26:13.055 15545/T15561] WARNING: Storing devices in network table failed: database is locked
   [2023-08-13 18:27:20.362 15545/T15561] ERROR: SQL query "END TRANSACTION" failed: database is locked
   [2023-08-13 18:27:20.363 15545/T15561] WARNING: Storing devices in network table failed: database is locked
   [2023-08-13 18:28:17.030 15545/T15561] ERROR: SQL query "END TRANSACTION" failed: database is locked
   [2023-08-13 18:28:17.307 15545/T15561] WARNING: Storing devices in network table failed: database is locked
   [2023-08-13 18:29:01.121 15545/T15561] ERROR: SQL query "END TRANSACTION" failed: database is locked
   [2023-08-13 18:29:01.125 15545/T15561] END TRANSACTION failed when trying to store queries to long-term database
   [2023-08-13 18:29:01.126 15545/T15561] Keeping queries in memory for later new attempt
   [2023-08-13 18:29:02.291 15545/T15561] ERROR: SQL query "END TRANSACTION" failed: database is locked
   [2023-08-13 18:29:02.292 15545/T15561] WARNING: Storing devices in network table failed: database is locked
   [2023-08-13 18:30:27.018 15545/T15561] Notice: Queries stored in long-term database: 0 (took 1691937027018.3 ms, last SQLite ID 24)
   [2023-08-13 18:30:27.018 15545/T15561]         Queries from earlier attempt(s) stored successfully
   [2023-08-13 18:31:09.043 15545/T15562] WARNING: Long-term load (15min avg) larger than number of processors: 26.4 > 2
   [2023-08-13 18:31:09.557 15545/T15561] ERROR: SQL query "END TRANSACTION" failed: database is locked
   [2023-08-13 18:31:09.558 15545/T15561] WARNING: Storing devices in network table failed: database is locked
   [2023-08-13 18:31:10.044 15545/T15562] SQLite3 message: database is locked in "DELETE FROM message WHERE type = ?1 AND message = ?2" (5)
   [2023-08-13 18:31:10.045 15545/T15562] add_message(type=6, message=excessive load) - SQL error prepare DELETE: database is locked
   [2023-08-13 18:31:10.896 15545/T15561] ERROR: SQL query "END TRANSACTION" failed: database is locked
   [2023-08-13 18:31:10.896 15545/T15561] WARNING: Storing devices in network table failed: database is locked
When I try to delete a warning "Long-term load (15min avg) larger than number of processors: 24.6 > 1" I get "Deleting messages: 120" and then "Error, something went wrong! While executing message statement: attempt to write a readonly database"

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

What's the output from:
sudo ps -eo pcpu,pid,user,args | tail -n +2 | sort -k1 -r -n | head -10

Your device is showing a load average of 24 which is very high. When you're SSH'd into the device, does it feel slow and is the device getting warm/hot?

What version kernel is the device running?
uname -a

You may want to experiment with formatting the disk image as EXT3 or even EXT2.

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

You may want to experiment with formatting the disk image as EXT3 or even EXT2.

Tried ext2, the error did not go away.

What's the output from:
sudo ps -eo pcpu,pid,user,args | tail -n +2 | sort -k1 -r -n | head -10

16.0 11278 root sudo ps -eo pcpu,pid,user,args
5.6 6 root [migration/0]
3.0 8644 root [loop0]
2.8 11082 10059 com.android.vending
2.6 6687 10088 ru.meefik.linuxdeploy
1.1 7720 10012 com.google.android.gms
0.5 11212 root /sbin/dropbear -p 22 -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key
0.5 6327 10089 in.co.pricealert.apps2sd:Apps2SDTasker
0.3 11217 android -bash
0.3 10790 root /usr/bin/pihole-FTL

What version kernel is the device running?
uname -a

Linux localhost 3.0.21-perf-g07d599d-00151-g0ff7ab2-dirty #1 SMP PREEMPT Fri Oct 12 13:14:26 CST 2012 armv7l armv7l armv7l GNU/Linux

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

UPD: I reformatted to ext3 and updated pihole, the "readonly database" error is gone. The firewall error is not, and now there is a line in the log:

[i] Default IPv4 gateway(s):
     192.168.1.1
     192.168.1.1
   * Pinging first gateway 192.168.1.1...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)

When ssh-ed into the device I can't ping 192.168.1.1:

ping 192.168.1.1
socket: Permission denied

And, seemingly as a result of this,

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✗] Failed to resolve  on lo (127.0.0.1)
[✗] Failed to resolve  on eth0 (192.168.1.44)
[✓] doubleclick.com is 64.233.164.101 via a remote, public DNS server (8.8.8.8)

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

Try re-adding root, pihole, www-data and android user(s) back to these groups. If you are not using the default user (android) then add the one currently used as well:

usermod -a -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin root
usermod -a -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin pihole
usermod -a -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin www-data
usermod -a -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin android

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

usermod -a -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin www-data

usermod: user 'www-data' does not exist

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

Name could be “lighttpd” I don’t recall what it is in CentOS 7.

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

Name could be “lighttpd” I don’t recall what it is in CentOS 7.

usermod -a -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin ligttpd allowed to activate pihole, but it does not block any queries, not a single one, it allows everything through.
When updating adlists it gets 0 domains:

Edit: made log collapsible for easier navigation
  [i] Neutrino emissions detected...
  [✓] Pulling blocklist source list into range

  [✓] Preparing new gravity database
  [✓] Creating new gravity databases
  [i] Using libz compression

  [i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
  [✓] Status: Retrieval successful
pihole-FTL: invalid option -- 'gravity'
Command: 'pihole-FTL gravity parseList /etc/pihole/list.1.raw.githubusercontent.com.domains /etc/pihole/gravity.db_temp 1'
Try 'pihole-FTL --help' for more information
  [i] List stayed unchanged

  [i] Target: https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt
  [✓] Status: Retrieval successful
pihole-FTL: invalid option -- 'gravity'
Command: 'pihole-FTL gravity parseList /etc/pihole/list.2.raw.githubusercontent.com.domains /etc/pihole/gravity.db_temp 2'
Try 'pihole-FTL --help' for more information

  [✓] Building tree
  [✓] Swapping databases
  [✓] The old database remains available
  [i] Number of gravity domains: 0 (0 unique domains)
  [i] Number of exact blacklisted domains: 0
  [i] Number of regex blacklist filters: 0
  [i] Number of exact whitelisted domains: 0
  [i] Number of regex whitelist filters: 0
  [✓] Cleaning up stray matter

  [✓] FTL is listening on port 53
     [✓] UDP (IPv4)
     [✓] TCP (IPv4)
     [✓] UDP (IPv6)
     [✓] TCP (IPv6)

  [✓] Pi-hole blocking is enabled
Here's the debug log:
Edit: made log collapsible for easier navigation ``` *** [ INITIALIZING ] [i] 2023-08-20:22:14:24 debug log has been initialized. [i] System has been running for 1 days, 0 hours, 15 minutes

*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

*** [ DIAGNOSING ]: Core version
[✓] Version: v5.17.1
[i] Remotes: origin https://github.com/pi-hole/pi-hole.git (fetch)
origin https://github.com/pi-hole/pi-hole.git (push)
[i] Branch: master
[i] Commit: v5.17.1-0-g6a45c6a

*** [ DIAGNOSING ]: Web version
[✓] Version: v5.20.1
[i] Remotes: origin https://github.com/pi-hole/AdminLTE.git (fetch)
origin https://github.com/pi-hole/AdminLTE.git (push)
[i] Branch: master
[i] Commit: v5.20.1-0-g3a11976

*** [ DIAGNOSING ]: FTL version
[✓] Version: v5.18.2
[i] Branch: master
[i] Commit: pihole-FTL: invalid option -- '--hash'
Command: 'pihole-FTL --hash'
Try 'pihole-FTL --help' for more information

*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.54

*** [ DIAGNOSING ]: php version
[i] 7.4.30

*** [ DIAGNOSING ]: Operating system
[✓] Distro: Centos
[✗] Version: 7
[✓] dig return code: 0
[i] dig response: "Raspbian=10,11 Ubuntu=20,22,23 Debian=10,11,12 Fedora=36,37,38 CentOS=8,9"
[✗] Error: Centos is supported but version 7 is currently unsupported (https://docs.pi-hole.net/main/prerequisites/)

*** [ DIAGNOSING ]: SELinux
[✓] Default SELinux: permissive
[✓] Current SELinux: Disabled

*** [ DIAGNOSING ]: FirewallD
[i] Firewalld service active
[✗] Allow Service: http (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗] Allow Service: dns (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗] Allow Service: dhcp (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗] Allow Service: dhcpv6 (https://docs.pi-hole.net/main/prerequisites/#firewalld)
[✗] FTL Custom Zone Not Detected (https://docs.pi-hole.net/main/prerequisites/#firewalld)

*** [ DIAGNOSING ]: Processor
[✓] armv7l

*** [ DIAGNOSING ]: Disk usage
Filesystem Size Used Avail Use% Mounted on
/dev/block/loop0 2.0G 1.4G 476M 75% /
tmpfs 314M 64K 314M 1% /dev
tmpfs 314M 1.3M 312M 1% /dev/shm

*** [ DIAGNOSING ]: Network interfaces and addresses
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: rmnet0: <> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/[530]
3: rmnet1: <> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/[530]
4: rmnet2: <> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/[530]
5: rmnet3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether be:07:56:2c:38:34 brd ff:ff:ff:ff:ff:ff
6: rmnet4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 6e:fe:7a:70:bc:9c brd ff:ff:ff:ff:ff:ff
7: rmnet5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 7a:f1:0b:95:a1:28 brd ff:ff:ff:ff:ff:ff
8: rmnet6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 82:76:07:3e:39:7e brd ff:ff:ff:ff:ff:ff
9: rmnet7: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether a2:9c:d6:ef:24:19 brd ff:ff:ff:ff:ff:ff
10: tunl0: mtu 1480 qdisc noop state DOWN group default
link/ipip 0.0.0.0 brd 0.0.0.0
11: sit0: mtu 1480 qdisc noop state DOWN group default
link/sit 0.0.0.0 brd 0.0.0.0
12: ip6tnl0: mtu 1452 qdisc noop state DOWN group default
link/tunnel6 :: brd ::
13: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 0c:37:dc:d3:c5:03 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.44/24 brd 192.168.1.255 scope global eth0
inet6 fe80::e37:dcff:fed3:c503/64 scope link
valid_lft forever preferred_lft forever

*** [ DIAGNOSING ]: Network routing table
default via 192.168.1.1 dev eth0
default via 192.168.1.1 dev eth0 metric 213
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.44 metric 213
192.168.1.1 dev eth0 scope link
192.168.1.44 via 192.168.1.1 dev eth0

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
192.168.1.44/24

[✓] IPv6 address(es) bound to the eth0 interface:
fe80::e37:dcff:fed3:c503/64

[i] Default IPv4 gateway(s):
192.168.1.1
192.168.1.1

  • Pinging first gateway 192.168.1.1...
    [✓] Gateway responded.
    [i] Default IPv6 gateway(s):

*** [ DIAGNOSING ]: Ports in use
[✓] udp::53 is in use by pihole-FTL
[✓] udp:[::]:53 is in use by pihole-FTL
udp:[::]:48250 is in use by d.wfdft:FTSserv
udp:[::]:1900 is in use by d.wfdft:FTSserv
udp:[::]:1900 is in use by d.wfdft:FTCserv
udp:[::ffff:192.168.1.44]:8108 is in use by d.wfdft:FTCserv
tcp:127.0.0.1:55555 is in use by mm-qcamera-daem
tcp:127.0.0.1:55556 is in use by mm-qcamera-daem
[✓] tcp:[::1]:4711 is in use by pihole-FTL
[✓] tcp:127.0.0.1:4711 is in use by pihole-FTL
tcp:[::ffff:192.168.1.44]:33003 is in use by d.wfdft:FTSserv
[✓] tcp:
:80 is in use by lighttpd
[✓] tcp:[::]:53 is in use by pihole-FTL
[✓] tcp::53 is in use by pihole-FTL
tcp:[::1]:3350 is in use by xrdp-sesman
tcp:[::]:22 is in use by dropbear
tcp:
:22 is in use by dropbear
tcp:[::ffff:192.168.1.44]:8058 is in use by d.wfdft:FTCserv
tcp:[::]:3389 is in use by xrdp

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✗] Failed to resolve on lo (127.0.0.1)
[✗] Failed to resolve on eth0 (192.168.1.44)
[✓] doubleclick.com is 64.233.162.113 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[✗] Failed to resolve on lo (::1)
[✗] Failed to resolve on eth0 (fe80::e37:dcff:fed3:c503)
[✗] Failed to resolve doubleclick.com via a remote, public DNS server (2001:4860:4860::8888)

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
Scanning all your interfaces for DHCP servers
Timeout: 10 seconds

WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
WARN: Could not sendto() in send_dhcp_discover() (/tmp/tmp.VUwzCH0zQo/FTL/src/dhcp-discover.c:233): Network is unreachable
DHCP packets received on interface tunl0: 0
DHCP packets received on interface sit0: 0
DHCP packets received on interface ip6tnl0: 0
DHCP packets received on interface rmnet7: 0
DHCP packets received on interface rmnet6: 0
DHCP packets received on interface eth0: 0
DHCP packets received on interface rmnet5: 0
DHCP packets received on interface rmnet4: 0
DHCP packets received on interface rmnet3: 0
DHCP packets received on interface lo: 0

*** [ DIAGNOSING ]: Pi-hole processes
[✓] lighttpd daemon is active
[✓] pihole-FTL daemon is active

*** [ DIAGNOSING ]: Pi-hole-FTL full status

*** [ DIAGNOSING ]: Lighttpd configuration test
[✓] No error in lighttpd configuration

*** [ DIAGNOSING ]: Setup variables
WEBUIBOXEDLAYOUT=boxed
WEBTHEME=default-dark
API_QUERY_LOG_SHOW=all
API_PRIVACY_MODE=false
IPV4_ADDRESS=link/192.168.1.1
IPV6_ADDRESS=
BLOCKING_ENABLED=true
PIHOLE_INTERFACE=eth0
QUERY_LOGGING=true
INSTALL_WEB_SERVER=true
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=false
CACHE_SIZE=10000
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSMASQ_LISTENING=all
TEMPERATUREUNIT=C
DNSSEC=false
REV_SERVER=false
PIHOLE_DNS_1=8.8.8.8
PIHOLE_DNS_2=8.8.4.4
PIHOLE_DNS_3=2001:4860:4860:0:0:0:0:8888
PIHOLE_DNS_4=2001:4860:4860:0:0:0:0:8844
PIHOLE_DNS_5=127.0.0.1#5335

*** [ DIAGNOSING ]: Dashboard headers
[✗] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
X-Powered-By: PHP/7.4.30
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: PHPSESSID=ecg6mafdneel5upkhp93bc8he7; path=/; HttpOnly; SameSite=Strict
Content-type: text/html; charset=UTF-8
X-Pi-hole: The Pi-hole Web interface is working!
X-Pi-hole: The Pi-hole Web interface is working!
X-Frame-Options: DENY
X-Frame-Options: DENY
X-XSS-Protection: 0
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
Content-Security-Policy: default-src 'self' 'unsafe-inline';
Content-Security-Policy: default-src 'self' 'unsafe-inline';
X-Permitted-Cross-Domain-Policies: none
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: same-origin
Referrer-Policy: same-origin
Date: Sun, 20 Aug 2023 18:14:48 GMT
Server: lighttpd/1.4.54

*** [ DIAGNOSING ]: Pi-hole FTL Query Database
-rw-rw-r-- 1 pihole pihole 204K Aug 20 22:14 /etc/pihole/pihole-FTL.db

*** [ DIAGNOSING ]: Gravity Database
-rw-rw-r-- 1 pihole pihole 96K Aug 20 03:06 /etc/pihole/gravity.db

*** [ DIAGNOSING ]: Info table
property value


version 15
updated 1692486375
gravity_count 0
Last gravity run finished at: Sun Aug 20 03:06:15 +04 2023

----- First 10 Gravity Domains -----

*** [ DIAGNOSING ]: Groups
id enabled name date_added date_modified description


0 1 Default 2022-01-17 02:20:54 2022-01-17 02:20:54 The default group

*** [ DIAGNOSING ]: Domainlist (0/1 = exact white-/blacklist, 2/3 = regex white-/blacklist)

*** [ DIAGNOSING ]: Clients

*** [ DIAGNOSING ]: Adlists
id enabled group_ids address date_added date_modified comment


1 1 0 https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts 2022-01-17 02:20:54 2022-01-17 02:20:54 Migrated from /etc/pihole/adlists.list

*** [ DIAGNOSING ]: contents of /etc/pihole

-rw-r--r-- 1 root root 44 Oct 6 2022 /etc/pihole/custom.list
142.250.80.99 connectivitycheck.gstatic.com

-rw-r--r-- 1 root root 65 Aug 20 03:06 /etc/pihole/local.list

-rw-r--r-- 1 root root 241 Sep 8 2022 /etc/pihole/logrotate
/var/log/pihole/pihole.log {
su root root
daily
copytruncate
rotate 5
compress
delaycompress
notifempty
nomail
}
/var/log/pihole/FTL.log {
su root root
weekly
copytruncate
rotate 3
compress
delaycompress
notifempty
nomail
}

-rw-rw-r-- 1 pihole root 146 Aug 20 22:13 /etc/pihole/pihole-FTL.conf
PRIVACYLEVEL=0
RATE_LIMIT=1000/60

-rw-r--r-- 1 root root 431 Aug 20 14:21 /etc/pihole/versions
CORE_BRANCH=master
WEB_BRANCH=master
FTL_BRANCH=master
CORE_VERSION=v5.17.1
WEB_VERSION=v5.20.1
FTL_VERSION=v5.18.2
GITHUB_CORE_VERSION=v5.17.1
GITHUB_WEB_VERSION=v5.20.1
GITHUB_FTL_VERSION=v5.23
CORE_HASH=6a45c6a8
GITHUB_CORE_HASH=8495565a
WEB_HASH=3a11976e
GITHUB_WEB_HASH=41682f17
FTL_HASH=pihole-FTL: invalid option -- '--hash'
Command: 'pihole-FTL --hash'
Try 'pihole-FTL --help' for more information
GITHUB_FTL_HASH=1a114133

*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d

-rw-r--r-- 1 root root 1.5K Aug 20 22:13 /etc/dnsmasq.d/01-pihole.conf
addn-hosts=/etc/pihole/local.list
addn-hosts=/etc/pihole/custom.list
localise-queries
no-resolv
log-queries
log-facility=/var/log/pihole/pihole.log
log-async
server=8.8.8.8
server=8.8.4.4
server=2001:4860:4860:0:0:0:0:8888
server=2001:4860:4860:0:0:0:0:8844
server=127.0.0.1#5335
domain-needed
expand-hosts
bogus-priv
except-interface=nonexisting

-rw-r--r-- 1 root root 2.2K Aug 19 23:03 /etc/dnsmasq.d/06-rfc6761.conf
server=/test/
server=/localhost/
server=/invalid/
server=/bind/
server=/onion/

*** [ DIAGNOSING ]: contents of /etc/lighttpd

-rw-r--r-- 1 root root 0 Aug 19 23:01 /etc/lighttpd/external.conf

-rw-r--r-- 1 root root 3.5K Aug 19 23:03 /etc/lighttpd/lighttpd.conf
server.modules = (
"mod_access",
"mod_auth",
"mod_expire",
"mod_fastcgi",
"mod_accesslog",
"mod_redirect",
"mod_setenv",
"mod_rewrite"
)
server.document-root = "/var/www/html"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error-pihole.log"
server.pid-file = "/run/lighttpd.pid"
server.username = "lighttpd"
server.groupname = "lighttpd"
server.port = 80
server.stream-response-body = 1
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
url.access-deny = ( "~", ".inc", ".md", ".yml", ".ini" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
mimetype.assign = (
".ico" => "image/x-icon",
".jpeg" => "image/jpeg",
".jpg" => "image/jpeg",
".png" => "image/png",
".svg" => "image/svg+xml",
".css" => "text/css; charset=utf-8",
".html" => "text/html; charset=utf-8",
".js" => "text/javascript; charset=utf-8",
".json" => "application/json; charset=utf-8",
".map" => "application/json; charset=utf-8",
".txt" => "text/plain; charset=utf-8",
".eot" => "application/vnd.ms-fontobject",
".otf" => "font/otf",
".ttc" => "font/collection",
".ttf" => "font/ttf",
".woff" => "font/woff",
".woff2" => "font/woff2"
)
include "external*.conf"
fastcgi.server = (
".php" => (
"localhost" => (
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi"
)
)
)
include "/etc/lighttpd/conf.d/pihole-admin.conf"

*** [ DIAGNOSING ]: contents of /etc/lighttpd/conf.d
total 132K
-rw-r--r-- 1 root root 734 May 28 2019 access_log.conf
-rw-r--r-- 1 root root 936 May 28 2019 auth.conf
-rw-r--r-- 1 root root 974 May 28 2019 cgi.conf
-rw-r--r-- 1 root root 658 May 28 2019 cml.conf
-rw-r--r-- 1 root root 821 May 28 2019 compress.conf
-rw-r--r-- 1 root root 1.1K May 28 2019 debug.conf
-rw-r--r-- 1 root root 1.4K May 28 2019 dirlisting.conf
-rw-r--r-- 1 root root 576 May 28 2019 evhost.conf
-rw-r--r-- 1 root root 617 May 28 2019 expire.conf
-rw-r--r-- 1 root root 4.3K May 28 2019 fastcgi.conf
-rw-r--r-- 1 root root 913 May 28 2019 geoip.conf
-rw-r--r-- 1 root root 512 May 28 2019 magnet.conf
-rw-r--r-- 1 root root 22K May 28 2019 mime.conf
-rw-r--r-- 1 root root 249 May 28 2019 mod.template
-rw-r--r-- 1 root root 1.1K May 28 2019 mysql_vhost.conf
-rw-r--r-- 1 root root 4.1K Aug 19 22:29 pihole-admin.conf
-rw-r--r-- 1 root root 870 May 28 2019 proxy.conf
-rw-r--r-- 1 root root 538 May 28 2019 rrdtool.conf
-rw-r--r-- 1 root root 1.4K May 28 2019 scgi.conf
-rw-r--r-- 1 root root 774 May 28 2019 secdownload.conf
-rw-r--r-- 1 root root 828 May 28 2019 simple_vhost.conf
-rw-r--r-- 1 root root 1.9K May 28 2019 ssi.conf
-rw-r--r-- 1 root root 683 May 28 2019 status.conf
-rw-r--r-- 1 root root 1.9K May 28 2019 trigger_b4_dl.conf
-rw-r--r-- 1 root root 904 May 28 2019 userdir.conf
-rw-r--r-- 1 root root 722 May 28 2019 webdav.conf

-rw-r--r-- 1 root root 4.1K Aug 19 22:29 /etc/lighttpd/conf.d/pihole-admin.conf
server.errorlog := "/var/log/lighttpd/error-pihole.log"
$HTTP["url"] =~ "^/admin/" {
server.document-root = "/var/www/html"
server.stream-response-body = 1
accesslog.filename = "/var/log/lighttpd/access-pihole.log"
accesslog.format = "%{%s}t|%h|%V|%r|%s|%b"
fastcgi.server = (
".php" => (
"localhost" => (
"socket" => "/run/lighttpd/pihole-php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi",
"min-procs" => 1,
"max-procs" => 1,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "4",
"PHP_FCGI_MAX_REQUESTS" => "10000",
),
"bin-copy-environment" => (
"PATH", "SHELL", "USER"
),
"broken-scriptfilename" => "enable",
)
)
)
setenv.add-response-header = (
"X-Pi-hole" => "The Pi-hole Web interface is working!",
"X-Frame-Options" => "DENY",
"X-XSS-Protection" => "0",
"X-Content-Type-Options" => "nosniff",
"Content-Security-Policy" => "default-src 'self' 'unsafe-inline';",
"X-Permitted-Cross-Domain-Policies" => "none",
"Referrer-Policy" => "same-origin"
)
$HTTP["url"] =~ "^/admin/." {
url.access-deny = ("")
}
$HTTP["url"] =~ "/(teleporter|api_token).php$" {
$HTTP["referer"] =~ "/admin/settings.php" {
setenv.set-response-header = ( "X-Frame-Options" => "SAMEORIGIN" )
}
}
}
else $HTTP["url"] == "/admin" {
url.redirect = ("" => "/admin/")
}
$HTTP["host"] == "pi.hole" {
$HTTP["url"] == "/" {
url.redirect = ("" => "/admin/")
}
}
server.modules += ( "mod_access", "mod_accesslog", "mod_redirect", "mod_fastcgi", "mod_setenv" )

*** [ DIAGNOSING ]: contents of /etc/lighttpd/conf-enabled
/etc/lighttpd/conf-enabled does not exist.

*** [ DIAGNOSING ]: contents of /etc/cron.d

-rw-r--r-- 1 root root 1.7K Aug 19 22:29 /etc/cron.d/pihole
6 3 * * 7 root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updateGravity >/var/log/pihole/pihole_updateGravity.log || cat /var/log/pihole/pihole_updateGravity.log
00 00 * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole flush once quiet
@reboot root /usr/sbin/logrotate --state /var/lib/logrotate/pihole /etc/pihole/logrotate
21 14 * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker
@reboot root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker reboot

*** [ DIAGNOSING ]: contents of /var/log/lighttpd

-rw-r--r-- 1 lighttpd lighttpd 604 Aug 20 21:33 /var/log/lighttpd/error-pihole.log
-----head of error-pihole.log------
2023-08-20 03:46:01: (server.c.1818) logfiles cycled UID = 0 PID = 3641
2023-08-20 21:33:00: (server.c.1521) server started (lighttpd/1.4.54)
2023-08-20 21:33:00: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-0 after connect failed: Connection refused
2023-08-20 21:33:00: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-1 after connect failed: Connection refused
2023-08-20 21:33:00: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-2 after connect failed: Connection refused
2023-08-20 21:33:00: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-3 after connect failed: Connection refused

-----tail of error-pihole.log------
2023-08-20 03:46:01: (server.c.1818) logfiles cycled UID = 0 PID = 3641
2023-08-20 21:33:00: (server.c.1521) server started (lighttpd/1.4.54)
2023-08-20 21:33:00: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-0 after connect failed: Connection refused
2023-08-20 21:33:00: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-1 after connect failed: Connection refused
2023-08-20 21:33:00: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-2 after connect failed: Connection refused
2023-08-20 21:33:00: (gw_backend.c.468) unlink /tmp/php-fastcgi.socket-3 after connect failed: Connection refused

*** [ DIAGNOSING ]: contents of /var/log/pihole

-rw-r--r-- 1 pihole pihole 7.1K Aug 20 22:13 /var/log/pihole/FTL.log
-----head of FTL.log------
[2023-08-20 22:13:43.666 30547M] Shutting down...
[2023-08-20 22:13:43.946 30547M] Finished final database update (stored 15 queries)
[2023-08-20 22:13:43.946 30547M] Waiting for threads to join
[2023-08-20 22:13:43.947 30547M] Thread database (0) is idle, terminating it.
[2023-08-20 22:13:43.949 30547M] Thread housekeeper (1) is idle, terminating it.
[2023-08-20 22:13:43.950 30547M] Thread DNS client (2) is idle, terminating it.
[2023-08-20 22:13:43.951 30547M] All threads joined
[2023-08-20 22:13:43.951 30547M] Joining API worker thread 0
[2023-08-20 22:13:43.952 30547M] Joining API worker thread 1
[2023-08-20 22:13:43.953 30547M] Joining API worker thread 2
[2023-08-20 22:13:43.954 30547M] Joining API worker thread 3
[2023-08-20 22:13:43.955 30547M] Joining API worker thread 4
[2023-08-20 22:13:43.963 30547M] ########## FTL terminated after 18s (code 0)! ##########
[2023-08-20 22:13:44.873 30782M] Using log file /var/log/pihole/FTL.log
[2023-08-20 22:13:44.873 30782M] ########## FTL started on localhost! ##########
[2023-08-20 22:13:44.874 30782M] FTL branch: master
[2023-08-20 22:13:44.874 30782M] FTL version: v5.18.2
[2023-08-20 22:13:44.874 30782M] FTL commit: 6f69dd5
[2023-08-20 22:13:44.874 30782M] FTL date: 2022-10-10 21:56:15 +0100
[2023-08-20 22:13:44.874 30782M] FTL user: root
[2023-08-20 22:13:44.874 30782M] Compiled for armv7l (compiled locally) using cc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)
[2023-08-20 22:13:44.875 30782M] Creating mutex
[2023-08-20 22:13:44.875 30782M] Creating mutex
[2023-08-20 22:13:44.881 30782M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2023-08-20 22:13:44.882 30782M] SOCKET_LISTENING: only local
[2023-08-20 22:13:44.882 30782M] AAAA_QUERY_ANALYSIS: Show AAAA queries
[2023-08-20 22:13:44.882 30782M] MAXDBDAYS: max age for stored queries is 365 days
[2023-08-20 22:13:44.882 30782M] RESOLVE_IPV6: Resolve IPv6 addresses
[2023-08-20 22:13:44.882 30782M] RESOLVE_IPV4: Resolve IPv4 addresses
[2023-08-20 22:13:44.883 30782M] DBINTERVAL: saving to DB file every minute
[2023-08-20 22:13:44.883 30782M] DBFILE: Using /etc/pihole/pihole-FTL.db
[2023-08-20 22:13:44.883 30782M] MAXLOGAGE: Importing up to 24.0 hours of log data
[2023-08-20 22:13:44.883 30782M] PRIVACYLEVEL: Set to 0
[2023-08-20 22:13:44.883 30782M] IGNORE_LOCALHOST: Show queries from localhost
[2023-08-20 22:13:44.883 30782M] BLOCKINGMODE: Null IPs for blocked domains

-----tail of FTL.log------
[2023-08-20 22:13:44.888 30782M] BLOCK_TTL: 2 seconds
[2023-08-20 22:13:44.888 30782M] BLOCK_ICLOUD_PR: Enabled
[2023-08-20 22:13:44.888 30782M] CHECK_LOAD: Enabled
[2023-08-20 22:13:44.888 30782M] CHECK_SHMEM: Warning if shared-memory usage exceeds 90%
[2023-08-20 22:13:44.888 30782M] CHECK_DISK: Warning if certain disk usage exceeds 90%
[2023-08-20 22:13:44.889 30782M] Finished config file parsing
[2023-08-20 22:13:44.889 30782M] WARNING: Starting pihole-FTL as user root is not recommended
[2023-08-20 22:13:44.893 30782M] Database version is 12
[2023-08-20 22:13:44.893 30782M] Resizing "FTL-strings" from 40960 to (81920 * 1) == 81920 (/dev/shm: 1.2MB used, 328.4MB total, FTL uses 1.2MB)
[2023-08-20 22:13:44.894 30782M] Imported 0 alias-clients
[2023-08-20 22:13:44.895 30782M] Database successfully initialized
[2023-08-20 22:13:44.905 30782M] New upstream server: 127.0.0.1:5335 (0/1024)
[2023-08-20 22:13:44.907 30782M] New upstream server: 8.8.4.4:53 (1/1024)
[2023-08-20 22:13:44.910 30782M] Imported 15 queries from the long-term database
[2023-08-20 22:13:44.911 30782M] -> Total DNS queries: 15
[2023-08-20 22:13:44.911 30782M] -> Cached DNS queries: 8
[2023-08-20 22:13:44.911 30782M] -> Forwarded DNS queries: 7
[2023-08-20 22:13:44.911 30782M] -> Blocked DNS queries: 0
[2023-08-20 22:13:44.911 30782M] -> Unknown DNS queries: 0
[2023-08-20 22:13:44.911 30782M] -> Unique domains: 10
[2023-08-20 22:13:44.911 30782M] -> Unique clients: 2
[2023-08-20 22:13:44.912 30782M] -> Known forward destinations: 2
[2023-08-20 22:13:44.912 30782M] Successfully accessed setupVars.conf
[2023-08-20 22:13:44.914 30782M] listening on 0.0.0.0 port 53
[2023-08-20 22:13:44.914 30782M] listening on :: port 53
[2023-08-20 22:13:44.924 30784M] PID of FTL process: 30784
[2023-08-20 22:13:44.924 30784M] Listening on port 4711 for incoming IPv4 telnet connections
[2023-08-20 22:13:44.925 30784M] Listening on port 4711 for incoming IPv6 telnet connections
[2023-08-20 22:13:44.926 30784M] Listening on port 4711 for incoming socket telnet connections
[2023-08-20 22:13:44.927 30784M] INFO: FTL is running as root
[2023-08-20 22:13:44.930 30784/T30801] WARNING: Long-term load (15min avg) larger than number of processors: 13.2 > 1
[2023-08-20 22:13:44.937 30784M] Reloading DNS cache
[2023-08-20 22:13:45.036 30784/T30800] Compiled 0 whitelist and 0 blacklist regex filters for 2 clients in 1.2 msec
[2023-08-20 22:13:45.037 30784/T30800] Blocking status is enabled
[2023-08-20 22:13:47.005 30784M] New upstream server: 8.8.8.8:53 (2/1024)

*** [ DIAGNOSING ]: contents of /dev/shm
total 1.3M
-rw------- 1 root root 324K Aug 20 22:13 FTL-clients
-rw------- 1 root root 244 Aug 20 22:13 FTL-counters
-rw------- 1 root root 4.0K Aug 20 22:13 FTL-dns-cache
-rw------- 1 root root 20K Aug 20 22:13 FTL-domains
-rw------- 1 root root 56 Aug 20 22:13 FTL-lock
-rw------- 1 root root 12K Aug 20 22:13 FTL-overTime
-rw------- 1 root root 4.0K Aug 20 22:13 FTL-per-client-regex
-rw------- 1 root root 176K Aug 20 22:13 FTL-queries
-rw------- 1 root root 12 Aug 20 22:13 FTL-settings
-rw------- 1 root root 80K Aug 20 22:13 FTL-strings
-rw------- 1 root root 604K Aug 20 22:13 FTL-upstreams

*** [ DIAGNOSING ]: contents of /etc

-rw-r--r-- 1 root root 24 Aug 19 23:03 /etc/dnsmasq.conf
conf-dir=/etc/dnsmasq.d

-rw-r--r-- 1 root root 48 Aug 20 21:32 /etc/resolv.conf
nameserver 192.168.1.1
nameserver 115.168.254.2

*** [ DIAGNOSING ]: Pi-hole diagnosis messages

*** [ DIAGNOSING ]: Locale
LANG=

*** [ DIAGNOSING ]: Pi-hole log
-rw-r----- 1 pihole pihole 9.8K Aug 20 22:14 /var/log/pihole/pihole.log
-----head of pihole.log------
Aug 20 22:13:43 dnsmasq[30547]: exiting on receipt of SIGTERM
Aug 20 22:13:44 dnsmasq[30784]: started, version pi-hole-v2.87 cachesize 150
Aug 20 22:13:44 dnsmasq[30784]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n IDN DHCP DHCPv6 Lua TFTP no-conntrack ipset no-nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
Aug 20 22:13:44 dnsmasq[30784]: using nameserver 8.8.8.8#53
Aug 20 22:13:44 dnsmasq[30784]: using nameserver 8.8.4.4#53
Aug 20 22:13:44 dnsmasq[30784]: using nameserver 2001:4860:4860::8888#53
Aug 20 22:13:44 dnsmasq[30784]: using nameserver 2001:4860:4860::8844#53
Aug 20 22:13:44 dnsmasq[30784]: using nameserver 127.0.0.1#5335
Aug 20 22:13:44 dnsmasq[30784]: using only locally-known addresses for onion
Aug 20 22:13:44 dnsmasq[30784]: using only locally-known addresses for bind
Aug 20 22:13:44 dnsmasq[30784]: using only locally-known addresses for invalid
Aug 20 22:13:44 dnsmasq[30784]: using only locally-known addresses for localhost
Aug 20 22:13:44 dnsmasq[30784]: using only locally-known addresses for test
Aug 20 22:13:44 dnsmasq[30784]: read /etc/hosts - 2 addresses
Aug 20 22:13:44 dnsmasq[30784]: read /etc/pihole/custom.list - 1 addresses
Aug 20 22:13:44 dnsmasq[30784]: read /etc/pihole/local.list - 0 addresses
Aug 20 22:13:46 dnsmasq[30784]: query[PTR] 70.1.168.192.in-addr.arpa from 127.0.0.1
Aug 20 22:13:46 dnsmasq[30784]: config 192.168.1.70 is NXDOMAIN
Aug 20 22:13:47 dnsmasq[30784]: query[PTR] 4.4.8.8.in-addr.arpa from 127.0.0.1
Aug 20 22:13:47 dnsmasq[30784]: forwarded 4.4.8.8.in-addr.arpa to 8.8.8.8

-----tail of pihole.log------
Aug 20 22:14:47 dnsmasq[30784]: cached hi.link is 188.114.99.234
Aug 20 22:14:49 dnsmasq[30784]: query[A] adservice.google.com from 192.168.1.70
Aug 20 22:14:49 dnsmasq[30784]: forwarded adservice.google.com to 8.8.8.8
Aug 20 22:14:49 dnsmasq[30784]: reply adservice.google.com is 209.85.233.155
Aug 20 22:14:49 dnsmasq[30784]: reply adservice.google.com is 209.85.233.154
Aug 20 22:14:49 dnsmasq[30784]: reply adservice.google.com is 209.85.233.156
Aug 20 22:14:49 dnsmasq[30784]: reply adservice.google.com is 209.85.233.157
Aug 20 22:14:49 dnsmasq[30784]: query[A] adservice.google.com from 192.168.1.70
Aug 20 22:14:49 dnsmasq[30784]: cached adservice.google.com is 209.85.233.157
Aug 20 22:14:49 dnsmasq[30784]: cached adservice.google.com is 209.85.233.156
Aug 20 22:14:49 dnsmasq[30784]: cached adservice.google.com is 209.85.233.154
Aug 20 22:14:49 dnsmasq[30784]: cached adservice.google.com is 209.85.233.155
Aug 20 22:14:52 dnsmasq[30784]: query[A] hi.link from 192.168.1.70
Aug 20 22:14:52 dnsmasq[30784]: cached hi.link is 188.114.99.234
Aug 20 22:14:52 dnsmasq[30784]: cached hi.link is 188.114.98.234
Aug 20 22:14:55 dnsmasq[30784]: query[A] status.megafon.ru from 192.168.1.70
Aug 20 22:14:55 dnsmasq[30784]: cached status.megafon.ru is NXDOMAIN
Aug 20 22:14:57 dnsmasq[30784]: query[A] hi.link from 192.168.1.70
Aug 20 22:14:57 dnsmasq[30784]: cached hi.link is 188.114.98.234
Aug 20 22:14:57 dnsmasq[30784]: cached hi.link is 188.114.99.234



[✓] ** FINISHED DEBUGGING! **

</details>

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

Looks like you need to compile a newer pihole-FTL binary, or roll back to an older version of CORE and WEB

   CORE_VERSION=v5.17.1
   WEB_VERSION=v5.20.1
   FTL_VERSION=v5.18.2
   GITHUB_CORE_VERSION=v5.17.1
   GITHUB_WEB_VERSION=v5.20.1
   GITHUB_FTL_VERSION=v5.23

Check https://github.com/DesktopECHO/OTL to see if that helps. I have not tried compiling FTL under CentOS in a long time, no idea if this still works.

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

Check https://github.com/DesktopECHO/OTL to see if that helps. I have not tried compiling FTL under CentOS in a long time, no idea if this still works.

Edit: made log collapsible for easier navigation
Scanning dependencies of target sqlite3
[ 25%] Building C object src/database/CMakeFiles/sqlite3.dir/shell.c.o
[ 25%] Building C object src/database/CMakeFiles/sqlite3.dir/sqlite3.c.o
{standard input}: Assembler messages:
{standard input}:772465: Warning: end of file not at end of a line; newline inserted
{standard input}:773706: Error: unknown pseudo-op: `.cfi_e'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
gmake[2]: *** [src/database/CMakeFiles/sqlite3.dir/sqlite3.c.o] Error 1
gmake[1]: *** [src/database/CMakeFiles/sqlite3.dir/all] Error 2
gmake: *** [all] Error 2
.
Stopped

/bin/cp: cannot stat 'pihole-FTL': No such file or directory
Not running

Failed to set capabilities on file `/usr/bin/pihole-FTL' (Operation not supported)
usage: setcap [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) <filenameN> ]

 Note <filename> must be a regular (non-symlink) file.
Warning: Starting pihole-FTL as root because setting capabilities is not supported on this system
FTL started!

or roll back to an older version of CORE and WEB

Which versions should I roll back to?

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

Error: unknown pseudo-op: `.cfi_e'

This might be fixable with a newer assembler (yasm is in EPEL)

Which versions should I roll back to?

https://pi-hole.net/blog/2022/10/10/pi-hole-ftl-v5-18-2-web-v5-16-and-core-v5-13-released/#page-content

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

FYI -- I updated the disk image of Pi-hole on CentOS 7 with the most recent version:

* **[Release v1.7b - August 23, 2023](https://github.com/DesktopECHO/Pi-hole-for-Android/releases/download/v1.7/p4a17b.tgz)**

p4a-install has been updated too, it successfully compiles the latest FTL from source. Tested with my old Rockchip ARMv7 HDMI stick.

It seems that it doesn't have the right glibc version.

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

How so? p4a-install should download/install Pi-hole Core and Web, then compile FTL from source and install that.

If you don't run 'p4a-install` then the versions pre-installed will work, which (at this time anyway) is the latest version of Pi-hole.

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

p4a-install still gives the same

Error: unknown pseudo-op: `.cfi_e'`

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

I have figured out the algorithm for the (re)-deployment (might be useful if the container corrupts when the host device is rebooted, or for new users):

  1. Use the old image (p4a17.tgz). In Linux Deploy settings, set the image size 2000 MB, file system ext2, init enabled, all else disabled (for as little bloat as possible). Install and start the container. SSH into the device. Expected behavior: you can log into the admin panel, but cannot delete the load warning (read-only database)
  2. Write the commands:
sudo su
pihole -up
PIHOLE_SKIP_OS_CHECK=true pihole -r

Expected behavior: you can now delete the warning, but can't enable pi-hole yet.
3. Write the commands:

usermod -a -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin root
usermod -a -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin pihole
usermod -a -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin lighttpd
usermod -a -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin android

Stop and restart the container. Expected behavior: now pi-hole works but cannot filter anything.
4. SSH into the device again. Write the commands:

sudo su
cd /etc/.pihole
git fetch --tags
git reset --hard v5.13
cd /var/www/html/admin
git fetch --tags
git reset --hard v5.16
PIHOLE_SKIP_OS_CHECK=true pihole -r

Set upstream DNS servers (DON'T FORGET THIS! BY DEFAULT NONE ARE SET). Set pi-hole's IP as your router's DNS server. Reboot the router.

  1. (Optional) Add more filters. Whitelist s.youtube.com so youtube history records.

from pi-hole-for-android.

DesktopECHO avatar DesktopECHO commented on August 28, 2024

Doesn't the new image work out-of-the-box before running p4a-install?

Unbound is already configured to be upstream DNS as 127.0.0.1#5335

As far as your build error goes, you can try using GCC 10 to see if that gives a better result. Again, this compiled from source without issue on my ARMv7 device so I'm not sure what's going on.

sudo rpm -Uvh http://buildlogs.cdn.centos.org/c7-devtoolset-10.armhfp/devtoolset-10-gcc/20211029130651/10.2.1-11.1.el7.armhfp/devtoolset-10-gcc-10.2.1-11.1.el7.armv7hl.rpm http://buildlogs.cdn.centos.org/c7-devtoolset-10.armhfp/devtoolset-10-gcc/20211029130651/10.2.1-11.1.el7.armhfp/devtoolset-10-gcc-c++-10.2.1-11.1.el7.armv7hl.rpm http://buildlogs.cdn.centos.org/c7-devtoolset-10.armhfp/devtoolset-10-binutils/20211025110951/2.35-5.el7.2.armhfp/devtoolset-10-binutils-2.35-5.el7.2.armv7hl.rpm  http://buildlogs.cdn.centos.org/c7-devtoolset-10.armhfp/devtoolset-10/20211021143516/10.1-0.el7.armhfp/devtoolset-10-runtime-10.1-0.el7.armv7hl.rpm http://buildlogs.cdn.centos.org/c7-devtoolset-10.armhfp/devtoolset-10-gcc/20211029130651/10.2.1-11.1.el7.armhfp/devtoolset-10-libstdc++-devel-10.2.1-11.1.el7.armv7hl.rpm
sudo sed -i 's#scl enable devtoolset-9 ./build.sh#scl enable devtoolset-10 ./build.sh#g' /usr/local/bin/p4a-install 
sudo /usr/local/bin/p4a-install 

image

from pi-hole-for-android.

warmike01 avatar warmike01 commented on August 28, 2024

Doesn't the new image work out-of-the-box before running p4a-install?

No, there's the "read-only database" error and the glibc error (and you can't update glibc to the needed version with yum)

Unbound is already configured to be upstream DNS as 127.0.0.1#5335

It doesn't work, not out of the box at least, when starting the container there's an error message about unbound: /bin/bash: /sbin/unbound: No such file or directory.

from pi-hole-for-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.