The vi binary is missing in the initrd.img of Red Hat Enterprise Linux 9.0
Issue
- The
vicommand cannot work in the initial ram image generated bydracut. - It happens with
initrd.imgfor the installation and theinitramfs-*.imggenerated during and after the installation. /usr/bin/viis just a wrapper shell script to run/usr/libexec/vi./usr/bin/viis available in the initial ram image, but/usr/libexec/viis not.
Environment
Red Hat Enterprise Linux 9.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.