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: | ||
<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: | ||
<pre> | |||
# /etc/sysctl.d/60-apparmor-namespace.conf | |||
kernel.apparmor_restrict_unprivileged_userns=0 | |||
</pre> | |||
| | | | ||