[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

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 for kernel release
> 255 now that glibc and preinstall script are fixed. (LP: #1962225)

 -- Michael Hudson-Doyle   Tue, 03 May 2022
22:19:39 +1200

** Changed in: glibc (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-05-12 Thread Michael Hudson-Doyle
Verified that libc6 2.27-3ubuntu1.6 can be installed fine in a bionic
docker container an Amazon Linux 2 system with the problematic kernel
version:

root@eef8e8932f4b:/# apt install libc6
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Suggested packages:
  glibc-doc locales
The following packages will be upgraded:
  libc6
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 2831 kB of archives.
After this operation, 1024 B disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libc6 amd64 
2.27-3ubuntu1.6 [2831 kB]
Fetched 2831 kB in 1s (3348 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 4140 files and directories currently installed.)
Preparing to unpack .../libc6_2.27-3ubuntu1.6_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 
/usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at 
/usr/share/perl5/Debcon
f/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Unpacking libc6:amd64 (2.27-3ubuntu1.6) over (2.27-3ubuntu1.5) ...
Setting up libc6:amd64 (2.27-3ubuntu1.6) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 
/usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at 
/usr/share/perl5/Debcon
f/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Processing triggers for libc-bin (2.27-3ubuntu1.5) ...
root@eef8e8932f4b:/# uname -r
4.14.275-207.503.amzn2.x86_64


** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done-bionic

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-05-11 Thread Robie Basak
Hello Michael, 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
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
bionic to verification-done-bionic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-bionic. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: glibc (Ubuntu Bionic)
   Status: Confirmed => Fix Committed

** Tags added: verification-needed verification-needed-bionic

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

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 (2.31-0ubuntu9.8) focal; urgency=medium

  * Update for 20.04. (LP: #1951033)

  [ Balint Reczey ]
  * Cherry-pick upstream patch to fix building with -moutline-atomics
  * Prevent rare deadlock in pthread_cond_signal (LP: #1899800)

  [ Matthias Klose ]
  * Revert: Use DH_COMPAT=8 for dh_strip to fix debug sections for valgrind.
Enables debugging ld.so related issues. (LP: #1918035)
  * Don't strip ld.so on armhf. (LP: #1927192)

  [ Gunnar Hjalmarsson ]
  * d/local/usr_sbin/update-locale: improve sanity checks. (LP: #1892825)

  [ Heitor Alves de Siqueira ]
  * 
d/p/u/git-lp1928508-reversing-calculation-of-__x86_shared_non_temporal.patch:
- Fix memcpy() performance regression on x86 AMD systems (LP: #1928508)

  [ Aurelien Jarno ]
  * debian/debhelper.in/libc.preinst: drop the check for kernel release
> 255 now that glibc and preinstall script are fixed. (LP: #1962225)

  [ Michael Hudson-Doyle ]
  * libc6 on arm64 is now built with -moutline-atomics so libc6-lse can now be
an empty package that is safe to remove. (LP: #1912652)
  * d/patches/u/aarch64-memcpy-improvements.patch: Backport memcpy
improvements. (LP: #1951032)
  * Add test-float64x-yn to xfails on riscv64.

 -- Michael Hudson-Doyle   Thu, 07 Apr 2022
13:24:41 +1200

** Changed in: glibc (Ubuntu Focal)
   Status: Fix Committed => Fix Released

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-05-03 Thread Michael Hudson-Doyle
Verified on an AL2 instance:

root@19bea50a89e2:/# uname -r 
4.14.275-207.503.amzn2.x86_64
root@19bea50a89e2:/# apt install --reinstall libc6=2.31-0ubuntu9.7
Reading package lists... Done
Building dependency tree   
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 2714 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6 amd64 
2.31-0ubuntu9.7 [2714 kB]
Fetched 2714 kB in 0s (16.7 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 4127 files and directories currently installed.)
Preparing to unpack .../libc6_2.31-0ubuntu9.7_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm li
ne 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-
linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 
/usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.30 /usr/sh
are/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
ERROR: Your kernel version indicates a revision number
of 255 or greater.  Glibc has a number of built in
assumptions that this revision number is less than 255.
If you\'ve built your own kernel, please make sure that any
custom version numbers are appended to the upstream
kernel number with a dash or some other delimiter.

dpkg: error processing archive 
/var/cache/apt/archives/libc6_2.31-0ubuntu9.7_amd64.deb (--unpack):
 new libc6:amd64 package pre-installation script subprocess returned error exit 
status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.31-0ubuntu9.7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@19bea50a89e2:/# apt install libc-bin/focal-proposed libc6/focal-proposed 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Selected version '2.31-0ubuntu9.9' (Ubuntu:20.04/focal-proposed [amd64]) for 
'libc-bin'
Selected version '2.31-0ubuntu9.9' (Ubuntu:20.04/focal-proposed [amd64]) for 
'libc6'
Suggested packages:
  manpages glibc-doc locales
The following packages will be upgraded:
  libc-bin libc6
2 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 3356 kB of archives.
After this operation, 7168 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libc6 amd64 
2.31-0ubuntu9.9 [2722 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libc-bin amd64 
2.31-0ubuntu9.9 [633 kB]
Fetched 3356 kB in 0s (18.6 MB/s)  
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 4981 files and directories currently installed.)
Preparing to unpack .../libc6_2.31-0ubuntu9.9_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm li
ne 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-
linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 
/usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.30 /usr/sh
are/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Unpacking libc6:amd64 (2.31-0ubuntu9.9) over (2.31-0ubuntu9.7) ...
Setting up libc6:amd64 (2.31-0ubuntu9.9) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm li
ne 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-
linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 
/usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.30 /usr/sh
are/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
(Reading database ... 4981 files and 

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-04-27 Thread Michael Hudson-Doyle
Hello, could someone affected by this bug test the version of glibc in
focal-proposed? We had to rebuild the package for unrelated reasons.

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-04-25 Thread Matthieu Clemenceau
** Tags added: fr-2274

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-04-22 Thread Adam Kaminski
I did some testing and I didn't run into any issues after updating to
the newer libc6 from -proposed. Looks good.


FROM ubuntu:focal
ENV DEBIAN_FRONTEND noninteractive
RUN mv /bin/uname /bin/uname.orig
RUN printf '#!/bin/bash\n\nif [[ "$1" == "-r" ]] ;then\n echo '5.4.277-277'\n 
exit\nelse\n uname.orig "$@"\nfi' > /bin/uname
RUN chmod 755 /bin/uname
RUN echo "deb http://archive.ubuntu.com/ubuntu/ focal-proposed main" >> 
/etc/apt/sources.list
RUN apt-get update && apt-get upgrade -y libc6
RUN apt-get install --reinstall libc6

docker build -t ${USER}:focal-libc6 .

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-04-18 Thread Konrad Dear
Hi,

Is it possible to add this fix to bionic-backport please? I'm happy to
test and confirm the fix works if required.

It looks harmless to me: https://salsa.debian.org/glibc-
team/glibc/-/commit/b3c76cf1cd0c8b6e4844c6362a45143c136a2900

Thank you.

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-17 Thread Ibrahim Awwal
For those on Bionic/18.04, it looks like the fix hasn't made it back to
bionic yet so there's no package to install for Bionic at the moment.

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-16 Thread Brian Murray
Hello Michael, 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.8
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: glibc (Ubuntu Focal)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-focal

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-14 Thread Martin Klosi
I'm trying to install the fixed package on a docker image, running
Ubuntu 18.04.6, but I get: `91mE: Version '2.35-0ubuntu3' for 'libc6'
was not found`. Running: `RUN apt-get install -y --no-install-recommends
libc6=2.35-0ubuntu3`

Ubuntu version: 
19:36:03  NAME="Ubuntu"
19:36:03  VERSION="18.04.6 LTS (Bionic Beaver)"
19:36:03  ID=ubuntu
19:36:03  ID_LIKE=debian
19:36:03  PRETTY_NAME="Ubuntu 18.04.6 LTS"
19:36:03  VERSION_ID="18.04"
19:36:03  HOME_URL="https://www.ubuntu.com/;
19:36:03  SUPPORT_URL="https://help.ubuntu.com/;
19:36:03  BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/;
19:36:03  
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy;
19:36:03  VERSION_CODENAME=bionic
19:36:03  UBUNTU_CODENAME=bionic

Dockerfile: 
FROM ubuntu:bionic
RUN cat /etc/os-release
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt list -a libc6

Available libc6 versions: 
19:36:11  libc6:
19:36:11Installed: 2.27-3ubuntu1.4
19:36:11Candidate: 2.27-3ubuntu1.5
19:36:11Version table:
19:36:11   2.27-3ubuntu1.5 500
19:36:11  500 http://archive.ubuntu.com/ubuntu bionic-updates/main 
amd64 Packages
19:36:11  500 http://security.ubuntu.com/ubuntu bionic-security/main 
amd64 Packages
19:36:11   *** 2.27-3ubuntu1.4 100
19:36:11  100 /var/lib/dpkg/status
19:36:11   2.27-3ubuntu1 500
19:36:11  500 http://archive.ubuntu.com/ubuntu bionic/main amd64 
Packages

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-09 Thread Launchpad Bug Tracker
This bug was fixed in the package glibc - 2.35-0ubuntu3

---
glibc (2.35-0ubuntu3) jammy; urgency=medium

  * debian/rules.d/build.mk: build with --with-default-link=no.

 -- Michael Hudson-Doyle   Fri, 04 Mar 2022
15:54:17 +1300

** Changed in: glibc (Ubuntu)
   Status: Confirmed => Fix Released

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-06 Thread Vivek Mehra
Thanks for the update @Michael

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-03 Thread Michael Hudson-Doyle
New ubuntu official images have been published which contain the glibc
update, so this issue should be less impactful now.  The plan is still
to fix this quickly though.

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread Michael Hudson-Doyle
This fix will land in glibc in a week or so (hopefully) but before that
we can get new images out with the glibc from the security update in,
which will make your builds work again.

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread Michael Scharf
Many thanks @nic

Here is a version with no external file

RUN mv /bin/uname /bin/uname.orig
RUN printf '#!/bin/bash\n\nif [[ "$1" == "-r" ]] ;then\n  echo '4.9.250'\n  
exit\nelse\n  uname.orig "$@"\nfi' > /bin/uname
RUN chmod 755 /bin/uname

(The second statement should be all on one line if you copy-paste it)

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread Itay Elgazar
@vivmehra
You're the hero, man!

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread Vivek Mehra
For people working with Docker build
@Itay Elgazar (elgazaritay)

Copy the script above into a file(like ubuntuFix.sh)
Use it in your Dockerfile like below:-

FROM ubuntu:latest
USER root
WORKDIR /home/app
COPY . /home/app
#Workaround for ubuntu fix start
RUN mv /bin/uname /bin/uname.orig
RUN cp ./ubuntuFix.sh /bin/uname
RUN chmod 755 /bin/uname;
RUN cat /bin/uname
#Workaround for ubuntu fix end
RUN apt clean
RUN apt-get update
RUN apt -y install gnupg2

.
.
//Rest of the Dockerfile code
.
.

@Nic thanks for the solution..
Hope this works for others using Docker image

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread john robison
@elgazaritay

I'm able to reproduce this in Codebuild with this simple Dockerfile:

```
FROM --platform=linux/amd64 ubuntu:20.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
  apt-get install -y --no-install-recommends libc6
```

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread Nic Doye
Place the following script in bin/uname (where bin and Dockerfile are in
the same directory):

-8<- uname
#!/bin/bash

# Until the following bug is fixed:
# https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225
# https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962606

# Workaround from 
https://support.aqueos.net/index.php?/Knowledgebase/Article/View/your-kernel-version-indicates-a-revision-number-of-255-or-greater
#
if [[ "$1" == "-r" ]] ;then
echo '4.9.250'
exit
else
uname.orig "$@"
fi
-8<-

In your Dockerfile, you can do this. (You could just copy the uname
script, but we have other things we copy in).

-8<- From Dockerfile

COPY . /tmp/
RUN mv /bin/uname /bin/uname.orig \
&& install -m 0755 /tmp/bin/uname /bin \
&& apt-get update \
&& apt-get upgrade -y \
...
-8<-

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread Itay Elgazar
@Nic
@Rajesh

Can anyone give a snapshot of your dockerfile? I am running this on docker with 
no luck. 
Thanks

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread john robison
AWS support gave me another (temporary) workaround for Codebuild. If you
use the 2xl compute type (the largest one, with 145gb RAM), that fleet
is still using the older AMI and the older kernel, and so that will
unblock your builds. At least until that compute type gets the same
upgrade eventually.

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread Om Prasad
this worked!

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread Rajesh
Thank you @Nic Doye for the workaround! It helped my docker build.

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread Nic Doye
Sorry that should be "$1" not an unquoted $1.

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread Nic Doye
The workaround I'm using is taken from here:
https://support.aqueos.net/index.php?/Knowledgebase/Article/View/your-
kernel-version-indicates-a-revision-number-of-255-or-greater

mv /bin/uname /bin/uname.orig
and copy in the script below as /bin/uname (with the correct permissions),

#!/bin/bash

if [[ $1 == "-r" ]] ;then
  echo '4.9.250'
  exit
else
  uname.orig "$@"
fi

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread Rajesh
This bug is blocking my docker build from yesterday. Until a fix is in
place if you have a workaround then could you please share it

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-02 Thread Edison Gustavo Muenz
Are there any suggested workarounds in the meantime? This started
happening after the libc6-dev package (and its dependants: libc-dev-bin,
libc6) were upgraded from 2.31-0ubuntu9.2 to 2.31-0ubuntu9.7.

I'm running on AWS CodeBuild (so amd64 arch).

I tried installing the older version but it's not available. This is the
output of `rmadison libc6-dev`:

 libc6-dev | 2.19-0ubuntu6| trusty  | amd64, arm64, armhf, i386, 
powerpc, ppc64el
 libc6-dev | 2.19-0ubuntu6.15 | trusty-security | amd64, arm64, armhf, i386, 
powerpc, ppc64el
 libc6-dev | 2.19-0ubuntu6.15 | trusty-updates  | amd64, arm64, armhf, i386, 
powerpc, ppc64el
 libc6-dev | 2.23-0ubuntu3| xenial  | amd64, arm64, armhf, i386, 
powerpc, ppc64el, s390x
 libc6-dev | 2.23-0ubuntu11.3 | xenial-security | amd64, arm64, armhf, i386, 
powerpc, ppc64el, s390x
 libc6-dev | 2.23-0ubuntu11.3 | xenial-updates  | amd64, arm64, armhf, i386, 
powerpc, ppc64el, s390x
 libc6-dev | 2.27-3ubuntu1| bionic  | amd64, arm64, armhf, i386, 
ppc64el, s390x
 libc6-dev | 2.27-3ubuntu1.5  | bionic-security | amd64, arm64, armhf, i386, 
ppc64el, s390x
 libc6-dev | 2.27-3ubuntu1.5  | bionic-updates  | amd64, arm64, armhf, i386, 
ppc64el, s390x
 libc6-dev | 2.31-0ubuntu9| focal   | amd64, arm64, armhf, i386, 
ppc64el, riscv64, s390x
 libc6-dev | 2.31-0ubuntu9.4  | focal-proposed  | riscv64
 libc6-dev | 2.31-0ubuntu9.5  | focal-proposed  | amd64, arm64, armhf, i386, 
ppc64el, s390x
 libc6-dev | 2.31-0ubuntu9.7  | focal-security  | amd64, arm64, armhf, i386, 
ppc64el, riscv64, s390x
 libc6-dev | 2.31-0ubuntu9.7  | focal-updates   | amd64, arm64, armhf, i386, 
ppc64el, riscv64, s390x
 libc6-dev | 2.34-0ubuntu3| impish  | amd64, arm64, armhf, i386, 
ppc64el, riscv64, s390x
 libc6-dev | 2.34-0ubuntu3.2  | impish-security | amd64, arm64, armhf, i386, 
ppc64el, riscv64, s390x
 libc6-dev | 2.34-0ubuntu3.2  | impish-updates  | amd64, arm64, armhf, i386, 
ppc64el, riscv64, s390x
 libc6-dev | 2.35-0ubuntu1| jammy   | amd64, arm64, armhf, i386, 
ppc64el, riscv64, s390x

The 2.31-0ubuntu9 version has the same issue though.

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-01 Thread windowsguy
Same on Ubuntu 20.04.4 LTS on arm64

$ sudo apt-get --fix-broken install
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libc6
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc6
1 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
Need to get 0 B/2266 kB of archives.
After this operation, 7168 B disk space will be freed.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 102158 files and directories currently installed.)
Preparing to unpack .../libc6_2.31-0ubuntu9.7_arm64.deb ...
ERROR: Your kernel version indicates a revision number
of 255 or greater.  Glibc has a number of built in
assumptions that this revision number is less than 255.
If you\'ve built your own kernel, please make sure that any
custom version numbers are appended to the upstream
kernel number with a dash or some other delimiter.

dpkg: error processing archive 
/var/cache/apt/archives/libc6_2.31-0ubuntu9.7_arm64.deb (--unpack):
 new libc6:arm64 package pre-installation script subprocess returned error exit 
status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.31-0ubuntu9.7_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ uname -a
Linux k2 4.9.277-82 #1 SMP PREEMPT Fri Feb 18 14:35:13 UTC 2022 aarch64 aarch64 
aarch64 GNU/Linux

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-01 Thread Michael Hudson-Doyle
** Changed in: glibc (Ubuntu Focal)
   Status: Confirmed => In Progress

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-01 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: glibc (Ubuntu Focal)
   Status: New => Confirmed

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-01 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: glibc (Ubuntu Bionic)
   Status: New => Confirmed

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1962225] Re: preinst check that kernel revision < 255 now does more harm than good

2022-03-01 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: glibc (Ubuntu)
   Status: New => Confirmed

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

Title:
  preinst check that kernel revision < 255 now does more harm than good

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1962225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs