]> git.proxmox.com Git - pve-container.git/commitdiff
Revert "use the unmount-namespace stop hook"
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 4 Dec 2015 14:10:43 +0000 (15:10 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 4 Dec 2015 15:32:32 +0000 (16:32 +0100)
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

index 80f127c7d366cd79702477be63b6594826e5835c..38ce71cd0f5277bc936f8cc96c7e3d5d0a9442ba 100644 (file)
@@ -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) {