[Bug 1758141] Re: language selecter crashing when trying to change language region german-german to german-switzerland

Gunnar Hjalmarsson 1758141 at bugs.launchpad.net
Fri Mar 23 15:25:00 UTC 2018


Meaningful, highly visible error messages are nice.

But if config files in $HOME, which programs need to write to, are owned
by root, you can't expect your system to work. Programs typically crash
then; root owned files in $HOME may even prevent you from being able to
log in.

If you can show me a reproducible use case where ~/.pam_environment gets
owned by root through normal use of the system, it's indeed a bug which
should be fixed. But probably it happened via some mistake you did
yourself, and error handling can't reasonably anticipate every possible
user error. ;)

With that said, in this case the program did provide useful debugging
info; it did "not just crash":

running '/usr/share/language-tools/save-to-pam-env' failed: no output

That's why I easily could point you to what the problem was.

** Changed in: language-selector (Ubuntu)
       Status: Incomplete => Opinion

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

Title:
  language selecter crashing when trying to change language region
  german-german to german-switzerland

Status in language-selector package in Ubuntu:
  Opinion

Bug description:
  language selecter crashing when trying to change language region
  german-german to german-switzerland

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: language-selector-gnome 0.165.4
  ProcVersionSignature: Ubuntu 4.13.0-37.42~16.04.1-generic 4.13.13
  Uname: Linux 4.13.0-37-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Mar 22 20:27:05 2018
  ExecutablePath: /usr/bin/gnome-language-selector
  InstallationDate: Installed on 2017-12-05 (107 days ago)
  InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
  InterpreterPath: /usr/bin/python3.5
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   SHELL=/bin/bash
   LANG=de_DE.UTF-8
   LANGUAGE=de_DE
   XDG_RUNTIME_DIR=<set>
  SourcePackage: language-selector
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1758141/+subscriptions



More information about the foundations-bugs mailing list