On Sat, 21 Mar 2015 17:11:32 +0200 Timo Korvola <[email protected]> wrote:
On 21.03.2015 13:28, Bastian Blank wrote:
> The binaries from thin-provisioning-tools depends on libstdc++, so they
> must reside in /usr.
Ditto for cache_check. This seems to be getting complicated.
In order to support cached root, cache_check and hence libstdc++ need to
be on initrd. The boot scripts could be modified to activate all volume
groups before mounting root. Then it should not matter if cache_check
is not on the actual root.
Another possibility would be to do fsck and mounting in three phases
instead of two: first fsck and mount root, then /usr and other
non-cached volumes and finally cached volumes. Root and /usr could not
be cached then.
Or maybe just link statically to libstdc++.
Upstream thinprovtools now DO support static linkage for libstdc++.
Please fix packaging and close BZ.
Regards
Zdenek