* kdump_post : busybox returns "Applet not found" @ 2010-12-03 16:14 Louis Bouchard 2010-12-05 20:19 ` Neil Horman 0 siblings, 1 reply; 8+ messages in thread From: Louis Bouchard @ 2010-12-03 16:14 UTC (permalink / raw) To: kexec [-- Attachment #1: Type: text/html, Size: 2268 bytes --] [-- Attachment #2: Type: text/plain, Size: 143 bytes --] _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kdump_post : busybox returns "Applet not found" 2010-12-03 16:14 kdump_post : busybox returns "Applet not found" Louis Bouchard @ 2010-12-05 20:19 ` Neil Horman 2010-12-05 20:52 ` Bernhard Walle 0 siblings, 1 reply; 8+ messages in thread From: Neil Horman @ 2010-12-05 20:19 UTC (permalink / raw) To: Louis Bouchard; +Cc: kexec 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 : [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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kdump_post : busybox returns "Applet not found" 2010-12-05 20:19 ` Neil Horman @ 2010-12-05 20:52 ` Bernhard Walle 2010-12-06 10:59 ` Louis Bouchard 2010-12-06 12:03 ` kdump_post : busybox returns "Applet not found" Neil Horman 0 siblings, 2 replies; 8+ messages in thread From: Bernhard Walle @ 2010-12-05 20:52 UTC (permalink / raw) To: kexec Am 05.12.10 21:19, schrieb Neil Horman: > 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? /bin/sh is the default interpreter. Regards, Bernhard _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kdump_post : busybox returns "Applet not found" 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 12:03 ` kdump_post : busybox returns "Applet not found" Neil Horman 1 sibling, 1 reply; 8+ messages in thread From: Louis Bouchard @ 2010-12-06 10:59 UTC (permalink / raw) To: kexec Hello, On 05/12/2010 21:52, Bernhard Walle wrote: > Am 05.12.10 21:19, schrieb Neil Horman: >> 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? > > /bin/sh is the default interpreter. > > > Regards, > Bernhard > > _______________________________________________ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec While, as Bernhard said, /bin/sh is default so the test script does work, the crashdc scripts that I'm testing do have the #!/bin/sh at the beginning, with identical behavior. Kind regards, ..Louis -- Louis Bouchard Linux Support Engineer Team lead, EMEA Linux Competency Center, Linux Advocate, HP HP Technology Services - Global Competency Center Hewlett-Packard Company louis.bouchard@hp.com / Email Mon-Fri 9-17<WET>,<GMT+2> / Working Hours Mark Fay / Manager mark.fay@hp.com / Manager's Email _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kdump_post : busybox returns "Applet not found"' 2010-12-06 10:59 ` Louis Bouchard @ 2010-12-06 13:27 ` Neil Horman 2010-12-06 15:02 ` Louis Bouchard 0 siblings, 1 reply; 8+ messages in thread From: Neil Horman @ 2010-12-06 13:27 UTC (permalink / raw) To: Louis Bouchard; +Cc: kexec On Mon, Dec 06, 2010 at 11:59:08AM +0100, Louis Bouchard wrote: > Hello, > > On 05/12/2010 21:52, Bernhard Walle wrote: > > Am 05.12.10 21:19, schrieb Neil Horman: > >> 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? > > > > /bin/sh is the default interpreter. > > > > > > Regards, > > Bernhard > > > > _______________________________________________ > > kexec mailing list > > kexec@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/kexec > > While, as Bernhard said, /bin/sh is default so the test script does > work, the crashdc scripts that I'm testing do have the #!/bin/sh at the > beginning, with identical behavior. > Try modifying it to #1/bin/msh then, its possible that the script which busybox puts together to emulate /bin/sh isn't working properly. That would tell us what needs fixing Neil > Kind regards, > > ..Louis > > -- > Louis Bouchard > Linux Support Engineer > Team lead, EMEA Linux Competency Center, > Linux Advocate, HP > > HP Technology Services - Global Competency Center > Hewlett-Packard Company > > louis.bouchard@hp.com / Email > Mon-Fri 9-17<WET>,<GMT+2> / Working Hours > Mark Fay / Manager > mark.fay@hp.com / Manager's Email > > _______________________________________________ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kdump_post : busybox returns "Applet not found"' 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 0 siblings, 1 reply; 8+ messages in thread From: Louis Bouchard @ 2010-12-06 15:02 UTC (permalink / raw) To: Neil Horman; +Cc: kexec@lists.infradead.org Hello Neil & al, On 06/12/2010 14:27, Neil Horman wrote: > > Try modifying it to #1/bin/msh then, its possible that the script which busybox > puts together to emulate /bin/sh isn't working properly. That would tell us > what needs fixing > Neil > Looks like this was a "friday afternoon" kinda thing and you were right in pointing to the shebang not being present in my test script. For some ghostly reason, the ! at the start of the script I'm testing disapeared so : #!/bin/sh became # /bin/sh I didn't have any issue with SLES11 since the #! is there. Thanks for your quick help & sorry for the noise. Kind regards, ...Louis -- Louis Bouchard Linux Support Engineer Team lead, EMEA Linux Competency Center, Linux Advocate, HP HP Technology Services - Global Competency Center Hewlett-Packard Company louis.bouchard@hp.com / Email Mon-Fri 9-17<WET>,<GMT+2> / Working Hours Mark Fay / Manager mark.fay@hp.com / Manager's Email _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kdump_post : busybox returns "Applet not found"' 2010-12-06 15:02 ` Louis Bouchard @ 2010-12-06 15:45 ` Neil Horman 0 siblings, 0 replies; 8+ messages in thread From: Neil Horman @ 2010-12-06 15:45 UTC (permalink / raw) To: Louis Bouchard; +Cc: kexec@lists.infradead.org On Mon, Dec 06, 2010 at 04:02:57PM +0100, Louis Bouchard wrote: > Hello Neil & al, > > On 06/12/2010 14:27, Neil Horman wrote: > > > > Try modifying it to #1/bin/msh then, its possible that the script > which busybox > > puts together to emulate /bin/sh isn't working properly. That would > tell us > > what needs fixing > > Neil > > > > Looks like this was a "friday afternoon" kinda thing and you were right > in pointing to the shebang not being present in my test script. > > For some ghostly reason, the ! at the start of the script I'm testing > disapeared so : > > #!/bin/sh > > became > > # /bin/sh > > I didn't have any issue with SLES11 since the #! is there. > > Thanks for your quick help & sorry for the noise. > > Kind regards, > > ...Louis > No problem, firday happens to the best of us :) Neil > -- > Louis Bouchard > Linux Support Engineer > Team lead, EMEA Linux Competency Center, > Linux Advocate, HP > > HP Technology Services - Global Competency Center > Hewlett-Packard Company > > louis.bouchard@hp.com / Email > Mon-Fri 9-17<WET>,<GMT+2> / Working Hours > Mark Fay / Manager > mark.fay@hp.com / Manager's Email _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: kdump_post : busybox returns "Applet not found" 2010-12-05 20:52 ` Bernhard Walle 2010-12-06 10:59 ` Louis Bouchard @ 2010-12-06 12:03 ` Neil Horman 1 sibling, 0 replies; 8+ messages in thread From: Neil Horman @ 2010-12-06 12:03 UTC (permalink / raw) To: Bernhard Walle; +Cc: kexec On Sun, Dec 05, 2010 at 09:52:27PM +0100, Bernhard Walle wrote: > Am 05.12.10 21:19, schrieb Neil Horman: > > 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? > > /bin/sh is the default interpreter. > You might want to try adding that, is what I'm saying. Busybox uses msh by default, and may not have the code to handle that same inferrence. Make the interpreter an explicit #!/bin/sh or #!/bin/msh Neil > > Regards, > Bernhard > > _______________________________________________ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-12-06 15:46 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-12-03 16:14 kdump_post : busybox returns "Applet not found" Louis Bouchard 2010-12-05 20:19 ` Neil Horman 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
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.