From 71bfcb9bddf5f563584eca59baae163f546dde3a Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Fri, 5 Oct 2018 14:09:30 -0400 Subject: [PATCH] arvbox fix "can't write to /dev/stderr" message no issue # Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- tools/arvbox/lib/arvbox/docker/runsu.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/arvbox/lib/arvbox/docker/runsu.sh b/tools/arvbox/lib/arvbox/docker/runsu.sh index 695190a238..88d832f0e8 100755 --- a/tools/arvbox/lib/arvbox/docker/runsu.sh +++ b/tools/arvbox/lib/arvbox/docker/runsu.sh @@ -10,6 +10,8 @@ flock /var/lib/arvados/createusers.lock /usr/local/lib/arvbox/createusers.sh export HOME=/var/lib/arvados +chown arvbox /dev/stderr + if test -z "$1" ; then exec chpst -u arvbox:arvbox:docker $0-service else -- 2.30.2