[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-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