[pve-devel] [PATCH container] Revert "use the unmount-namespace stop hook"

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Dec 4 15:10:43 CET 2015


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





More information about the pve-devel mailing list