[ARVADOS] created: 9cebd15abdbafd3401f0014023964cfdbffaf9ee
git at public.curoverse.com
git at public.curoverse.com
Tue Mar 31 17:14:27 EDT 2015
at 9cebd15abdbafd3401f0014023964cfdbffaf9ee (commit)
commit 9cebd15abdbafd3401f0014023964cfdbffaf9ee
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Tue Mar 31 17:13:06 2015 -0400
5612: Wrap munge with startup script that cleans up /var/run/munge of stale
sockets and pidfiles. Can now run jobs after stopping and restarting
containers.
diff --git a/docker/api/Dockerfile b/docker/api/Dockerfile
index 07acb63..591338c 100644
--- a/docker/api/Dockerfile
+++ b/docker/api/Dockerfile
@@ -1,7 +1,7 @@
# Arvados API server Docker container.
FROM arvados/passenger
-MAINTAINER Tim Pierce <twp at curoverse.com>
+MAINTAINER Ward Vandewege <ward at curoverse.com>
# Install postgres and apache.
RUN apt-get update -qq
@@ -75,6 +75,7 @@ ADD supervisor.conf /etc/supervisor/conf.d/arvados.conf
ADD generated/setup.sh /usr/local/bin/setup.sh
ADD generated/setup-gitolite.sh /usr/local/bin/setup-gitolite.sh
ADD crunch-dispatch-run.sh /usr/local/bin/crunch-dispatch-run.sh
+ADD munge.sh /usr/local/bin/munge.sh
ADD apache2_foreground.sh /etc/apache2/foreground.sh
# Start the supervisor.
diff --git a/docker/api/munge.sh b/docker/api/munge.sh
new file mode 100755
index 0000000..ef10d01
--- /dev/null
+++ b/docker/api/munge.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+rm -rf /var/run/munge
+exec /etc/init.d/munge start
diff --git a/docker/api/supervisor.conf b/docker/api/supervisor.conf
index b01dc1c..c5dd1e9 100644
--- a/docker/api/supervisor.conf
+++ b/docker/api/supervisor.conf
@@ -15,7 +15,7 @@ autorestart=true
[program:munge]
user=root
-command=/etc/init.d/munge start
+command=/usr/local/bin/munge.sh
startsecs=0
[program:slurm]
diff --git a/docker/base/Dockerfile b/docker/base/Dockerfile
index c4b744b..eac212c 100644
--- a/docker/base/Dockerfile
+++ b/docker/base/Dockerfile
@@ -2,7 +2,7 @@
# Based on Debian Wheezy
FROM arvados/debian:wheezy
-MAINTAINER Tim Pierce <twp at curoverse.com>
+MAINTAINER Ward Vandewege <ward at curoverse.com>
ENV DEBIAN_FRONTEND noninteractive
diff --git a/docker/compute/Dockerfile b/docker/compute/Dockerfile
index 462115c..402ed64 100644
--- a/docker/compute/Dockerfile
+++ b/docker/compute/Dockerfile
@@ -20,6 +20,7 @@ RUN addgroup --gid 4005 crunch && mkdir /home/crunch && useradd --uid 4005 --gid
ADD supervisor.conf /etc/supervisor/conf.d/arvados.conf
ADD generated/setup.sh /usr/local/bin/setup.sh
ADD wrapdocker /usr/local/bin/wrapdocker.sh
+ADD munge.sh /usr/local/bin/munge.sh
VOLUME /var/lib/docker
# Start the supervisor.
diff --git a/docker/compute/munge.sh b/docker/compute/munge.sh
new file mode 100755
index 0000000..ef10d01
--- /dev/null
+++ b/docker/compute/munge.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+rm -rf /var/run/munge
+exec /etc/init.d/munge start
diff --git a/docker/compute/supervisor.conf b/docker/compute/supervisor.conf
index 615e55a..b3c715b 100644
--- a/docker/compute/supervisor.conf
+++ b/docker/compute/supervisor.conf
@@ -1,6 +1,6 @@
[program:munge]
user=root
-command=/etc/init.d/munge start
+command=/usr/local/bin/munge.sh
startsecs=0
[program:slurm]
@@ -26,4 +26,3 @@ command=/usr/local/bin/wrapdocker.sh
user=root
command=/etc/init.d/dnsmasq start
startsecs=0
-
diff --git a/docker/postgresql/Dockerfile b/docker/postgresql/Dockerfile
index b6fed4e..8a59acf 100644
--- a/docker/postgresql/Dockerfile
+++ b/docker/postgresql/Dockerfile
@@ -1,7 +1,7 @@
# PostgreSQL Docker container for Arvados.
FROM arvados/debian:wheezy
-MAINTAINER Tim Pierce <twp at curoverse.com>
+MAINTAINER Ward Vandewege <ward at curoverse.com>
# TODO(twp): parameterize variables via autoconf or similar.
ENV POSTGRES_ROOT_PW dummy_pw
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list