[Buildroot] [Bug 8331] kexec fails due to missing /usr/sbin/shutdown
bugzilla at busybox.net
bugzilla at busybox.net
Sun Sep 13 20:20:49 UTC 2015
https://bugs.busybox.net/show_bug.cgi?id=8331
Peter Korsgaard <jacmet at uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Peter Korsgaard <jacmet at uclibc.org> 2015-09-13 20:20:49 UTC ---
Hmm, looking at the kexec source code I see:
static int my_shutdown(void)
{
char *args[] = {
"shutdown",
"-r",
"now",
NULL
};
execv("/sbin/shutdown", args);
execv("/etc/shutdown", args);
execv("/bin/shutdown", args);
perror("shutdown");
return -1;
}
So having shutdown in /sbin seems fine?
Can you please provide more info about your config and what goes wrong?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the buildroot
mailing list