[PATCH] ldconfig: set LC_COLLATE to C

Florian Weimer fweimer@redhat.com
Mon Nov 27 17:02:00 GMT 2017


On 11/27/2017 05:36 PM, Carlos O'Donell wrote:
> A quick brainstorm:
> 
> * Do nothing. A minimal number of users have broken systems because of collation
>    in their locale breaks certain packages adding known to sort incorrectly entries
>    from their distribution for ld.so.conf.d/.
> 
> * Switch to C collation and have an unknown number of users with broken systems
>    because they used locale specific sorting for files they added to the
>    ld.so.conf.d/ directory to configure their systems.

We can also enumerate twice and warn if there are any differences.

Or provide a tool like (glibc-system-check?) which reports this and 
could be extended over time to also check for use of deprecated 
features/APIs and so on.

Thanks,
Florian



More information about the Libc-alpha mailing list