Bug 1213062
| Summary: | SELinux is preventing /usr/bin/python3.4 from 'search' accesses on the directory .local. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lukas Slebodnik <lslebodn> |
| Component: | dnssec-trigger | Assignee: | Tomáš Hozza <thozza> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | bgvaughan, dominick.grift, dominik, dwalsh, lvrabec, mattdm, mgrepl, pj.pandit, plautrba, psimerda, pspacek, pwouters, sgallagh, theo148, thozza |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:92fb3fa8448406523a35f82d49357a40a9c2564dfb703d191afc7c73b052471d | ||
| Fixed In Version: | dnssec-trigger-0.13-0.1.20150714svn.fc22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-30 01:12:43 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1223110 | ||
I could not see AVC in permissive mode. What does dnssec-triggerd want to do /root/.local? Could you use different directory? /var/lib/dnssec-trigger/ ... This is caused by python. The following should be added -E Ignore environment variables like PYTHONPATH and PYTHONHOME that modify the behavior of the interpreter. - s Don't add user site directory to sys.path. Description of problem: I connected to an openvpn VPN while having dnssec-trigger enabled. Version-Release number of selected component: selinux-policy-3.13.1-128.1.fc22.noarch Additional info: reporter: libreport-2.5.1 hashmarkername: setroubleshoot kernel: 4.0.4-303.fc22.x86_64 type: libreport (In reply to Miroslav Grepl from comment #3) > This is caused by python. The following should be added > > -E Ignore environment variables like PYTHONPATH and PYTHONHOME that > modify > the behavior of the interpreter. > > - s Don't add user site directory to sys.path. Thank you for the clue. Description of problem: I connected to a VPN while having dnssec-trigger enabled Version-Release number of selected component: selinux-policy-3.13.1-128.2.fc22.noarch Additional info: reporter: libreport-2.6.0 hashmarkername: setroubleshoot kernel: 4.0.6-300.fc22.x86_64 type: libreport Description of problem: I connected to a local wifi network. Version-Release number of selected component: selinux-policy-3.13.1-128.4.fc22.noarch Additional info: reporter: libreport-2.6.0 hashmarkername: setroubleshoot kernel: 4.0.6-300.fc22.x86_64 type: libreport dnssec-trigger-0.13-0.1.20150714svn.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/dnssec-trigger-0.13-0.1.20150714svn.fc22 Package dnssec-trigger-0.13-0.1.20150714svn.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnssec-trigger-0.13-0.1.20150714svn.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-11754/dnssec-trigger-0.13-0.1.20150714svn.fc22 then log in and leave karma (feedback). dnssec-trigger-0.13-0.1.20150714svn.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: systemctl start dnssec-triggerd SELinux is preventing /usr/bin/python3.4 from 'search' accesses on the directory .local. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that python3.4 should be allowed search access on the .local directory by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep dnssec-trigger- /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:dnssec_trigger_t:s0 Target Context system_u:object_r:gconf_home_t:s0 Target Objects .local [ dir ] Source dnssec-trigger- Source Path /usr/bin/python3.4 Port <Unknown> Host (removed) Source RPM Packages python3-3.4.2-4.fc22.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-122.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.0.0-1.fc22.x86_64 #1 SMP Mon Apr 13 10:03:33 UTC 2015 x86_64 x86_64 Alert Count 2 First Seen 2015-04-18 13:18:15 CEST Last Seen 2015-04-18 13:18:15 CEST Local ID cb06ed3e-7631-4cd7-9937-259ee8f70169 Raw Audit Messages type=AVC msg=audit(1429355895.908:2837): avc: denied { search } for pid=29748 comm="dnssec-trigger-" name=".local" dev="dm-2" ino=2752521 scontext=system_u:system_r:dnssec_trigger_t:s0 tcontext=system_u:object_r:gconf_home_t:s0 tclass=dir permissive=0 type=SYSCALL msg=audit(1429355895.908:2837): arch=x86_64 syscall=stat success=no exit=EACCES a0=7fc7d414d3c0 a1=7fff982f0930 a2=7fff982f0930 a3=7fff982f0910 items=0 ppid=29723 pid=29748 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=dnssec-trigger- exe=/usr/bin/python3.4 subj=system_u:system_r:dnssec_trigger_t:s0 key=(null) Hash: dnssec-trigger-,dnssec_trigger_t,gconf_home_t,dir,search Version-Release number of selected component: selinux-policy-3.13.1-122.fc22.noarch Additional info: reporter: libreport-2.5.1 hashmarkername: setroubleshoot kernel: 4.0.0-1.fc22.x86_64 type: libreport