Files
Pierrick Bouvier f115b35ed8 tests/docker/docker.py: do not add-current-user if $UID == 0
root already exists, so this step fails with:
useradd: UID 0 is not unique

The setup where it happens is when working on QEMU using a dev container
with podman, with default root user being mapped to host user. In this
case, uid in container is 0 but effective uid on host is user's id.

Tested-by: John Snow <jsnow@redhat.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Link: https://lore.kernel.org/qemu-devel/20260917221117.274619-4-pierrick.bouvier@oss.qualcomm.com
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
2026-09-18 19:29:56 +00:00
..
2018-07-24 11:45:25 +01:00