Red Hat Bugzilla – Bug 1222529
add install_optional_items config option to get rid of vim-minimal dependency
Last modified: 2016-11-04 03:57:47 EDT
+++ This bug was initially created as a clone of Bug #1118988 +++ I have been getting: dracut-install: ERROR: installing 'vi' dracut-install: ERROR: installing '/etc/virc' /usr/lib/dracut/dracut-install -D /var/tmp/initramfs.8LBEMd -a vi /etc/virc ps grep cat rm When installing kernel-3.15.4 and when I intalled kernel-3.15.3. The computer seems to work fine. However, I don't belieive I should be getting this. Please help me to resolve it. Thanks --- Additional comment from Tadas Slotkus on 2014-07-20 07:01:51 EDT --- Getting similar too. Few months ago I ran: yum remove vim-minimal-7.4.179-1.fc20.x86_64 And today during update: Installing : kernel-3.15.6-200.fc20.x86_64 1/6 Installing : kernel-modules-extra-3.15.6-200.fc20.x86_64 2/6 Updating : kernel-headers-3.15.6-200.fc20.x86_64 3/6 Cleanup : kernel-modules-extra-3.14.3-200.fc20.x86_64 4/6 Cleanup : kernel-3.14.3-200.fc20.x86_64 5/6 Cleanup : kernel-headers-3.15.5-200.fc20.x86_64 6/6 dracut-install: ERROR: installing '/etc/virc' /usr/lib/dracut/dracut-install -D /var/tmp/initramfs.N8s7fW -a vi /etc/virc ps grep cat rm Verifying : kernel-headers-3.15.6-200.fc20.x86_64 1/6 Verifying : kernel-modules-extra-3.15.6-200.fc20.x86_64 2/6 Verifying : kernel-3.15.6-200.fc20.x86_64 3/6 Verifying : kernel-modules-extra-3.14.3-200.fc20.x86_64 4/6 Verifying : kernel-headers-3.15.5-200.fc20.x86_64 5/6 Verifying : kernel-3.14.3-200.fc20.x86_64 --- Additional comment from Sandro Bonazzola on 2015-05-11 02:15:59 EDT --- This is affecting also mock builds when the kernel package is one of the dependencies. Rising severity since this make such builds to fail. --- Additional comment from David Caro on 2015-05-11 02:30:19 EDT --- As a workaround on mock, you can install the vim-minimal package manually before running it --- Additional comment from Tuomo Soini on 2015-05-13 14:09:36 EDT --- dracut should depend on vim-minimal. Same problem in rhel7. --- Additional comment from Harald Hoyer on 2015-05-18 08:46:08 EDT --- commit 54b68829b60bc3f4c28cfca1ab0336584fe1e74c Workaround: echo 'install_items=" ps grep cat rm "' > /etc/dracut.conf.d/50-no-vi.conf --- Additional comment from Harald Hoyer on 2015-05-18 08:47:08 EDT ---
Retested with dracut-033-458.el7, this issue is fixed. Moving to VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2530.html