> It's pretty serious issue with posgresql packaging, taking into
account that by default Ubuntu's sshd happily uses locale that is
defined on user's desktop :)

That misfeature of ssh was worked around in postgresql-common around the
raring timeframe:

postgresql-common (145) unstable; urgency=low
[...]
  * debian/maintscripts-functions, configure_cluster(): Do not trust the
    locale from the environment, as programs like ssh and sudo propagate
    remote and user locale by default. Instead, only use the locale settings
    from /etc/environment and /etc/default/locale, to prevent trying to
    configure the default cluster with a nonexisting or hard to predict
    locale. (LP: #969462, also see Debian #700271)

 -- Christoph Berg <[email protected]> Mon, 10 Jun 2013 17:01:01 +0200

So if you ssh into a trusty system it should ignore the broken locale
that comes from ssh, and instead just look at /etc/default/locale or
/etc/environment. So as you said this affects trusty: What's the content
of these files there on the system you ssh'ed to? If that actually says
hr_HR.UTF-8 without the locales generated, then this is merely a
misconfigured system. If OTOH this configures a different locale that is
available (locale -a), then apparently the fix above is incomplete. For
that I really need the contents of the above files.

Thanks!

** Package changed: postgresql-9.3 (Ubuntu) => postgresql-common
(Ubuntu)

** Changed in: postgresql-common (Ubuntu)
       Status: Confirmed => Incomplete

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

Title:
  Postgresql installation for MAAS fails on locales missing language
  packs

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1382774/+subscriptions

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

Reply via email to