From 6582f9dd16ec79d2afec4fe830835f17b6ec2299 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Mon, 12 Feb 2018 17:11:37 +0100 Subject: [PATCH] system container: add /var/tmp as RW Signed-off-by: Antonio Murdaca --- contrib/system_containers/centos/config.json.template | 11 +++++++++++ contrib/system_containers/fedora/config.json.template | 11 +++++++++++ contrib/system_containers/rhel/config.json.template | 11 +++++++++++ 3 files changed, 33 insertions(+) diff --git a/contrib/system_containers/centos/config.json.template b/contrib/system_containers/centos/config.json.template index 1b2d47ec..19963b3f 100644 --- a/contrib/system_containers/centos/config.json.template +++ b/contrib/system_containers/centos/config.json.template @@ -253,6 +253,17 @@ "source": "/tmp", "type": "bind" }, + { + "destination": "/var/tmp", + "options": [ + "private", + "bind", + "rw", + "mode=755" + ], + "source": "/var/tmp", + "type": "bind" + }, { "destination": "/etc", "options": [ diff --git a/contrib/system_containers/fedora/config.json.template b/contrib/system_containers/fedora/config.json.template index a606ac56..91333f0c 100644 --- a/contrib/system_containers/fedora/config.json.template +++ b/contrib/system_containers/fedora/config.json.template @@ -258,6 +258,17 @@ "source": "/tmp", "type": "bind" }, + { + "destination": "/var/tmp", + "options": [ + "private", + "bind", + "rw", + "mode=755" + ], + "source": "/var/tmp", + "type": "bind" + }, { "destination": "/etc", "options": [ diff --git a/contrib/system_containers/rhel/config.json.template b/contrib/system_containers/rhel/config.json.template index a8295820..120575f4 100644 --- a/contrib/system_containers/rhel/config.json.template +++ b/contrib/system_containers/rhel/config.json.template @@ -248,6 +248,17 @@ "source": "/tmp", "type": "bind" }, + { + "destination": "/var/tmp", + "options": [ + "private", + "bind", + "rw", + "mode=755" + ], + "source": "/var/tmp", + "type": "bind" + }, { "destination": "/etc", "options": [