Open joschrew opened 8 months ago
The same issue here.
Now using docker's --mount type=tmpfs,destination=/tmp
. This may be a problem if any user switching is going on (not only here from root to some other user).
Without knowing anything about processing server: Is a default global file-writable logfile a good idea? If this were optional, user could enable one of their choosing? How about workspace-local or syslog/journal?
When I run the ocrd_all docker-image as another user than root
initLogging
causes an error when trying to init the processing-server logfile. Because the logfile is already created during the docker image build process it is owned by root. When I start the ocrd_all container as another user, initLogging might be called and raises an error like this: