From 25df1acfff42c9559bae90f803feb3533326bfdb Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Wed, 19 Apr 2017 08:51:40 +0200 Subject: [PATCH] Do not chmod +x pandora_server_installer. Running `chmod +x pandora_server_installer && ./pandora_server_installer` inside a container causes an error when using Docker's aufs storage driver. (cherry picked from commit dc97c29198fdad6428346ff0f3d30193bb554331) --- pandora_server/docker_entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/docker_entrypoint.sh b/pandora_server/docker_entrypoint.sh index 38fc841da2..864334d34a 100755 --- a/pandora_server/docker_entrypoint.sh +++ b/pandora_server/docker_entrypoint.sh @@ -38,7 +38,7 @@ fi #Create the pandora user to run the anyterd, mainly /usr/sbin/useradd -d /home/pandora -s /bin/false -M -g 0 pandora -cd /tmp/pandorafms/pandora_server && chmod +x pandora_server_installer && sync && ./pandora_server_installer --install +cd /tmp/pandorafms/pandora_server && ./pandora_server_installer --install #Configure the Pandora FMS Server to connect to the database sed -i "s/dbname pandora/dbname $PANDORA_DB_NAME/g" /etc/pandora/pandora_server.conf