Comment 15 for bug 785425

Revision history for this message
Louis Bouchard (louis) wrote :

@Steve

The reason why chroot is not possible, is that the intent of this script is to copy the content of /proc/vmcore to the root filesystem. Using a chroot would make things more complex as part of /proc would need to be made visible.

Using $rootmnt is also my intent. This was only a quick test to see if using LD_LIBRARY_PATH would work following cjwatson's advise.

Regarding the other comments, they pertain to the existing code that is not from me but from the current 0_kdump (kdump.initramfs) script which is part of the kexec-tools package.

As a final note, if choosen, the LD_LIBRARY_PATH option needs to be adapter to serve each architecture for which this can be used (i386,x86_64, arm & powerpc).

Kind regards,
--
Louis