All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Horman <nhorman@redhat.com>
To: Louis Bouchard <louis.bouchard@hp.com>
Cc: kexec@lists.infradead.org
Subject: Re: kdump_post : busybox returns "Applet not found"
Date: Sun, 5 Dec 2010 15:19:39 -0500	[thread overview]
Message-ID: <20101205201938.GA2265@localhost.localdomain> (raw)
In-Reply-To: <4CF91748.5000401@hp.com>

On Fri, Dec 03, 2010 at 05:14:00PM +0100, Louis Bouchard wrote:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> 
> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
> </head>
> <body text="#000000" bgcolor="#ffffff">
> Hello (again)<br>
> <br>
> I did not think that I would come back to you so quickly, but I am
> having an issue with RHEL6 implementation of kexec-tools (apparently
> adapted for kexec-tools 2.0) while testing crashdc on RHEL6 (the
> initial release).<br>
> <br>
> Everytime I trigger a crash with 'kdump_post' set to
> /var/crash/scripts/kdump_post.sh I get the following from busybox :
> kdump-post.sh: applet not found<br>
> <br>
> <blockquote><tt>Copying data&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; : [100%]</tt><br>
>   <tt>Saving core complete</tt><br>
>   <tt>kdump-post.sh: applet not found</tt><br>
>   <tt>dropping to initramfs shell</tt><br>
>   <tt>exiting this shell will reboot your system</tt><br>
> </blockquote>
> For a while, I thought that my crashdc calling script was in cause, but
> I changed kdump_post.sh to one single "echo This is working" line and I
> still get the same thing :<br>
> <br>
> <blockquote><tt># cat /var/crash/scripts/kdump-post.sh</tt><br>
>   <tt>echo "This is working"</tt><br>
>   <tt>/var/crash/scripts/kdump-post.sh</tt><br>
>   <tt>kdump-post.sh: applet not found</tt><br>
>   <tt>msh/ # /var/crash/scripts/kdump-post.sh</tt><br>
>   <tt>This is working</tt><br>
> </blockquote>
I'm kind of suprised this is working at all.  I don't see a #!/bin/sh or
#!/bin/msh line at the top of the script.  How does the system know what
interpreter to use?

Neil



_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  reply	other threads:[~2010-12-05 20:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03 16:14 kdump_post : busybox returns "Applet not found" Louis Bouchard
2010-12-05 20:19 ` Neil Horman [this message]
2010-12-05 20:52   ` Bernhard Walle
2010-12-06 10:59     ` Louis Bouchard
2010-12-06 13:27       ` kdump_post : busybox returns "Applet not found"' Neil Horman
2010-12-06 15:02         ` Louis Bouchard
2010-12-06 15:45           ` Neil Horman
2010-12-06 12:03     ` kdump_post : busybox returns "Applet not found" Neil Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101205201938.GA2265@localhost.localdomain \
    --to=nhorman@redhat.com \
    --cc=kexec@lists.infradead.org \
    --cc=louis.bouchard@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.