| Summary: | avc denied {open} for comm="dhclient-script" path="/etc/sysconfig/network" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Thom Carlin <tcarlin> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CANTFIX | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.1 | CC: | lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-29 07:54:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
It means it is created by a user process and moved to /etc/sysconfig/ directory. If so they need to fix labeling using restorecon. |
Description of problem: AVC denial in logs Version-Release number of selected component (if applicable): RHEL 7.1 (RHCI 6.0 TP2 RC9) How reproducible: Uncertain Steps to Reproduce: 1. Install RHCI TripleO 2. Wait a couple of days 3. Check logs Actual results: type=AVC msg=audit(1455447226.770:90929): avc: denied { open } for pid=7781 comm="dhclient-script" path="/etc/sysconfig/network" dev="sda3" ino=2153170936 scontext=system_u:system_r:dhcpc_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file type=SYSCALL msg=audit(1455447226.770:90929): arch=c000003e syscall=2 success=no exit=-13 a0=959c10 a1=0 a2=435500 a3=fffffffffffffb07 items=0 ppid=1236 pid=7781 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dhclient-script" exe="/usr/bin/bash" subj=system_u:system_r:dhcpc_t:s0 key=(null) type=NETFILTER_CFG msg=audit(1455447228.888:90930): table=filter family=2 entries=72 Expected results: No errors Additional info: Could be related to changes by RHCI/Director? restorecon -RFvv /etc/sysconfig Full path required for exclude: net:[4026532466]. Full path required for exclude: net:[4026532466]. restorecon reset /etc/sysconfig/network-scripts/route-br-ctlplane context unconfined_u:object_r:net_conf_t:s0->system_u:object_r:net_conf_t:s0 restorecon reset /etc/sysconfig/network-scripts/route-eth1 context unconfined_u:object_r:net_conf_t:s0->system_u:object_r:net_conf_t:s0 restorecon reset /etc/sysconfig/network-scripts/ifcfg-br-ctlplane context unconfined_u:object_r:net_conf_t:s0->system_u:object_r:net_conf_t:s0 restorecon reset /etc/sysconfig/network context unconfined_u:object_r:user_tmp_t:s0->system_u:object_r:etc_t:s0