Theodore Ts'o wrote: > On Thu, Dec 05, 2024 at 01:02:29PM -0800, Josh Triplett wrote: >> https://bugs.debian.org/1089110 > > I've looked at this bug, but unlessed I missed something, this seems > to be "rm -rf /usr/share/locale" shouldn't cause binaries to core > dump. I'm guessing this is the reason for the "beware of the leopard" > vibe in the documentation of localepurge package? I didn't realize > binaries would be so ill-behaved as to crash if the locale files were > missing. Sigh...
This policy proposal does even less than that; it just says that packages must not require files on /usr/share/locale *when using a C or C.UTF-8 locale*. It makes no promises about other configurations. > Perhaps we should have a separate debian policy proposal which > explicitly makes a requirement that the locale files should be > separated for anything installed by default by debootstrap, and what > the dependency priority of the *-l10n package should be? We could. On the other hand, with the policy update I've proposed, we could also endorse the use of dpkg exclusions for this instead.