<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">We recently ran into libvirt lxc shutdown failing because of mount namespaces not being available:<br>
<br>
# virsh -c lxc:/// start test01<br>
Domain test01 started<br>
 <br>
# virsh -c lxc:/// list <br>
 Id    Name                           State<br>
----------------------------------------------------<br>
 9336  test01                         running<br>
 <br>
# virsh -c lxc:/// shutdown test01<br>
error: Failed to shutdown domain test01<br>
error: Mount namespaces are not available on this platform: Function not implemented<br>
 <br>
/var/log/libvirt/libvirtd.log:<br>
2014-09-03 15:50:50.682+0000: 3030: error : virProcessRunInMountNamespace:999 : Mount namespaces are not available on this platform: Function not implemented<br>
<br>
We're running Debian wheezy with stock libc6 2.13-38, a custom 3.12.15 kernel (with namespace support) and libvirt 1.2.3.<br>
<br>
The patch in this previous thread fixes shutdown for us and we'd like to see it merged upstream:<br>
<br>
https://www.redhat.com/archives/libvir-list/2014-May/msg00175.html<br>
<br>
Thanks,<br>
Steve<br>
<br>
</div>
</body>
</html>