The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7449
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
From f446474082e1dd32272fb16b2754f4fbd24920c4 Mon Sep 17 00:00:00 2001 From: Christian Brauner <christian.brau...@ubuntu.com> Date: Wed, 27 May 2020 15:21:48 +0200 Subject: [PATCH] forkuevent: fix slice allocation Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> --- lxd/instance/drivers/driver_lxc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd/instance/drivers/driver_lxc.go b/lxd/instance/drivers/driver_lxc.go index dbdad27bff..bbf0394b0c 100644 --- a/lxd/instance/drivers/driver_lxc.go +++ b/lxd/instance/drivers/driver_lxc.go @@ -1842,7 +1842,7 @@ func (c *lxc) DeviceEventHandler(runConf *deviceConfig.RunConfig) error { } for _, eventParts := range runConf.Uevents { - ueventArray := make([]string, 4) + ueventArray := make([]string, 6) ueventArray[0] = "forkuevent" ueventArray[2] = "inject" ueventArray[1] = "--"
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel