[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Pvgrub with lz4 compressed kernels
Hi John, On Wed, May 06, 2020 at 04:27:54AM +0000, John S wrote: > As a workaround specific to Ubuntu PV guests I have written an apt > hook using extract-vmlinux to decompress kernels during > installation. (Included 'decompress-kernel') Good idea. I had a quick glance and am a bit worried about some of the temporary paths you use. I haven't verified but as these paths are predictable ahead of time have you checked that they can't be used by a malicious non-root user in the guest to overwrite arbitrary system files? Do you know a way to detect only LZ4 kernel images? That way this technique could be used for only LZ4, as every other compression method works fine at the moment. Decompressed kernel is about 10 times the size of a compressed one, so if guest is using a different compression type it would be good to honour that. > Hope to see some support for this upstream. The complete lack of response on grub-devel is discouraging. If there's anyone who's capable of adding the feature but needs financial compensation to do so, please do contact me off-list; maybe we can arrange something. Although at this point I guess the PV world is moving to PVH. Cheers, Andy
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |