[Buildroot] [Bug 8331] kexec fails due to missing /usr/sbin/shutdown

bugzilla at busybox.net bugzilla at busybox.net
Tue Sep 15 09:41:50 UTC 2015


https://bugs.busybox.net/show_bug.cgi?id=8331

--- Comment #7 from Peter Korsgaard <jacmet at uclibc.org> 2015-09-15 09:41:50 UTC ---
(In reply to comment #5)
> Systemd is providing /usr/sbin/shutdown


Ok, so there's two issues:

- Not all of our init implementations provide shutdown (busybox doesn't,
sysvinit has /sbin/shutdown, systemd has /usr/sbin/shutdown

- Systemd doesn't install it where kexec looks for it

I see that kexec-lite doesn't have such code.

I've never used kexec, but looking at the kexec code I'm not sure what the
shutdown code is for, it seems to just be a wrapper around shutting down that
isn't normally used (as it gets checked before do_exec).

What is your use case for needing it?

-- 
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