Build fedora-bootc:rawhide `anaconda-iso` failed (`No such file or directory: 'useradd'`)
Build fedora-bootc:rawhide anaconda-iso failed
command: sudo podman run --rm -it --privileged --pull=newer --tls-verify=false --security-opt label=type:unconfined_t -v /var/ARTIFACTS/work-anaconda-iso6h8991z3/tmt/plans/bib-image/anaconda-iso/discover/default-0/tests/output:/output -v /var/lib/containers/storage:/var/lib/containers/storage quay.io/centos-bootc/bootc-image-builder:latest --type anaconda-iso --target-arch x86_64 --chown 0:0 --rootfs xfs --use-librepo --verbose 192.168.100.1:5000/hidden:wg3l
bib version: 06843e232c9c4734efba4245143df01d80c93640
Log: https://artifacts.osci.redhat.com/testing-farm/e9e3ebc0-8140-4651-9e80-91b7d4b002d3/
BTW, bib version e13139a7f35c9fb353c5fdee4705f983febccdb3 does not have this issue.
org.osbuild.users: 380d105d42794e816263ed28d329071abb616fab60732453ebdb23660321f183 {
"users": {
"install": {
"uid": 0,
"gid": 0,
"home": "/root",
"shell": "/usr/libexec/anaconda/run-anaconda",
"password": ""
},
"root": {
"password": ""
}
}
}
Traceback (most recent call last):
File "/run/osbuild/bin/org.osbuild.users", line 147, in <module>
r = main(args["tree"], args["options"])
File "/run/osbuild/bin/org.osbuild.users", line 129, in main
useradd(tree, name, uid, gid, groups, description, home, shell, password, expiredate)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/run/osbuild/bin/org.osbuild.users", line 52, in useradd
subprocess.run(["useradd", "--root", root, *arguments, name], check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/subprocess.py", line 554, in run
with Popen(*popenargs, **kwargs) as process:
~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/subprocess.py", line 1039, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/subprocess.py", line 1969, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'useradd'
Still having this myself, building a Kinoite 43 image.
Created https://issues.redhat.com/browse/HMS-9763 so it gets triaged accordingly. I missed it when it was originally reported. Thanks for the update.