Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 486118

Summary: =sys-apps/kexec-tools-2.0.4-r1 - /etc/init.d/kexec: Requested initrd: /boot/initramfs could not be found
Product: Gentoo Linux Reporter: Arthur D. <spinal.by>
Component: [OLD] Core systemAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kernel-misc
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for kexec init.d script

Description Arthur D. 2013-09-26 21:14:44 UTC
Created attachment 359558 [details, diff]
Patch for kexec init.d script

/etc/init.d/kexec start
 * Caching service dependencies                       [ ok ]
 * Configuring kexec ...
 * Requested initrd: /boot/initramfs
 * could not be found                                 [ !! ]
 * ERROR: kexec failed to start

The file /boot/initramfs exists and is readable.

The appropriate configuration lines:
$ grep INITRD /etc/conf.d/kexec 
#INITRD="/boot/fbsplash-emergence-1024x768"
INITRD="/boot/initramfs"

The bug fix is in attachment.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-27 15:50:15 UTC
Looks like your modified /etc/conf.d/kexec is wrong, not the init.d script.
Comment 2 Arthur D. 2013-09-27 15:55:05 UTC
(In reply to Jeroen Roovers from comment #1)
> Looks like your modified /etc/conf.d/kexec is wrong, not the init.d script.

Hello.
Could you please point what exactly is wrong there?
Here's my config:

# egrep -v "^#|^$" /etc/conf.d/kexec
LOAD_DURING_SHUTDOWN="no"
KNAME="kernel"
INITRD="/boot/initramfs"
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2013-09-28 08:46:06 UTC

*** This bug has been marked as a duplicate of bug 481506 ***
Comment 4 Arthur D. 2013-09-28 09:59:26 UTC
Please fix the report title: "... /etc/init.d/kecec ..."
Please change kecec to kexec (I didn't write that title, someone other did).