Red Hat Bugzilla – Bug 155986
mkinitrd should not source profiles
Last modified: 2008-02-07 22:25:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-1.3.1 Firefox/1.0.3
Description of problem:
Some user's profiles have cd aliased, and it produces special characters (e.g., to set an xterm title). This confuses mkinitrd, and causes it to produce error messages saying that it can't find modules. To avoid this problem, instead of using "#!/bin/bash" mkinitrd should use "#!/bin/sh" or "#!/bin/bash -norc".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use a cd replacement that sets an xterm title.
2. Run mkinitrd, no modules will be found.
Actual Results: mkinitrd fails
Expected Results: mkinitrd should make an initrd.
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
Fedora Core 3 is not maintained anymore.
Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release, please reopen this bug and assign it to the
corresponding Fedora version.