From da07e38f7c986dca568466beea8a0b7db60f09db Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Thu, 17 Sep 2020 11:55:54 -0700 Subject: Remove option to panic gofer Gofer panics are suppressed by p9 server and an error is returned to the caller, making it effectively the same as returning EROFS. PiperOrigin-RevId: 332282959 --- runsc/container/container.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'runsc/container') diff --git a/runsc/container/container.go b/runsc/container/container.go index 6e1d6a568..63478ba8c 100644 --- a/runsc/container/container.go +++ b/runsc/container/container.go @@ -902,9 +902,6 @@ func (c *Container) createGoferProcess(spec *specs.Spec, conf *config.Config, bu } args = append(args, "gofer", "--bundle", bundleDir) - if conf.Overlay { - args = append(args, "--panic-on-write=true") - } // Open the spec file to donate to the sandbox. specFile, err := specutils.OpenSpec(bundleDir) -- cgit v1.2.3