System.map file does not have execute permission, so these tests will always evaluate false, and initrd will not be rebuilt. ... def copyExtraModules(self, anaconda, modulesList): kernelVersions = self.kernelVersionList() foundModule = 0 ... if foundModule == 1: for (n, arch, tag) in kernelVersions: if os.access("/boot/System.map-%s" %(n,), os.X_OK): recreateInitrd(n, anaconda.rootPath) ... def doPostInstall(self, anaconda): if flags.test: return ... if len(self._installedDriverModules) > 0 and len(self._installedDriverModules) == len(anaconda.id.extraModules): for (n, arch, tag) in self.kernelVersionList(): if os.access("/boot/System.map-%s" %(n,), os.X_OK): recreateInitrd(n, anaconda.rootPath) ... I think you should have os.R_OK in these two places.
Thanks for the bug report. This is fixed in Fedora as well as the next major release of RHEL. If you require this fix in an update release of RHEL5, please speak to your support representative who will raise it through the appropriate channels. In the meantime, if you have a lot of installations to do, you can apply the fix yourself to yuminstall.py, create an updates image with that file in it, and use updates= in your further installs.