Yes, it's also described in:
https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890

echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns
is bigger hammer, but works as well.

On Sun, May 19, 2024 at 10:34 PM Etienne Cordonnier via
lists.yoctoproject.org <ecordonnier=snap....@lists.yoctoproject.org>
wrote:
>
> Hi all,
> in order to build poky on Ubuntu 24.04, I have needed this workaround to fix 
> the error "Errno 1 Operation not permitted" when disable_network (from 
> bitbake/lib/bb/utils.py) attempts to write to the file /proc/self/uid_map:
>
> $ sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns
>
> For details, see https://bugs.launchpad.net/ubuntu/+source/dash/+bug/2056555
>
> Étienne
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63138): https://lists.yoctoproject.org/g/yocto/message/63138
Mute This Topic: https://lists.yoctoproject.org/mt/106192359/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to