From b63495d3057f8c266eac4e6e30b3ee6217c5d664 Mon Sep 17 00:00:00 2001 From: Anusha Ragunathan Date: Wed, 6 Apr 2016 18:21:24 -0700 Subject: [PATCH] Be more lenient on auplink errors. On aufs, auplink is run before the Unmount. Irrespective of the result, we proceed to issue a Unmount syscall. In which case, demote erros on auplink to warning. Signed-off-by: Anusha Ragunathan Upstream-commit: dbd9b7e121c2e20e5429fdc97421c9510746161e Component: engine --- components/engine/daemon/graphdriver/aufs/mount.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/daemon/graphdriver/aufs/mount.go b/components/engine/daemon/graphdriver/aufs/mount.go index 36fa62e41b..da1e892f44 100644 --- a/components/engine/daemon/graphdriver/aufs/mount.go +++ b/components/engine/daemon/graphdriver/aufs/mount.go @@ -12,7 +12,7 @@ import ( // Unmount the target specified. func Unmount(target string) error { if err := exec.Command("auplink", target, "flush").Run(); err != nil { - logrus.Errorf("Couldn't run auplink before unmount %s: %s", target, err) + logrus.Warnf("Couldn't run auplink before unmount %s: %s", target, err) } if err := syscall.Unmount(target, 0); err != nil { return err