[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2021-03-01 Thread Balint Reczey
** 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

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-09-14 Thread Scott Moser
** 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

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-09-06 Thread Launchpad Bug Tracker
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

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-09-04 Thread Michael Hudson-Doyle
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

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-08-30 Thread Łukasz Zemczak
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

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-08-23 Thread Michael Hudson-Doyle
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

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-08-23 Thread Łukasz Zemczak
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:

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-08-16 Thread Michael Hudson-Doyle
** 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

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-08-15 Thread Launchpad Bug Tracker
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

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-08-13 Thread Robie Basak
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

Re: [Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-08-07 Thread Michael Hudson-Doyle
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

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-08-07 Thread Scott Moser
@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

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-08-06 Thread Ubuntu Foundations Team Bug Bot
** 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

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-08-06 Thread Michael Hudson-Doyle
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

[Touch-packages] [Bug 1134036] Re: Failure when using ssh with a locale that is not configured on the server

2018-08-06 Thread Michael Hudson-Doyle
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)