[lxc-devel] [lxd/master] doc: Pass LD_LIBRARY_PATH through sudo

stgraber on Github lxc-bot at linuxcontainers.org
Mon Aug 13 20:34:11 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 354 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180813/3fd5c54c/attachment.bin>
-------------- next part --------------
From a2f02fb11f5ca6ecc0dd05a5662c057760664595 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Mon, 13 Aug 2018 16:33:42 -0400
Subject: [PATCH] doc: Pass LD_LIBRARY_PATH through sudo
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 doc/index.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/index.md b/doc/index.md
index eecd6f8f6..d63cac740 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -94,7 +94,7 @@ Now you can run the daemon (the `--group` sudo bit allows everyone in the sudo
 group to talk to LXD; you can create your own group if you want):
 
 ```bash
-sudo -E $GOPATH/bin/lxd --group sudo
+sudo -E LD_LIBRARY_PATH=$LD_LIBRARY_PATH $GOPATH/bin/lxd --group sudo
 ```
 
 ## Getting started with LXD


More information about the lxc-devel mailing list