Bug 1416967
| Summary: | SELinux is preventing udevadm from 'open' accesses on the file /etc/selinux/targeted/contexts/files/file_contexts.bin. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | arturpolak1 |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 26 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, pmoore, ssekidde |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:73a2bdc4bf79c42ef93a00372fe1e2fff891776b156d145fc5ce06dd268f483f;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-23 13:10:58 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: | |||
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. *** This bug has been marked as a duplicate of bug 1436828 *** |
Description of problem: SELinux is preventing udevadm from 'open' accesses on the file /etc/selinux/targeted/contexts/files/file_contexts.bin. ***** Plugin catchall (100. confidence) suggests ************************** If aby udevadm powinno mieć domyślnie open dostęp do file_contexts.bin file. Then proszę to zgłosić jako błąd. Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp. Do allow this access for now by executing: # ausearch -c 'udevadm' --raw | audit2allow -M my-udevadm # semodule -X 300 -i my-udevadm.pp Additional Information: Source Context system_u:system_r:tlp_t:s0 Target Context unconfined_u:object_r:file_context_t:s0 Target Objects /etc/selinux/targeted/contexts/files/file_contexts .bin [ file ] Source udevadm Source Path udevadm Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages selinux-policy-targeted-3.13.1-235.fc26.noarch Policy RPM selinux-policy-3.13.1-235.fc26.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.9.5-200.fc25.x86_64 #1 SMP Fri Jan 20 12:24:16 UTC 2017 x86_64 x86_64 Alert Count 1 First Seen 2017-01-26 10:53:29 CET Last Seen 2017-01-26 10:53:29 CET Local ID b9039d86-2a2c-4451-aa1c-6c1adc9b40d6 Raw Audit Messages type=AVC msg=audit(1485424409.507:251): avc: denied { open } for pid=2090 comm="udevadm" path="/etc/selinux/targeted/contexts/files/file_contexts.bin" dev="dm-1" ino=2754311 scontext=system_u:system_r:tlp_t:s0 tcontext=unconfined_u:object_r:file_context_t:s0 tclass=file permissive=1 Hash: udevadm,tlp_t,file_context_t,file,open Version-Release number of selected component: selinux-policy-3.13.1-235.fc26.noarch Additional info: component: selinux-policy reporter: libreport-2.9.0 hashmarkername: setroubleshoot kernel: 4.10.0-0.rc5.git1.1.fc26.x86_64 type: libreport