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

2022-10-12 Thread Aurelien Jarno
On 2022-10-12 10:59, Johannes Schauer Marin Rodrigues wrote: > 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

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

2022-10-12 Thread Johannes Schauer Marin Rodrigues
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

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

2022-10-11 Thread Aurelien Jarno
On 2022-10-11 22:06, Johannes Schauer Marin Rodrigues wrote: > 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 Note that it should be the

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

2022-10-11 Thread Johannes Schauer Marin Rodrigues
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

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

2022-10-11 Thread Aurelien Jarno
Hi, On 2022-10-11 21:50, Johannes Schauer Marin Rodrigues wrote: > Hi, > > Quoting Aurelien Jarno (2022-10-11 21:41:05) > > On 2022-10-11 07:57, Johannes Schauer Marin Rodrigues wrote: > > > Package: glibc > > > Version: 2.35-3 > > > Severity: normal > > > Tags: patch > > > > > > Hi, > > > > >

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

2022-10-11 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Aurelien Jarno (2022-10-11 21:41:05) > 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

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

2022-10-11 Thread Aurelien Jarno
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

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

2022-10-11 Thread Johannes Schauer Marin Rodrigues
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