Something else I noticed:
Couldn't write '1' to 'kernel/unprivileged_userns_clone', ignoring: No such file or directory
This feature is contradicted and is being said to be a heavy security issue: https://github.com/archlinux/linux/commit/479ca137ea2b368c8c8e84d5ce7c4084f5653a0d#diff-02e6057517474f1cfa234bb77eb4f675a81fb1c7136a000ae8b58b63e11a546dR1179
It is also absent in the current kernel: https://github.com/archlinux/linux/blob/master/init/Kconfig#L1183
You might want to add some warning and some check, in case the kernel doesn't support it (mine does not).
Pinned Comments