From f3903179d80c473bded7d0a9e40f8e88c8e86291 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 5 Aug 2020 16:12:12 +0200 Subject: [PATCH] Update README.md with tweak needed on arch/manjaro --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 54afc23..d7344c0 100644 --- a/README.md +++ b/README.md @@ -167,6 +167,15 @@ the result as `ynh-dev-base` which can then be used to create your actual dev LXC. (This base can then be used to recreate a fresh Yunohost LXC if you need to destroy your work LXC) +On Archlinux-based distributions (Arch, Manjaro, ...) it was found that it's needed +that LXC/LXD will throw some error about "newuidmap failed to write mapping / Failed +to set up id mapping" ... It can be [fixed with the following](https://discuss.linuxcontainers.org/t/solved-arch-linux-containers-only-run-when-security-privileged-true/4006/4) : + +``` +$ echo "root:1000000:65536" > /etc/subuid +$ echo "root:1000000:65536" > /etc/subgid +``` + Then start your actual dev LXC using : ```bash