[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#932708: rewrites comments in /etc/locale.gen



On 2019-07-22 07:08, Marc Haber wrote:
> Package: locales
> Version: 2.28-10
> Severity: minor
> 
> Hi,
> 
> a least in buster and later, reconfiguring locales will rewrite
> the comments in /etc/locale.gen which indicate available locales. This
> might confuse file integrity checkers and causes value ping-pong with
> configuration management systems.

This is not something new, basically the postinst script just updates
the file to remove the locales that are not supported anymore and adds
the newly supported ones. The added ones are just added at the end of
the file without modifying the order. Therefore the file is indeed
modified when new locales are added (usually for a new major version),
but for subsequent runs of the posting script, the content should be
left unchanged.

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


Reply to: