tiredofit / docker-fusiondirectory

Dockerized web based LDAP manager
MIT License
48 stars 18 forks source link

Certificates should not be unconditionally chown'ed #25

Closed frebib closed 4 years ago

frebib commented 4 years ago
[cont-init.d] 10-openldap: executing...
chown: changing ownership of '/assets/slapd/certs/<>': Read-only file system
chown: changing ownership of '/assets/slapd/certs/<>': Read-only file system
.. etc
chown: changing ownership of '/assets/slapd/certs': Read-only file system
[cont-init.d] 10-openldap: exited 1.
[cont-init.d] 99-container: executing...
**********************************************************************************************************************
**********************************************************************************************************************
****                                                                                                              ****
****       ERROR - Some initialization scripts haven't completed - All services are now halted                    ****
****             - The following scripts in '/etc/cont-init.d' did not pass their completion check                ****
****                                                                                                              ****
**********************************************************************************************************************
**********************************************************************************************************************

10-openldap

These certificates are shared amongst a few containers on this host, and they do not need to be modified. They are mounted read-only inside the container and this causes the startup to fail

frebib commented 4 years ago

Opened on the wrong repo, sorry