]> git.ipfire.org Git - thirdparty/lxc.git/commit
command socket: use hash if needed
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Sat, 9 Aug 2014 00:28:18 +0000 (00:28 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 19 Sep 2014 22:58:55 +0000 (18:58 -0400)
commit408d0479f33f5fc1107fa88040fd84ddb0209fbc
treec9ece135cc9afc38062552723b34e05d2c6c73d1
parent4dd8d0621a5554da7f49a187faa1fbf7f53d14ca
command socket: use hash if needed

The container command socket is an abstract unix socket containing
the lxcpath and container name.  Those can be too long.  In that case,
use the hash of the lxcpath and lxcname.  Continue to use the path and
name if possible to avoid any back compat issues.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/commands.c