File /run/xtables.lock gets created with wrong var_run_t context

Solution In Progress - Updated -

Issue

  • After starting cloud-init service we see that file /run/xtables.lock gets created with wrong var_run_t context:
# ls -Z /run/xtables.lock
  • Actual result:
-rw-------. root root system_u:object_r:var_run_t:s0   /run/xtables.lock
  • Expected result:
-rw-------. root root system_u:object_r:iptables_var_run_t:s0   /run/xtables.lock

Environment

  • Red Hat Enterprise Linux 7

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