From 8483614debd5c6d49b67dd1f681dd0e61c5f39a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Fri, 4 Oct 2024 09:27:25 -0400 Subject: [PATCH] incusd/instance/lxc: Remove restrictions on /run MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apparently some containers put executables in /run... Signed-off-by: Stéphane Graber --- internal/server/instance/drivers/driver_lxc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/instance/drivers/driver_lxc.go b/internal/server/instance/drivers/driver_lxc.go index 2464622c8ec..5d3e6321424 100644 --- a/internal/server/instance/drivers/driver_lxc.go +++ b/internal/server/instance/drivers/driver_lxc.go @@ -2377,7 +2377,7 @@ func (d *lxc) startCommon() (string, []func() error, error) { // Mount /run as a tmpfs if it exists and isn't already mounted. if !slices.Contains(lxcMounts, "/run") { - err := lxcSetConfigItem(cc, "lxc.mount.entry", "none run tmpfs none,nosuid,nodev,noexec,mode=755,optional") + err := lxcSetConfigItem(cc, "lxc.mount.entry", "none run tmpfs none,mode=755,optional") if err != nil { return "", nil, err }