Bug 1225660
| Summary: | SELinux is preventing /usr/sbin/bitlbee from 'create' accesses on the directory purple. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dawid Zamirski <dzrudy> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 23 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, mjw, mteixeira, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:38db7405f8ea12139ab0e8d790280d23bdbf300024d3c4e5bbc13be3c3e7608b | ||
| Fixed In Version: | selinux-policy-3.13.1-158.20.fc23 selinux-policy-3.13.1-158.21.fc23 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-14 00:24:19 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: | |||
Description of problem: Updated to latest selinux, reboot, error shows up. Version-Release number of selected component: selinux-policy-3.13.1-128.13.fc22.noarch Additional info: reporter: libreport-2.6.2 hashmarkername: setroubleshoot kernel: 4.1.6-201.fc22.x86_64 type: libreport *** Bug 1344903 has been marked as a duplicate of this bug. *** selinux-policy-3.13.1-158.20.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4c9c2badcb selinux-policy-3.13.1-158.20.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4c9c2badcb selinux-policy-3.13.1-158.21.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-7bed6e7c72 selinux-policy-3.13.1-158.21.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Tried to connect to bitlbee service. SELinux is preventing /usr/sbin/bitlbee from 'create' accesses on the directory purple. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that bitlbee should be allowed create access on the purple 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 bitlbee /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:bitlbee_t:s0 Target Context system_u:object_r:bitlbee_var_t:s0 Target Objects purple [ dir ] Source bitlbee Source Path /usr/sbin/bitlbee Port <Unknown> Host (removed) Source RPM Packages bitlbee-3.2.2-5.fc22.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-126.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.0.4-301.fc22.x86_64 #1 SMP Thu May 21 13:10:33 UTC 2015 x86_64 x86_64 Alert Count 2 First Seen 2015-05-27 19:10:33 EDT Last Seen 2015-05-27 19:10:38 EDT Local ID 28eb41ec-aa80-44d4-9b17-60604d58741d Raw Audit Messages type=AVC msg=audit(1432768238.738:1000): avc: denied { create } for pid=22099 comm="bitlbee" name="purple" scontext=system_u:system_r:bitlbee_t:s0 tcontext=system_u:object_r:bitlbee_var_t:s0 tclass=dir permissive=0 type=SYSCALL msg=audit(1432768238.738:1000): arch=x86_64 syscall=mkdir success=no exit=EACCES a0=7fe69d799280 a1=1c0 a2=ffffffffffffff98 a3=1e2 items=0 ppid=21333 pid=22099 auid=4294967295 uid=980 gid=967 euid=980 suid=980 fsuid=980 egid=967 sgid=967 fsgid=967 tty=(none) ses=4294967295 comm=bitlbee exe=/usr/sbin/bitlbee subj=system_u:system_r:bitlbee_t:s0 key=(null) Hash: bitlbee,bitlbee_t,bitlbee_var_t,dir,create Version-Release number of selected component: selinux-policy-3.13.1-126.fc22.noarch Additional info: reporter: libreport-2.5.1 hashmarkername: setroubleshoot kernel: 4.0.4-301.fc22.x86_64 type: libreport