Unable to set the mount PROPAGATION to shared inside the POD.

Solution Verified - Updated -

Issue

  • The / is not a shared mount which causes issues or missing mounts with rootless containers.
  • Facing the operation not permitted error due to which build is incomplete:
Error: error building at STEP "RUN mkdir -p /usr/share/jenkins/ref/init.groovy.d": error resolving mountpoints for container "abcd": chown /home/jenkins/.local/share/containers/storage/vfs-containers/abcd/userdata/buildah-volumes/efgh: operation not permitted

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat OpenShift Container Platform 4.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content