[LineageOS Questions & Answers] dungphp:
I am using the root account in Ubuntu to build some P rom versions such as crDroid, LineageOS, ... With the P rom versions, the build has no problems but with the Q rom, there are errors that cannot be fixed.

Error is as follows:

[W][2019-10-02T15:59:41+0700][2521] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files

[W][2019-10-02T15:59:41+0700][2521] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files

[W][2019-10-02T15:59:41+0700][2531] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files

[W][2019-10-02T15:59:41+0700][2531] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files

[W][2019-10-02T15:59:45+0700][2554] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files

[W][2019-10-02T15:59:45+0700][2554] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files

[W][2019-10-02T15:59:51+0700][2602] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files

[W][2019-10-02T15:59:51+0700][2602] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files

[W][2019-10-02T15:59:51+0700][2680] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files

[W][2019-10-02T15:59:51+0700][2680] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files

[W][2019-10-02T15:59:55+0700][4144] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files

[W][2019-10-02T15:59:55+0700][4144] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files

[ 0% 45/31840] Copy init script: out/target/product/hydrogen/obj/ETC/init.qcom.rc_intermediates/init.qcom.rc

FAILED: out/target/product/hydrogen/obj/ETC/init.qcom.rc_intermediates/init.qcom.rc

/bin/bash -c "(out/host/linux-x86/bin/host_init_verifier device/xiaomi/msm8956-common/rootdir/etc/init.qcom.rc out/target/product/hydrogen/obj/ETC/passwd_intermediates/passwd ) && (mkdir -p out/target/product/hydrogen/obj/ETC/init.qcom.rc_intermediates/ ) && (rm -f out/target/product/hydrogen/obj/ETC/init.qcom.rc_intermediates/init.qcom.rc ) && (cp "device/xiaomi/msm8956-common/rootdir/etc/init.qcom.rc" "out/target/product/hydrogen/obj/ETC/init.qcom.rc_intermediates/init.qcom.rc" )"

host_init_verifier: device/xiaomi/msm8956-common/rootdir/etc/init.qcom.rc: 176: chown requires between 2 and 3 arguments

host_init_verifier: device/xiaomi/msm8956-common/rootdir/etc/init.qcom.rc: 177: chmod requires 2 arguments

host_init_verifier: device/xiaomi/msm8956-common/rootdir/etc/init.qcom.rc: 180: chown requires between 2 and 3 arguments

host_init_verifier: device/xiaomi/msm8956-common/rootdir/etc/init.qcom.rc: 181: chmod requires 2 arguments

host_init_verifier: Failed to parse init script 'device/xiaomi/msm8956-common/rootdir/etc/init.qcom.rc' with 4 errors

Please the Dev help me fix this.

Sincerely thank !