On Mo, 25.06.18 11:54, Daniel P. Berrangé (berra...@redhat.com) wrote:

> On Mon, Jun 25, 2018 at 12:47:35PM +0200, Lennart Poettering wrote:
> > On Mo, 25.06.18 11:23, Daniel P. Berrangé (berra...@redhat.com) wrote:
> > 
> > > That would break applications like libguestfs which run as non-root and
> > > have valid need to access /boot/vmlinuz*
> > 
> > Hmm, can you elaborate on that? What precisely do they need there?
> 
> libguestfs boots a KVM guest to do its work inside and uses the installed
> kernel image from /boot/vmlinuz-$UNAME_R for this purpose, together with
> a custom initrd image with specific modules + specialized init binary.
> 
> > If it's just the kernel image itself then they shouldn't really use
> > /boot anyway I figure, but instead the kernel in
> > /usr/lib/modules/`uname -r`/vmlinux. It's the same thing really.
> 
> I wasn't aware of that duplicate vmlinuz file, I wonder how portable
> that is across distros.

I figure it should check /usr/lib/modules/`uname -r`/vmlinux first,
and then fall back to /boot/vmlinuz-$UNAME_R only if that didn't
exist.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/I4FGGMW4Y7NFCNBFPILEVUYAG347FZFO/

Reply via email to