Bug 1601275
| Summary: | SELinux is preventing mount from 'ioctl' accesses on the chr_file /dev/loop-control. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | shmuel <madridabogadosmx> |
| 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: | 28 | CC: | dwalsh, lvrabec, mgrepl, plautrba, pmoore |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:1dbce2899353f3014502368af1e4a9763694b3a77696fc07fafe67dd0dfb42c7;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-22 11:42:53 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 *** |
Description of problem: SELinux is preventing mount from 'ioctl' accesses on the chr_file /dev/loop-control. ***** Plugin catchall (100. confidence) suggests ************************** Si cree que de manera predeterminada se debería permitir a mount el acceso ioctl sobre loop-control chr_file. Then debería reportar esto como un error. Puede generar un módulo de política local para permitir este acceso. Do permita el acceso temporalmente ejecutando: # ausearch -c 'mount' --raw | audit2allow -M mi-mount # semodule -X 300 -i mi-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 <Desconocido> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.1-32.fc28.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.17.5-200.fc28.x86_64 #1 SMP Tue Jul 10 13:39:04 UTC 2018 x86_64 x86_64 Alert Count 2 First Seen 2018-07-15 16:31:51 CDT Last Seen 2018-07-15 16:35:40 CDT Local ID 9ab6776b-09f2-46b9-94e9-6e087e1762c9 Raw Audit Messages type=AVC msg=audit(1531690540.829:235): avc: denied { ioctl } for pid=2385 comm="mount" path="/dev/loop-control" dev="devtmpfs" ino=17945 ioctlcmd=0x4c82 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,ioctl Version-Release number of selected component: selinux-policy-3.14.1-32.fc28.noarch Additional info: component: selinux-policy reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.17.5-200.fc28.x86_64 type: libreport