Hi, On 2022-10-11 07:57, Johannes Schauer Marin Rodrigues wrote: > 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.
I don't get why this is needed. The point of calling ldconfig -r is to create that directory and create the aux-cache file in it. In my tests ldconfig does create that directory properly when ran with -r. > Please consider creating that directory if DPKG_ROOT is non-empty. Even if it ends up that in some conditions yet to be found, the directory is not created, this doesn't seems correct. This means that aux-cache file is also not created, which is more problematic. Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net