I have migrated to sys-apps/openrc (0.2.2), and upgraded sys-fs/udev to 120. And I am having two problems with kexec-tools: 1) /etc/init.d/kexec checks $RC_SOFTLEVEL when stopping. In my system, it does not work until I replace it with $RC_RUNLEVEL 2) Now the first two lines of my /etc/mtab are: rootfs / rootfs rw 0 0 /dev/root / reiserfs rw,noatime 0 0 /dev/root is a symlink to /dev/hda1. I find /etc/init.d/kexec is passing "root=rootfs\n/dev/root" to the new kernel, resulting in kernel panic. I made some modifications to /etc/init.d/kexec and it works for me. I'll post the patch soon. Reproducible: Always
Created attachment 150986 [details, diff] Patch for /etc/init.d/kexec
Does it work using kexec-tools-1.101-r5
(In reply to comment #2) > Does it work using kexec-tools-1.101-r5 > No. Identical problem as in this bug with -r5
(In reply to comment #2) > Does it work using kexec-tools-1.101-r5 > -r5 fails the same way as -r4 did. The uploaded diff works perfectly with -r5 and openrc
Sorry for the delay here. Your patch no longer applies because some other change was made to fix the same bug, maybe? Please post an updated patch if there are still problems (i think we still need the readlink bit at least)
Created attachment 175661 [details, diff] diff file for the kexec.init file
thanks, committed.