Template:Yocto Build Release IMX: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 46: Line 46:
Disable this restriction on the entire system for one boot:
Disable this restriction on the entire system for one boot:


echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
<pre>
echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
</pre>


Disable this restriction using a persistent setting by adding a new file (/etc/sysctl.d/60-apparmor-namespace.conf) with the following contents:
Disable this restriction using a persistent setting by adding a new file (/etc/sysctl.d/60-apparmor-namespace.conf) with the following contents:


# /etc/sysctl.d/60-apparmor-namespace.conf
<pre>
kernel.apparmor_restrict_unprivileged_userns=0
# /etc/sysctl.d/60-apparmor-namespace.conf
 
kernel.apparmor_restrict_unprivileged_userns=0
</pre>
|
|



Revision as of 22:00, 18 November 2024