I tried fc3c7f7f6e9d8adfc4be943160e4ef902436a25d but the problem is still there. When I mount cgroups to /cgroup/lxc I just get an extra lxc in the path:
f9d0d2cbbf401ffb74c251e75581174d91a02cfcThis should be the latest from git://lxc.git.sourceforge.net/gitroot/lxc/lxcOn Thu, Mar 15, 2012 at 8:38 PM, Serge Hallyn <email@example.com> wrote:Which source are you using?Quoting Goran Cetusic (firstname.lastname@example.org):
> Where does lxc-attach get its path for the tasks file?
> I created a rootfs and configfile with the lxc-debian script in /lxc/imunes
> and started the container with lxc-start -n imunes -f /lxc/imunes/config.
> It works but I can't execute anything because of a wrong filepath:
> # lxc-attach -n imunes /bin/bash
> lxc-attach: No such file or directory - failed to open
> The tasks file is in /cgroup/lxc/imunes/tasks - there's an extra /lxc
> there, how do i remove it?
> I applied the patches to enable lxc-attach but am unable to test it.
Can you confirm that you have commit fc3c7f7f6e9d8adfc4be943160e4ef902436a25d?
This sounds like the same thing it was fixing, and AFAICS lxc-attach doesn't
do it's own cgroup parsing, so it should've fixed that.