From da429bfdb4a07fad2d8ae7e3cb4ab948788c2347 Mon Sep 17 00:00:00 2001 From: HelDevNull <129184295+HelDevNull@users.noreply.github.com> Date: Wed, 29 Mar 2023 08:26:26 +0200 Subject: [PATCH] Update README.md Testing on early Ubuntu 23.04 with running app in lxc failed due to missing directory /var/lib/lxc/foo/mnt --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4cbbfc5..810f1de 100644 --- a/README.md +++ b/README.md @@ -336,7 +336,15 @@ Uncomment the one you need, see the host's dmesg when `lxc-start` fails with mysterious error messages. For convenience the Debian/Ubuntu is uncommented already. -> **Note:** you may have to add the following two lines to your AppArmor + +> **Note1:** +> You may have to create the directory where to mount the container rootfs +> as it is configured in /var/lib/lxc/foo/config on line 11 +> ```sh +> $ sudo mkdir -p /var/lib/lxc/foo/mnt +> ``` + +> **Note2:** you may have to add the following two lines to your AppArmor > profile to enable writable /etc, /var, /home, and /root directories. > The file is in `/etc/apparmor.d/lxc/lxc-default-with-mounting`: > ```