System unable to boot post leapp upgrade from RHEL8 to RHEL 9 failing with `Failed to start Load Kernel Modules`

Solution Verified - Updated -

Issue

  • After leapp upgrade from RHEL8 to RHEL9, system did not boot and was stuck at stage

    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details. 
    [FAILED] Failed to start Rule-based Manager for Device Events and Files.
    See 'systemctl status systemd-udevd.service' for details. 
    A start job for /dev/disk/by-uuid/69d8a426-8782-47cb-a14e-12446ab4a4d3 (3min 5s / no limit)
    
  • Unable to boot and everytime system gets stuck at either /dev/disk/by-uuid/ or Rule-based Manager service job running.

    A start job for Rule-based Manager for Device Events and Files (3min 5s / no limit)
    and
    A start job for /dev/disk/by-uuid/69d8a426-8782-47cb-a14e-12446ab4a4d3 (3min 10s / no limit)
    
  • Entries in /etc/nsswitch.conf caused system boot failure.

    # cat /etc/nsswitch.conf 
    passwd:     sss files systemd cyberark
    group:      cyberark sss files systemd
    initgroups: cyberark files
    

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content