Commit 87476557 by Filippo Giunchedi Committed by Daniel Lezcano

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: 's avatarFilippo Giunchedi <filippo@esaurito.net> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent e90b6974
...@@ -132,9 +132,9 @@ if test "x$SETCAP" = "xno"; then ...@@ -132,9 +132,9 @@ if test "x$SETCAP" = "xno"; then
Warning: Warning:
-------- --------
The libcap-2 is not installed. That means the tools to The setcap binary was not found. This means the tools to set the
set the privilege for the lxc commands are not available, privilege for the lxc commands are not available, that's ok, but you
that's ok, but you will need to run these commands as root will need to run these commands as root or install libcap-2.
]) ])
...@@ -145,10 +145,10 @@ else ...@@ -145,10 +145,10 @@ else
Advice: 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 you can add the needed capabilities to the tools by invoking
the 'lxc-setcap' script. To remove the capabilities, use the 'lxc-setcap' script. To remove the capabilities, use
'lxc-setcap -d' 'lxc-setcap -d'.
]) ])
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment