docker/libcontainer — pull request #58 by maebashi (2014-06-29 10:47:58+00:00)
Title: fix the order of setns()

You cannot attach to namespaces in random order.
If you enter the mnt namespace before pid your procfs will go nuts.
Note that readdir() doesn't guarantee any ordering.