Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#7046 - kexec in /usr/sbin and /usr on separate partition
Attached to Project:
Arch Linux
Opened by Jan Peter den Heijer (klixon) - Tuesday, 01 May 2007, 17:25 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 13 May 2007, 11:57 GMT
Opened by Jan Peter den Heijer (klixon) - Tuesday, 01 May 2007, 17:25 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 13 May 2007, 11:57 GMT
|
Detailskexec-tools installs binary "kexec" in /usr/sbin. This causes problems for people who want to use it and have /usr on a separate partition (ie. /usr gets unmounted before kexec is called in rc.shutdown)
Also, kexec is linked against /usr/lib/libz.so.1, so it's not an option to just cp it to /sbin Proposal: include a statically linked kexec and place it in /sbin in the kexec-tools package |
This task depends upon
Closed by Thomas Bächler (brain0)
Sunday, 13 May 2007, 11:57 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in new initscripts/kexec
Sunday, 13 May 2007, 11:57 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in new initscripts/kexec
Once as an rc.d script to load the kernel into memory
The second time is in the very last section of rc.shutdown. There kexec gets called to switch to the kernel that was loaded by the previously mentioned script.
It's a conditional statement that check if kexec is executable and, if it is, executes is, otherwise it does "/sbin/reboot -d -f -i"