Package: locales
Version: 2.28-10
Severity: minor
File: /usr/sbin/update-locale

Hi,

when I invoke /usr/sbin/update-locale, the /etc/default/locale file gets
changed even if there was no functional change. This might trigger
intrusion detection mechanisms.

Please consider adapting the script to do the following:

- write new file /etc/default/locale.tmp
- compare files, ignoring order ot environment variables, whitespace and
  comment lines
- if no change, remove /etc/default/locale.tmp
- if changed, mv /etc/default/locale.tmp /etc/default/locale

This avoids unnecessary alarms. Thanks!

Greetings
Marc


-- System Information:
Debian Release: 10.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.1.9-zgws1 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages locales depends on:
ii  debconf [debconf-2.0]  1.5.72
ii  libc-bin               2.28-10
ii  libc-l10n              2.28-10

locales recommends no packages.

locales suggests no packages.

-- debconf information excluded

Reply via email to