Description
I am in the progress of migrating Docker from 1.12.6 to Docker CE 17.09.1. Part of this migration is to convert from devicemapper to overlay2 drivers.
After upgrading to Docker CE the LDAP container was running fine. The issue was hit when I migrated to the new storage driver.
My LDAP container has the database and config hosted on the Docker Engine and are volume mapped into the Container.
So once the storage driver migration was complete I rebuilt my containers using docker-compose. Except in this startup my ldap server did not start and complained. The logs contained the following output.
*** CONTAINER_LOG_LEVEL = 3 (info)
*** Search service in CONTAINER_SERVICE_DIR = /container/service :
*** link /container/service/:ssl-tools/startup.sh to /container/run/startup/:ssl-tools
*** failed to link /container/service/:ssl-tools/startup.sh to /container/run/startup/:ssl-tools: [Errno 17] File exists
*** link /container/service/slapd/startup.sh to /container/run/startup/slapd
*** failed to link /container/service/slapd/startup.sh to /container/run/startup/slapd: [Errno 17] File exists
*** link /container/service/slapd/process.sh to /container/run/process/slapd/run
*** directory /container/run/process/slapd already exists
*** failed to link /container/service/slapd/process.sh to /container/run/process/slapd/run : [Errno 17] File exists
*** Set environment for startup files
*** Environment files will be proccessed in this order :
Caution: previously defined variables will not be overriden.
/container/environment/99-default/default.startup.yaml
/container/environment/99-default/default.yamlTo see how this files are processed and environment variables values,
run this container with '--loglevel debug'
*** Running /container/run/startup/:ssl-tools...
*** Running /container/run/startup/slapd...
chown: cannot access '/container/service/slapd/install.sh': No such file or directory
*** /container/run/startup/slapd failed with status 1
Any ideas? I enabled extra debugging but it did not reveal anything