-
Notifications
You must be signed in to change notification settings - Fork 184
Description
Bug Report
If any users or groups are defined using the systemd-userdb JSON drop-in files in /usr/lib/userdb
, the coreos-assembler is incorrectly generating a user.ign
file during image creation that duplicates the settings and causes a failure.
Environment
What operating system is being used to run coreos-assembler? Docker
What operating system is being assembled? Variant of fedora-coreos-config with an extra overlay.d
Is coreos-assembler running in Podman or Docker? Podman
If Podman, is coreos-assembler running privileged or unprivileged? privileged
Expected Behavior
Putting files in /usr/lib/userdb/
should have no effect at all on the ignition file generated for the coreos-assembler output image.
Actual Behavior
A user.ign
ignition file is being generated with a passwd
section that duplicates the settings from the /usr/lib/userdb
of the rootfs during image creation.
Reproduction Steps
- Add user and group JSON files for
systemd-userdb
with UID=1000, GID=1000 to the/usr/lib/userdb/
folder via overlay. - Build a qcow2 image
- Attempt to run the qcow2 image in a VM
- See the dracut emergency shell ignition errors about creating the users/groups