[lxc-devel] [PATCH 1/5] Clarify setcap advice/warning messages

Filippo Giunchedi filippo at esaurito.net
Thu Jul 2 13:10:52 UTC 2009


Probably a mention to libcap-2 is worth keeping, though it might be
clearer to point to setcap binary directly.

Signed-off-by: Filippo Giunchedi <filippo at esaurito.net>
---
 configure.ac |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 19c9808..8da4c8a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -132,9 +132,9 @@ if test "x$SETCAP" = "xno"; then
 Warning:
 --------
 
-The libcap-2 is not installed. That means the tools to
-set the privilege for the lxc commands are not available,
-that's ok, but you will need to run these commands as root
+The setcap binary was not found. This means the tools to set the
+privilege for the lxc commands are not available, that's ok, but you
+will need to run these commands as root or install libcap-2.
 
 ])
 
@@ -145,10 +145,10 @@ else
 Advice:
 -------
 
-If you which to have a non root user to use the lxc tools,
+If you wish to have a non root user to use the lxc tools,
 you can add the needed capabilities to the tools by invoking
 the 'lxc-setcap' script. To remove the capabilities, use
-'lxc-setcap -d'
+'lxc-setcap -d'.
 ])
 
 fi
-- 
1.6.3.3





More information about the lxc-devel mailing list