Quoting Aurelien Jarno (2022-10-11 22:14:31) > From what I have understood from your explanation, if the directory exists > chroot_canon() will work, so `ldconfig -r` will be able to create the > aux-cache file in it.
I can confirm this conclusion. The following patch makes our CI pass without any other changes to glibc. --- glibc-2.35/debian/debhelper.in/libc-bin.dirs 2022-09-22 22:06:02.000000000 +0200 +++ glibc-2.35/debian/debhelper.in/libc-bin.dirs 2022-10-12 10:15:46.000000000 +0200 @@ -1,2 +1,3 @@ usr/lib/locale usr/share/libc-bin +var/cache/ldconfig > I still think that the bug should be fixed on the glibc upstream side, > but that would allow to easy fix it on the package side, and it's > probably better to have a closer match of the dpkg database and the file > system. Though I have heard from some people that they want packages to ship only files under /usr and have everything else be created upon instantiation of the machine. This change would go the opposite direction. Thanks! cheers, josch
signature.asc
Description: signature