$ git clone -n https://gitee.com/yan1hcdc/authselect.git /var/lib/mock/dist-an23-build-python3.11-381326-71833/root/chroot_tmpdir/scmroot/authselect Cloning into '/var/lib/mock/dist-an23-build-python3.11-381326-71833/root/chroot_tmpdir/scmroot/authselect'... $ git fetch origin 2a9e12701a1a2e5879cc0d4b3fea64fad4806f61:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/authselect * [new ref] 2a9e12701a1a2e5879cc0d4b3fea64fad4806f61 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2a9e127 fix: su to a common user in chroot Solution: Set sssd as the default profile (same with an23 minimal installation). Use lua script to avoid 'rm' or 'touch' command not found when authselect-libs installed before coreutils.