Bug#773731: cache_check should be on root
zdenek.kabelac at gmail.com
Thu Mar 10 23:05:21 UTC 2016
On Sat, 21 Mar 2015 17:11:32 +0200 Timo Korvola <Timo.Korvola at iki.fi> 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.
More information about the pkg-lvm-maintainers