FS#5486 - several kexec bugs

Attached to Project: Arch Linux
Opened by Dale Blount (dale) - Saturday, 30 September 2006, 21:09 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

1) KPATH by default points to /boot/kernel26 but it should point to /boot/vmlinuz26

2) "/etc/rc.d/kexec load" doesn't work.
line 15 of /etc/rc.d/exec should be changed to:
if [ "$RUNLEVEL" = "6" -o "$1" = "load" ]

3) ROOTPART detection looks a little scary to me (it assumes / will always be listed first in mtab). May I suggest borrowing from mkinitrd:
ROOTPART="$(awk '/^[ \t]*[^#]/ { if ($2 == "/") { print $1; }}' /etc/fstab)"
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 02 October 2006, 11:56 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Sunday, 01 October 2006, 12:23 GMT
sure dale, welcome to the kexec users, you can put in more suggestions here too, for me, jan and neotuli it worked so far quite well.

Loading...