[pve-devel] [PATCH kernel-meta 3/3] pve-efiboot-tool: initialize in mount namespace

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Jul 11 11:22:51 CEST 2019


by re-executing the whole 'pve-efiboot-tool init' command inside a new mount namespace

Co-Developed-By: Thomas Lamprecht <t.lamprecht at proxmox.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 bin/pve-efiboot-tool | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/pve-efiboot-tool b/bin/pve-efiboot-tool
index 6bbf679..abaaf00 100755
--- a/bin/pve-efiboot-tool
+++ b/bin/pve-efiboot-tool
@@ -189,6 +189,7 @@ case "$1" in
 		exit 0
 	;;
 	'init')
+		reexec_in_mountns "$@"
 		shift
 		if [ -z "$1"  ]; then
 			warn "E: <partition> is mandatory."
-- 
2.20.1





More information about the pve-devel mailing list