This reverts commit c0681d663238486cfaeb3a9f81376caa75b94df1.

With some setups this can cause read-only mount options to
be propagated to the host and needs to be investigated
further before being enabled.
---
 src/PVE/LXC.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 80f127c..38ce71c 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -1126,7 +1126,6 @@ sub update_lxc_config {
     $mountpoint->{mp} = '/';
 
     $raw .= "lxc.rootfs = $dir/rootfs\n";
-    $raw .= "lxc.hook.stop = 
/usr/lib/x86_64-linux-gnu/lxc/hooks/unmount-namespace\n";
 
     my $netcount = 0;
     foreach my $k (keys %$conf) {
-- 
2.1.4


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to