How to resolve initramfs generation when missing dhclient?

Updated -

Diagnosis

  • Dracut fails to rebuild the initrd, because the network-legacy module’s dependency is not met.
  • To find out if the system is affected, run as root:
dracut -f -v
  • Which results in the following failure:
dracut: dracut module 'network-legacy' will not be installed, because command 'dhclient' could...

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