Hi Serge, here are the updated versions of my patches (I also have to resend the second one due to minor changes in the code from the first patch) that implement the changes you requested. They can be found in the branch attach-fixes-1-v2 at github, <https://github.com/chris-se/lxc/tree/attach-fixes-1-v2> -- Christian