From 0d7d8cfb07f5fcf99ab586ce1c287fee98a50721 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 31 Mar 2023 11:13:38 +0200 Subject: [PATCH] overlay: change error to debug log for unsupported fs The overlay driver previously raised an error when encountering an unsupported filesystem. This commit changes the error message to a debug log, allowing the overlay driver to continue its operation even with unsupported filesystems, without causing a failure. [NO NEW TESTS NEEDED] Introduced-by: https://github.com/containers/storage/pull/1374 Closes: https://github.com/containers/storage/issues/1546 Signed-off-by: Giuseppe Scrivano --- drivers/overlay/overlay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/overlay/overlay.go b/drivers/overlay/overlay.go index d85cdd9514..1a274bfbc5 100644 --- a/drivers/overlay/overlay.go +++ b/drivers/overlay/overlay.go @@ -315,7 +315,7 @@ func Init(home string, options graphdriver.Options) (graphdriver.Driver, error) fsName, ok := graphdriver.FsNames[fsMagic] if !ok { if opts.mountProgram == "" { - return nil, fmt.Errorf("filesystem type %#x reported for %s is not supported with 'overlay': %w", fsMagic, filepath.Dir(home), graphdriver.ErrIncompatibleFS) + logrus.Debugf("filesystem type %#x reported for %s is not supported with 'overlay': %w", fsMagic, filepath.Dir(home), graphdriver.ErrIncompatibleFS) } fsName = "" }