Univention Bugzilla – Bug 32311
local buffer as variable in ucc-image and initramfs
Last modified: 2014-10-28 13:17:13 CET
ucc-image scripts (part of the UCC initramfs tools), reserve a buffer of 50MB during image roll out. Some special applications could take advantage of this space if such buffer was set as an (UCR ?) variable on the UCC server. Please see the _check_free_space () function on https://forge.univention.org/svn/dev/branches/ucs-3.1/ucc/univention-ucc-initramfs/initramfs-tools/scripts/ucc
The 'buffer' variable in the initram script function _check_free_space() just checks is a buffer of 50MB is available, it does not reserve it. The space is used for saving the persistent files and ucr variables. If a specific size should be reserved, the image configuration options regarding partitioning (may also use a separate partition script) and the desired image size should be adjusted. The original use case was a very small thinclient image that could not be rolled out because the hardcoded 50MB value caused the check <imagesize+50MB> to fail. We should think about lowering the 50MB value to 5 or 10. If one knows that more space is needed for persistent-{ucr|files}, the image-config and partition should be adjusted.
The reserved space will be lowered to 10MB. After fixing this, the documentation should be updated, and the reserved space be pointed out.
Fix and changelog in r49173 univention-ucc-initramfs 3.0.0-6.94.201404081530
OK - univention-ucc-initramfs OK - Changelog
UCC 2.0 has been released: http://docs.univention.de/release-notes-ucc-2.0.html If this error occurs again, please use "Clone This Bug".