OpenShift Container Plafrom 4 fails to upgrade with `ostree-finalize-staged.service` with child process filed due to selinx policies.

Solution Verified - Updated -

Issue

ostree[2679140]: Re-declaration of user unconfined_u
ostree[2679140]: Previous declaration of user at /etc/selinux/targeted/tmp/modules/100/unconfineduser/cil:15
ostree[2679140]: Bad user declaration at /etc/selinux/targeted/tmp/modules/100/unconfineduser/cil:15
ostree[2679140]: Failed to build AST
ostree[2679140]: semodule:  Failed!

Environment

  • OpenShift Container Platform 4

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