** Description changed:
[impact]
The setup:
1) The user has LC_ALL set to a locale on their machine (or some other LC_*
variable but it's usually LC_ALL).
2) This locale does not exist on an Ubuntu server.
3) The user sshes into the server.
ssh (at least with the settings that
** Changed in: maas (Ubuntu Bionic)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/1134036
Title:
Failure when using ssh with a locale
This bug was fixed in the package base-files - 10.1ubuntu2.3
---
base-files (10.1ubuntu2.3) bionic; urgency=medium
* Install locale-check command to /usr/bin and invoke it from
/etc/profile.d/01-locale-fix.sh to ensure locale related environment
variables are set to valid
I'm not incredibly happy about this approach (doing it in pam_env.so
would be best I think) but it does the job for now. I verified this in a
minimal bionic image with and without base-files from proposed and the
behaviour was as expected.
** Tags removed: verification-needed
I'm not a big fan of this approach but I certainly don't have any better
idea myself. At least the new executable should be relatively fast.
Anyway, let's 'just do it' in this case. I guess the additional libc dep
is a no-op.
** Changed in: base-files (Ubuntu Bionic)
Status: New => Fix
Ah sorry, now done.
** Description changed:
- If LC_ALL is not set (which seems to be the default on a few server
- installations I've done now), mid way through installing, you get this
- backtrace and then the installation just hangs. You can ctrl-c out of
- it but the package is left half
Can we get a Test Case and Regression Potential in the description
following SRU guidelines? Thank you!
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/1134036
Title:
** Also affects: base-files (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: maas (Ubuntu Bionic)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to
This bug was fixed in the package base-files - 10.1ubuntu5
---
base-files (10.1ubuntu5) cosmic; urgency=medium
* Install locale-check command to /usr/bin and invoke it from
/etc/profile.d/01-locale-fix.sh to ensure locale related environment
variables are set to valid
Can I suggest that profile.d/01-locale-check.sh is a misnomer and it
should be called something like profile.d/01-locale-fix.sh instead,
because it (potentially) actively changes things? OTOH /usr/bin/locale-
check is fine because it doesn't change anything in itself.
--
You received this bug
On Wed, 8 Aug 2018 at 02:46, Scott Moser
wrote:
> @mwhudson,
> your suggested change seems reasonable to me.
> I don't love the use of 'eval', but it seems reasonably safe here.
>
I don't either, but I don't think there is any alternative here is
there?
> Instead of quoting you could just
@mwhudson,
your suggested change seems reasonable to me.
I don't love the use of 'eval', but it seems reasonably safe here.
Instead of quoting you could just reject argv[1] input if it
had characters other than [a-zA-z_.-] . Perhaps that makes
this more difficult.
Also, maybe you should try to
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/1134036
Title:
Failure when using ssh with a locale that is not configured on the
server
Status
I've tested this in a minimal image and it appears to work as designed.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/1134036
Title:
Failure when using ssh with a
Here is my proposed patch.
** Changed in: maas (Ubuntu)
Status: Confirmed => Invalid
** Package changed: cloud-init (Ubuntu) => base-files (Ubuntu)
** Changed in: base-files (Ubuntu)
Assignee: (unassigned) => Michael Hudson-Doyle (mwhudson)
** Changed in: base-files (Ubuntu)
15 matches
Mail list logo