Skip to content

Ignition fails on duplicate user UIDs #977

Open
@Quantum-Sicarius

Description

@Quantum-Sicarius

Bug

Ignition validation does not consider duplicate user UIDs causing a failure to boot.

Operating System Version

Fedora 32

Ignition Version

v2.3.0

Environment

What hardware/cloud provider/hypervisor is being used to run Ignition?
VMware

Expected Behavior

Validation should pickup duplicate UIDs that will cause bootstrap to fail.

Actual Behavior

Core OS does not boot and drops into an emergency console.

Reproduction Steps

Create a fcc file with users that have a duplicate UID:

    - name: user1
      home_dir: /home/user1
      groups:
        - wheel
        - sudo
        - docker
      shell: /bin/bash
      uid: 9002
    
    - name: user2
      home_dir: /home/user2
      groups:
        - wheel
        - sudo
        - docker
      shell: /bin/bash
      uid: 9002

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions