From: Filippo Giunchedi Date: Thu, 2 Jul 2009 13:42:18 +0000 (+0200) Subject: Clarify setcap advice/warning messages X-Git-Tag: lxc_0_6_3~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8747655790610f3505b6370a5393704c33f13637;p=thirdparty%2Flxc.git Clarify setcap advice/warning messages 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 Signed-off-by: Daniel Lezcano --- diff --git a/configure.ac b/configure.ac index 637049277..4149102cc 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