mkinitrd fails - Permission denied

Dan grinnz at gmail.com
Sun Apr 9 19:24:44 UTC 2006


Jack Holden wrote:
> I am running FC5 with the 2.6.15-1.2054 kernel and mkinitrd-5.0.32.  
> When I try to create a new initrd, mkinitrd fails with the error:
>     /sbin/mkinitrd: line 975: initrd-2.6.15-1.2054_FC5.TEST.img 
> Permission denied
> I've tried using different file names with the same result.  I've also 
> tried when logged in as root from the initial login (boot level 3) as 
> well as via su from both the cli and xterm.  Same thing.  I've also 
> tried building the initrd in the /boot and /root directories.
>
> I believe that this is the version of mkinitrd that was included with 
> the installation.  I have updated everything via yum update, but I 
> can't run the 2.6.16-2080 kernel yet (problem with dmraid).  I have 
> the source packages for 2.6.15-2054 and 2.6.16-2080 installed.  I have 
> successfully created initrd's before with this system, but I can't 
> remember if it was before or after yum update.  (I think it was after 
> because it was an attempt to fix the dmraid problem with 2.6.16-2080.)
>
> Can anyone suggest a fix or something to look at?  I've looked at 
> mkinitrd and didn't see anything alarming about line 975.  I 
> appreciate any advice.
>
> Thanks,
> Jack Holden
>
Perhaps an SELinux issue. I don't know how to use it so check the vast 
numbers of posts on this list about fixing those issues. Look in your 
logs for avc denied messages.
-Dan




More information about the fedora-list mailing list