Score:0

How to resolve microdnf (failing with glib error) in a specific environment?

ng flag

The problem was identified in the CI/CD environment - they are a group of server machines on redhat 7.9 (docker 19.x)

When trying to run docker build the following line fails:

RUN microdnf install yum

We are using a redhat image (redhat/ubi9-minimal) as base image. The above command is run on that.

The error:

(microdnf:6): GLib-ERROR **: 14:57:32.900: file ../glib/gthread-posix.c: line 1338 (g_system_thread_new): error 'Operation not permitted' during 'pthread_create'

We tried the same in other docker servers (on centos 7, docker 20.x) and it worked.

Because this worked on these machines, I suspect some host os differences are at play.

I suspect this is because of docker 19.x. It is because of redhat/ubi9-minimal image and docker 19.x. (I have confirmed this alternatively).

What can I do to fix the CI/CD machines?

pt flag
What Linux distribution (and version) are the ci/cd machines running?
ng flag
all the ci/cd machines are rhel 7.6
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.