Univention Bugzilla – Bug 38011
UCR is not able to update files bind-mounted by docker
Last modified: 2017-02-02 11:59:01 CET
UCR is not able to update files provided by docker, because the files have been bind-mounted into the guest filesystem. UCR tries to create a temporary file and the renames the temp file to original file to perform an atomic replacement. This fails, as the original bind-mounted file cannot be discarded by a simple move.
univention-config-registry has been cherrypicked and patched for scope ucs-teeny.
Changes have been comitted in components/docker univention-config-registry (???): r59435 | Bug #38011: Also adjust backend.py for this and remove tmp files r58905 | Bug #38011: allow UCR to modify bind-mounted files provided by docker
Please merge the changes to 4.1.
Merged commits r58905, r59435 and r61446 with r63349 to 4.1.
I've build the package, the latest version wasn't available. Please add a changelog entry.
Added changelog entry in r64032.
OK: r63349 OK: r64032 OK: touch empty ; mount --bind empty /etc/issue ; ucr commit /etc/issue ; cat empty
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".