[pve-devel] [PATCH 3/3] fwbr bridge cleanup on container umount

Dietmar Maurer dietmar at proxmox.com
Tue Jun 3 08:49:28 CEST 2014


applied, although I don't really understand the origial vzctl code.
Why are those scripts executed inside a for loop?

		for (i = 0; i < 2; i++) {

Any idea?

> +@@ -216,6 +216,8 @@ int vps_umount(vps_handler *h, envid_t veid, const
> fs_param *fs,
> + 			}
> + 			snprintf(buf, sizeof(buf), "%svps.%s", VPS_CONF_DIR,
> + 				UMOUNT_PREFIX);
> ++			snprintf(buf, sizeof(buf), "%s/proxmox.%s", SCRIPTDIR,
> ++				UMOUNT_PREFIX);
> + 		}
> + 	}
> + 	if (!(ret = fsumount(veid, fs)))
> +--




More information about the pve-devel mailing list