[lxc-devel] [lxd/master] doc: when building our own lxc too, we need more deps

igalic on Github lxc-bot at linuxcontainers.org
Thu Mar 15 22:12:17 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 339 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180315/3108a6f3/attachment.bin>
-------------- next part --------------
From c98156907411a87ea535e1feafe2deb30f3ab017 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Igor=20Gali=C4=87?= <igor.galic at automatic-server.com>
Date: Thu, 15 Mar 2018 23:02:45 +0100
Subject: [PATCH] doc: when building our own lxc too, we need more deps
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

…to be able to run & pass our tests.
---
 doc/index.md | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/doc/index.md b/doc/index.md
index d8ea52a57..348416c44 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -36,6 +36,14 @@ sudo apt update
 sudo apt install acl dnsmasq-base git golang liblxc1 lxc-dev libacl1-dev make pkg-config rsync squashfs-tools tar xz-utils
 ```
 
+Note that when building LXC yourself, ensure to build it with the appropriate
+security related libraries installed which our testsuite tests. Again, on
+ubuntu, you can get those with:
+
+```bash
+sudo apt install libapparmor-dev libseccomp-dev libcap-dev
+```
+
 There are a few storage backends for LXD besides the default "directory" backend.
 Installing these tools adds a bit to initramfs and may slow down your
 host boot, but are needed if you'd like to use a particular backend:


More information about the lxc-devel mailing list