[Bug 1892825] Re: update-locale not perform correctly sanity checks

2022-05-24 Thread Launchpad Bug Tracker
This bug was fixed in the package glibc - 2.27-3ubuntu1.6 --- glibc (2.27-3ubuntu1.6) bionic; urgency=medium [ Gunnar Hjalmarsson ] * d/local/usr_sbin/update-locale: improve sanity checks. (LP: #1892825) [ Aurelien Jarno ] * debian/debhelper.in/libc.preinst: drop the check

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2022-05-12 Thread Michael Hudson-Doyle
Verified that the new version does not generated bogus lines on bionic: root@lp-1892825-bionic:~# cp /etc/default/locale /tmp/locale root@lp-1892825-bionic:~# update-locale --locale-file /tmp/locale LANG = C.UTF-8 root@lp-1892825-bionic:~# diff -u /etc/default/locale /tmp/locale ---

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2022-05-11 Thread Robie Basak
Hello bs, or anyone else affected, Accepted glibc into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/glibc/2.27-3ubuntu1.6 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2022-05-11 Thread Gunnar Hjalmarsson
This was fixed in devel (and with that jammy) through the upload of glibc 2.35-0ubuntu1, even if it wasn't mentioned in d/changelog. So marking as fixed. ** Changed in: glibc (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2022-05-10 Thread Launchpad Bug Tracker
This bug was fixed in the package glibc - 2.31-0ubuntu9.9 --- glibc (2.31-0ubuntu9.9) focal; urgency=medium * Disable testsuite on riscv64. It is failing maths tests intermittently in ways that cannot be a glibc regression and is disabled in later series anyway. glibc

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2022-04-25 Thread Michael Hudson-Doyle
Verified: root@focal-vm:~# dpkg -l locales | grep ^ii ii locales2.31-0ubuntu9.7 all GNU C Library: National Language (locale) data [support] root@focal-vm:~# cp /etc/default/locale /tmp/locale root@focal-vm:~# update-locale --locale-file /tmp/locale LANGUAGE = en_US.UTF-8

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2022-03-16 Thread Brian Murray
** Changed in: glibc (Ubuntu Hirsute) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1892825 Title: update-locale not perform correctly sanity checks To manage

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2022-03-09 Thread Michael Hudson-Doyle
** Description changed: [impact] A simple typo using the update-locale script can render a system inoperable without booting into single user mode or similar: $ sudo update-locale LANGUAGE = en_US.UTF-8 $ sudo -s sudo: pam_open_session: Bad item passed to pam_*_item() sudo: policy

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2022-02-10 Thread Brian Murray
Hello bs, or anyone else affected, Accepted glibc into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/glibc/2.31-0ubuntu9.5 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2022-01-25 Thread Michael Hudson-Doyle
Oh heh Gunnar had done that already :) Doubly verified then. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1892825 Title: update-locale not perform correctly sanity checks To manage notifications

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2022-01-25 Thread Michael Hudson-Doyle
Verified: root@focal:~# dpkg-query -W libc6 libc6:amd64 2.31-0ubuntu9.2 root@focal:~# cp /etc/default/locale /tmp/locale root@focal:~# update-locale --locale-file /tmp/locale LANGUAGE = en_US.UTF-8 root@focal:~# diff -u /etc/default/locale /tmp/locale --- /etc/default/locale 2019-10-21

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2021-12-13 Thread Gunnar Hjalmarsson
I verified the test case using locales 2.31-0ubuntu9.4 from focal- proposed. ** Tags removed: verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2021-12-12 Thread Steve Langasek
Hello bs, or anyone else affected, Accepted glibc into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/glibc/2.31-0ubuntu9.4 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2021-11-14 Thread Michael Hudson-Doyle
** Description changed: + [impact] + A simple typo using the update-locale script can render a system inoperable without booting into single user mode or similar: + + $ sudo update-locale LANGUAGE = en_US.UTF-8 + $ sudo -s + sudo: pam_open_session: Bad item passed to pam_*_item() + sudo: policy

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2021-10-19 Thread Michael Hudson-Doyle
Fwiw I reported this as a pam bug too https://github.com/linux- pam/linux-pam/issues/395 ** Bug watch added: github.com/linux-pam/linux-pam/issues #395 https://github.com/linux-pam/linux-pam/issues/395 -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2021-10-18 Thread Michael Hudson-Doyle
** Also affects: glibc (Ubuntu Impish) Importance: Undecided Status: New ** Also affects: pam (Ubuntu Impish) Importance: Undecided Status: New ** Also affects: glibc (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: pam (Ubuntu Focal)

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2021-10-18 Thread Gunnar Hjalmarsson
@Michael: I could easily reproduce the issue at the time (a year ago). Good that it's about to be fixed. As you can see in comment #2 I first turned to Debian, but the response was a bit disappointing. Any chance that you can handle this on the Debian side too? -- You received this bug

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2021-10-18 Thread Michael Hudson-Doyle
Adding a pam task, pam_env does some sanity checking of the input (e.g. %=1 in /etc/default/locale gets ignored) so I don't see why an empty variable name should cause a total failure. But will fix the update- locale script too. ** Also affects: pam (Ubuntu) Importance: Undecided

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2021-10-14 Thread Gunnar Hjalmarsson
Thanks Dan, I changed the MR in accordance with your suggestion. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1892825 Title: update-locale not perform correctly sanity checks To manage

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2021-10-14 Thread Dan Bungert
It would be nice to merge something, the failure case listed above is pretty nasty. Please see the launchpad MP, I have a suggestion. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1892825 Title:

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2021-02-06 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~gunnarhj/ubuntu/+source/glibc/+git/glibc/+merge/397621 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1892825 Title: update-locale not

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2020-12-10 Thread Mathew Hodson
** Tags added: patch-forwarded-debian -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1892825 Title: update-locale not perform correctly sanity checks To manage notifications about this bug go to:

[Bug 1892825] Re: update-locale not perform correctly sanity checks

2020-08-25 Thread Gunnar Hjalmarsson
Thanks for your report. Submitted merge request which ought to prevent this from happening. https://salsa.debian.org/glibc-team/glibc/-/merge_requests/1 ** Changed in: glibc (Ubuntu) Importance: Undecided => Medium ** Changed in: glibc (Ubuntu) Status: New => In Progress ** Changed