File /run/xtables.lock gets created with wrong var_run_t context
Issue
- After starting cloud-init service we see that file
/run/xtables.lock
gets created with wrongvar_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.