This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] test-in-container: Do not set GCONV_PATH, LOCPATH
- From: Florian Weimer <fweimer at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 21 May 2019 15:06:21 +0200
- Subject: Re: [PATCH] test-in-container: Do not set GCONV_PATH, LOCPATH
- References: <xntvdoht17.fsf@greed.delorie.com>
* DJ Delorie:
> Florian Weimer <fweimer@redhat.com> writes:
>> Should we perhaps start with an environment that contains just PATH, and
>> add all the *-ENV variables (but not LOCPATH and GCONV_PATH)?
>
> I hate to put in a "full clean environment" option because we don't know
> what environment variables the user might have set intentionally for
> running the testsuite (distcc, for example). But I see the benefit of
> sanitizing the environment, both from the usual environment and from the
> command line.
Sorry, I don't understand. Why would the user want to run distcc *in
the container*? What reason do we have to believe that the host
environment variable settings (regarding terminal, locales and the like)
are even valid in the container?
Thanks,
Florian