From 51ab500b6cd57ad812af3ceb34637b245a6ad1eb Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Fri, 3 Nov 2017 15:12:22 +0000 Subject: [PATCH] Add /proc/scsi to masked paths This is writeable, and can be used to remove devices. Containers do not need to know about scsi devices. Signed-off-by: Justin Cormack (cherry picked from commit a21ecdf3c8a343a7c94e4c4d01b178c87ca7aaa1) Signed-off-by: Sebastiaan van Stijn --- components/engine/oci/defaults.go | 1 + 1 file changed, 1 insertion(+) diff --git a/components/engine/oci/defaults.go b/components/engine/oci/defaults.go index d706fafcc0..a7fd285060 100644 --- a/components/engine/oci/defaults.go +++ b/components/engine/oci/defaults.go @@ -132,6 +132,7 @@ func DefaultLinuxSpec() specs.Spec { "/proc/timer_list", "/proc/timer_stats", "/proc/sched_debug", + "/proc/scsi", }, ReadonlyPaths: []string{ "/proc/asound",