when locating namespaces in /proc/<pid>/ns
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 20 Jan 2014 09:58:57 +0000 (10:58 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 20 Jan 2014 09:58:57 +0000 (10:58 +0100)
commitbced0f521341831f5b889232d2f0d14ddca809dc
treed8c564f3b610085dcbff11730d3da7c1878b1fe5
parent9ca8cb1d44dd4cddbfb22eb3dd9c632ab0f1ac11
when locating namespaces in /proc/<pid>/ns
do not use the result of virsh domid to determine <pid> as this would point at the lxc driver
we need to use its - expected single - child process, that instead corresponds to the VM init/systemd instance
lxcsu