[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1021577: libc-bin.postinst: please create /var/cache/ldconfig with DPKG_ROOT



Package: glibc
Version: 2.35-3
Severity: normal
Tags: patch

Hi,

when running libc-bin.postinst with DPKG_ROOT non-empty, ldconfig from
the outside is used to operate on the chroot and thus ldconfig will
never create the empty /var/cache/ldconfig directory inside the chroot.

Please consider creating that directory if DPKG_ROOT is non-empty.

For your convenience, I submitted a merge request on salsa fixing this
issue:

https://salsa.debian.org/glibc-team/glibc/-/merge_requests/13

These changes are tested on our CI and allow us to drop the manual
creation of /var/cache/ldconfig to become bit-by-bit reproducible:

https://salsa.debian.org/helmutg/dpkg-root-demo/-/jobs

Thanks!

cheers, josch


Reply to: