Bug 912299
Summary: | kernel installation fails if GREP_OPTIONS is set | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Vasily Averin <vvs> |
Component: | dracut | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3 | CC: | bkb, dracut-maint-list, jstodola, lnovich |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | dracut-004-322.el6 | Doc Type: | Bug Fix |
Doc Text: |
Cause:
dracut makes use of "grep" without unsetting the environment variable GREP_OPTIONS.
Consequence:
If the user has set GREP_OPTIONS while calling yum or running dracut, usages of the "grep" tool could fail because of arbitrary options.
Fix:
dracut now unsets the GREP_OPTIONS environment variable.
Result:
User settings of the GREP_OPTIONS environment variable does not affect the correct operation of dracut anymore.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-11-21 21:55:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Vasily Averin
2013-02-18 10:36:33 UTC
First alpha build for testing: http://people.redhat.com/harald/downloads/dracut/dracut-004-316.el6/ Would be nice, if you could test it. I can confirm that problem is resolved with dracut-004-316.el6 Reproduced with dracut-004-303.el6: [root@localhost ~]# rpm -i --force kernel-2.6.32-424.el6.x86_64.rpm warning: kernel-2.6.32-424.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY The default plymouth plugin (text) doesn't exist E: Failed to install /lib64/libnss_dns-2.12.so mkinitrd failed warning: %posttrans(kernel-2.6.32-424.el6.x86_64) scriptlet failed, exit status 1 [root@localhost ~]# rpm -q dracut dracut-004-303.el6.noarch [root@localhost ~]# Verified with dracut-004-335.el6: [root@localhost ~]# rpm -i --force kernel-2.6.32-424.el6.x86_64.rpm warning: kernel-2.6.32-424.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY [root@localhost ~]# rpm -q dracut dracut-004-335.el6.noarch [root@localhost ~]# System booted correctly after reboot. 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. http://rhn.redhat.com/errata/RHSA-2013-1674.html |