Bug#843809: check that executables don't link to libraries in /usr is broken wrt libsystemd-shared

Ansgar Burchardt ansgar at debian.org
Wed Nov 9 21:11:50 GMT 2016


Michael Biebl writes:
> But now we have a different issue, ldd thinks, that liblz4 is in /lib.:
[...]
> This is because of merged-usr. This more or less renders the whole check
> useless once we build in a chroot which has been created with
> debootstrap --merged-usr
>
> Dunno, maybe we should just drop the check again. Thoughts?

I suppose one could ask dpkg where it thinks the library belongs to.

But as far as I understand, we require /usr is available early, that is
/usr must already be mounted by the initramfs if it is a separate
partition.  Making sure nothing in the root partition links against
libraries from /usr seems a moot exercise when /usr should already be
available even on non-merged-/usr systems.

Ansgar




More information about the Pkg-systemd-maintainers mailing list