On Mon, 17 Aug 2020 00:22:35 -0400
Jon LaBadie <jonfu(a)jgcomp.com> wrote:
The snap called anbox (Android in a Box) requires two
kernel modules ashmem and binder. With the 5.7 kernel
the decision was made to prevent access to a function
"kallsyms_lookup_name" which is needed for dkms to
compile the two modules.
Has anyone come across a workaround that would allow
the anbox snap to work on Fedora 32?
I found this simple workaround with a search,
https://github.com/anbox/anbox-modules/issues/49,
recommending using an older kernel,
or this more involved workaround,
https://github.com/anbox/anbox-modules/issues/51
It seems that the kernel has to be recompiled with the two modules
needed for anbox built in so they no longer need to be loaded as
external.
That pointed to this arch thread about the issue,
https://bbs.archlinux.org/viewtopic.php?id=256552
that has practical tips for getting it working if you have previously
used externally loaded modules.
In Fedora, these are the instructions for building a custom kernel,
https://fedoraproject.org/wiki/Building_a_custom_kernel
Maybe someone else will respond with an easier method.