Public bug reported:

When the files /etc/locale.gen, /etc/default/locale and
/var/lib/locales/supported.d/en are locked down to avoid any unnecessary
modifications done to them, the post-installation script of locales
fails ungracefully when trying to sed (due to write permission denial).

Those files are locked down because some updates decide to suddenly
start generating a massive amount of locales and it can have disastrous
effects if there's not a lot of storage e.g.
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1908928

There should really be no need to overwrite or modify those files by the
package's installation without asking, this needs an user prompt or the
user config must be kept.

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- Ungraceful failure when locale postinstallation script can't modify files
+ Ungraceful failure when locale postinstallation script can't modify files it 
shouldn't

** Description changed:

  When the files /etc/locale.gen, /etc/default/locale and
  /var/lib/locales/supported.d/en are locked down to avoid any unnecessary
  modifications done to them, the post-installation script of locales
- fails ungracefully when trying to sed.
+ fails ungracefully when trying to sed (due to write permission denial).
  
  Those files are locked down because some updates decide to suddenly
  start generating a massive amount of locales and it can have disastrous
  effects if there's not a lot of storage e.g.
  https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1908928
  
  There should really be no need to overwrite or modify those files by the
  package's installation without asking, this needs an user prompt or the
  user config must be kept.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1913609

Title:
  Ungraceful failure when locale postinstallation script can't modify
  files it shouldn't

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1913609/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to