Bwrap: No permissions to creating new namespace

When building flatpak with extra-data section, getting this error on installation step:

bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.

Option in enabled:

$ cat /proc/sys/kernel/unprivileged_userns_clone
1

Ubuntu 22.04. Any ideas?

Are you using org.flatpak.Builder? Then it is a known bug, either use it without --install or use flatpak-builder from your distro.

The submission page has a note for this Submission | Flathub Documentation

Yeah, flatpak-builder helped. Could you link the bug (couldn’t find it)?

1 Like