Univention Bugzilla – Bug 47763
Regression: Readonly docker container App installation fails
Last modified: 2018-09-26 13:24:45 CEST
837dc14a in Bug #47373 introduced the removal of container files /etc/timezone and /etc/localtime: appcenter-docker/actions/docker_base.py docker.execute('rm', '/etc/timezone', '/etc/localtime') This causes the app installation to fail when the docker container is used in read-only mode. Installation via UMC just fails. Using univention-app, the installation waits for confirmation from stdin, because the file cannot be removed: ... rm: can't remove '/etc/timezone': No such file or directory rm: remove '/etc/localtime'? Calling ['docker', 'cp', '/etc/timezone', 'fa35cd91d563a24b45940e7b40bc0414197d7206c3ea353bfbd085942a67266f:/etc/timezone'] ... rm: remove '/etc/localtime'? waits for confirmation before continuing the installation. Maybe using rm -f fixes the issue. +++ This bug was initially created as a clone of Bug #47373 +++
univention-appcenter: f953e91706b9aaaff5a4bcee1766f85c8314a75a yaml: 891374c8a7e1a9db324203638aeecbe68353b513
Ok, works
<http://errata.software-univention.de/ucs/4.3/249.html>