This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] ldconfig: set LC_COLLATE to C [BZ #22505]


On 2017-12-02 00:40, Aurelien Jarno wrote:
> On 2017-12-01 23:46, Rafal Luzynski wrote:
> > 30.11.2017 23:43 Aurelien Jarno <aurelien@aurel32.net> 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/.
> > 
> > Doing nothing is another good solution IMHO.  Do we know about any actual
> > combination of packages/config files/locales which is broken?
> > 
> > > [...] We really should switch to C.UTF-8, but we don't have
> > > this upstream yet (working on it).
> > 
> > I agree with this.  Carlos, if you are working on C.UTF-8 is it likely that
> > you finish it during this development cycle?  Can we wait until you finish?
> > 
> > 27.11.2017 18:02 Florian Weimer <fweimer@redhat.com> wrote:
> > > [...]
> > > We can also enumerate twice and warn if there are any differences.
> > 
> > I think it's likely (very low probability but nonzero) that a difference
> > exists but very unlikely that it does actually matter.  What should
> > an administrator do when he/she sees such a warning?  Rename the files?
> > What should a casual user do?  An owner of a consumer device?
> 
> I am even afraid that it won't be visible from an administrator point of 
> as ldconfig is not that often run manually.

Looking at all the good work done on locales for the last few versions
and also planned for 2.27, there have already been and there will be
disruptive changes to collation in locales that cause the same kind of
issues than switching the collation to C in ldconfig. We haven't emitted
any warning about that in ldconfig. Usually people are actually rather
happy that the collation finally matches the rules they have learned
about their language.

If there are no objections, I would therefore like to commit this patch
(with the English fixes suggested by Rafal) for 2.27. I still consider
adding an entry to NEWS and packaging change doc worthwhile.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]