You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a PaX enabled kernel, depending on whether CONFIG_PAX_MPROTECT is set, minetest crashes on loading a world or opening the mods menu because LuaJIT is blocked by the kernel.
This is fixed by setting the appropriate flag, using setfattr -v m -n user.pax.flags /usr/bin/minetest.
It would be nice if the ebuild would do this by itself.
I have already filed a bug in the minetest repo (minetest/minetest#5761) and got sent here, to the package maintainer.
The text was updated successfully, but these errors were encountered:
I tried to use setfattr in pkg_preinst() and in pkg_postinst() and both times it didn't work. There are other binaries with PaX flags set. The ebuilds of these binaries should help.
If you have a look at app-emulation/wine-9999 from the Gentoo repo, you might notice that it has a line of inherit pax-utils and does pax-mark psmr "${D}"usr/bin/wine in multilib_src_install_all().
So I think this ebuild should also do the inherit part and do something like pax-mark m "${D}"usr/bin/minetest (if ! use dedicated) (and the same for minetestserver if use server || use dedicated), in src_install().
(To check that the flags are set correctly after installation use getfattr -n user.pax.flags /usr/bin/minetest{,server}
On a PaX enabled kernel, depending on whether
CONFIG_PAX_MPROTECT
is set, minetest crashes on loading a world or opening the mods menu because LuaJIT is blocked by the kernel.This is fixed by setting the appropriate flag, using
setfattr -v m -n user.pax.flags /usr/bin/minetest
.It would be nice if the ebuild would do this by itself.
I have already filed a bug in the minetest repo (minetest/minetest#5761) and got sent here, to the package maintainer.
The text was updated successfully, but these errors were encountered: