Bug 1699358
| Summary: | SELinux is preventing mount from 'open' accesses on the chr_file /dev/loop-control. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Abhisek Mukherjee <abhisek.mukherjee> |
| 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: | 30 | CC: | dwalsh, kcchouette+fedora, lvrabec, mgrepl, plautrba, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:c9a1a64dd962a62feb3b665bb7cfaf8d75e05e43baf77cfad95042472d6a5eeb; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-04-12 14:17:41 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 has been marked as a duplicate of bug 1601273 *** *** Bug 1714327 has been marked as a duplicate of this bug. *** *** Bug 1716035 has been marked as a duplicate of this bug. *** *** Bug 1718533 has been marked as a duplicate of this bug. *** |
Description of problem: SELinux is preventing mount from 'open' accesses on the chr_file /dev/loop-control. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that mount should be allowed open access on the loop-control chr_file 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: # ausearch -c 'mount' --raw | audit2allow -M my-mount # semodule -X 300 -i my-mount.pp Additional Information: Source Context system_u:system_r:snappy_t:s0 Target Context system_u:object_r:loop_control_device_t:s0 Target Objects /dev/loop-control [ chr_file ] Source mount Source Path mount Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.3-28.fc30.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.0.7-300.fc30.x86_64 #1 SMP Mon Apr 8 18:28:09 UTC 2019 x86_64 x86_64 Alert Count 2 First Seen 2019-04-12 19:24:25 IST Last Seen 2019-04-12 19:24:36 IST Local ID b776a6f1-c066-41fc-8c03-00bc264d8473 Raw Audit Messages type=AVC msg=audit(1555077276.955:289): avc: denied { open } for pid=2257 comm="mount" path="/dev/loop-control" dev="devtmpfs" ino=2888 scontext=system_u:system_r:snappy_t:s0 tcontext=system_u:object_r:loop_control_device_t:s0 tclass=chr_file permissive=1 Hash: mount,snappy_t,loop_control_device_t,chr_file,open Version-Release number of selected component: selinux-policy-3.14.3-28.fc30.noarch Additional info: component: selinux-policy reporter: libreport-2.10.0 hashmarkername: setroubleshoot kernel: 5.0.7-300.fc30.x86_64 type: libreport Potential duplicate: bug 1601274