This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCHv8] nss_db: protect against empty mappings
- From: DJ Delorie <dj at redhat dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: digitalfreak at lingonborough dot com, libc-alpha at sourceware dot org
- Date: Fri, 12 Jul 2019 16:19:57 -0400
- Subject: Re: [PATCHv8] nss_db: protect against empty mappings
"Carlos O'Donell" <carlos@redhat.com> writes:
> I wonder if we can't make the workflow different, an this is purely
> a psychological thing:
>
> (a) Make a "build done" stamp.
What build? What targets? There are a lot of installable bits in the
testroot that can be built independently. Without a fully
dependency-driven install, it's very hard to detect that "something
changed" which would require a re-install.
Of course, we could check for libc.so itself being newer than
install.stamp, and maybe libm.so if it had containerized tests.
> (b) Compare "build done" stamp with "chroot stamp" and if they are
I suspect this could be centralized into the support routines that
handle exit codes; looking at "/install.stamp" and some other file.
Aside from the problem of reliably creating the "some other file", which
would have to be inside the container also.