Hi,

Quoting Aurelien Jarno (2022-10-11 21:55:47)
> Ok, thanks for the details, I'll look at the patch.

thank you!

> Anyway that makes me wonder if we should ship that directory in the libc6
> package, just like apt ships /var/cache/apt and debconf ships
> /var/cache/debconf.

In our DPKG_ROOT CI we compare a chroot tarball created the normal way with a
tarball created with dpkg run with --force-script-chrootless. We added an
additional mode that tries out if this whole thing also works when run without
being the root user but run as the normal user under fakeroot and then we found
the missing /var/cache/ldconfig directory.

So if libc6 would ship that directory, I think my patch would still be needed.
Because if `ldconfig -r` doesn't use the directory, then the last modification
timestamps will differ between a chroot created the normal way and a chroot
created without actually ever running chroot() (the DPKG_ROOT way).

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to