Kernel panics on boot after printing "/init: error while loading shared libraries: libsystemd-shared-239.so: cannot open shared object file: No such file or directory"

Solution Verified - Updated -

Issue

  • On reboot, after a kernel update, the system crashes while booting the latest kernel after printing the following message on the console

    /init: error while loading shared libraries: libsystemd-shared-239.so: cannot open shared object file: No such file or directory
    kernel panic - no syncing: Attempted to kill init" exitcode=0x00007f00
    

Environment

  • Red Hat Enterprise Linux 8

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