]> git.ipfire.org Git - thirdparty/lxc.git/commit
attach: don't use confstr(_CS_PATH)
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 23 Oct 2014 04:34:05 +0000 (04:34 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 27 Oct 2014 21:02:07 +0000 (17:02 -0400)
commitcfa70b8824e3830482864f97e195f60c12ad9098
tree97dfbcb75ce3a2fae93a33b45b039f25c347ae3f
parent48921d92b597a8560f8392ff7981f9f233295b35
attach: don't use confstr(_CS_PATH)

It is not system-definable, rather glibc sets that to bin:/usr/bin, which is
simply too restrictive.  So just always set our preferred path.

This was reported at:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1384327

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