From e93a9ec6be2ec31765a13bc1f347b662a97b811b Mon Sep 17 00:00:00 2001 From: Mario Loriedo Date: Thu, 21 Nov 2024 16:50:16 +0100 Subject: [PATCH] Add GODEBUG option to use legacy filepath.EvalSymlinks() In go 1.23 filepath.EvalSymlink(path) behavior has changed and it returns an error if path is a Windows junction. The new behavior breaks some functionalities (see #24557). The GODEBUG option `winsymlink=0` allow to get run `EvalSymlink` with its legacy behavior. Signed-off-by: Mario Loriedo --- cmd/podman/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/podman/main.go b/cmd/podman/main.go index dd5b984d8d..77bab16a87 100644 --- a/cmd/podman/main.go +++ b/cmd/podman/main.go @@ -1,3 +1,4 @@ +//go:debug winsymlink=0 package main import (