Re: [poky] Problem run bitbake on terminal in ubuntu #compiler #poky #yocto #bitbake
Jojan <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <[email protected]> |
Just follow the link ( Ubuntu 24.04 LTS (Noble Numbat) Release Notes)
|
|
|
| | |
|
|
|
| |
Ubuntu 24.04 LTS (Noble Numbat) Release Notes
Noble Numbat Release Notes Table of Contents Introduction New features in 24.04 LTS Known Issues Official flavo...
|
|
|
But you need to have sudo permission.
-
Disable this restriction on the entire system for one boot by executing echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns. This setting is lost on reboot. This similar to the previous behaviour, but it does not mitigate against kernel exploits that abuse the unprivileged user namespaces feature.
-
Disable this restriction using a persistent setting by adding a new file (/etc/sysctl.d/60-apparmor-namespace.conf) with the following contents:
kernel.apparmor_restrict_unprivileged_userns=0
Reboot. This is similar to the previous behaviour, but it does not mitigate against kernel exploits that abuse the unprivileged user namespaces feature.
On Thursday, March 13, 2025 at 08:27:20 AM PDT, bovog via lists.yoctoproject.org <[email protected]> wrote:
Hi,Now I have found an another problem /poky/build$ bitbake core-image-sato
ERROR: User namespaces are not usable by BitBake, possibly due to AppArmor.
See https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#unprivileged-user-namespace-restrictions for more information.Summary: There was 1 ERROR message, returning a non-zero exit code. What I have to do? Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13564): https://lists.yoctoproject.org/g/poky/message/13564
Mute This Topic: https://lists.yoctoproject.org/mt/111656575/4743935
Mute #compiler:https://lists.yoctoproject.org/g/poky/mutehashtag/compiler
Mute #poky:https://lists.yoctoproject.org/g/poky/mutehashtag/poky
Mute #yocto:https://lists.yoctoproject.org/g/poky/mutehashtag/yocto
Mute #bitbake:https://lists.yoctoproject.org/g/poky/mutehashtag/bitbake
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-