pmbootstrap does not work with the hardened Alpine kernel on host system
Created by: ollieparanoid
qemu user emulation appears to be broken and we couldn't fix this right away. But if you want to add support for a kernel based on the grsec patchset, please go ahead!
TLDR: Grsec based kernels are not supported, becauseThis is quite ironic. It appears to be working with the hardened kernel from Arch Linux though.
rfs613 reported in IRC:
Just as an FYI... while pmbootstrap installs an alpine linux chroot, this doesn't work if your host OS is Alpine. More specifically, if you use the default grsec-enabled Alpine. the chroot command works, but inside the chroot, you cannot install setuid binaries. So "apk add sudo" fails with a permission error. This is apparently a grsec feature. It can be disabled, or you can run vanilla kernel (no grsec) to get around it.