| Summary: | SELinux is preventing colord from 'read' accesses on the file /etc/udev/hwdb.bin. | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> | |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> | |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | high | Docs Contact: | ||
| Priority: | medium | |||
| Version: | rawhide | CC: | a0939712328, agk, akurtako, ariscop, arnitorey2004, awilliam, bugzilla, danofsatx, dominick.grift, dwalsh, flast, incker, jfrieben, kparal, lvrabec, mgrepl, mikhail.v.gavrilov, moon, perrymasterson1, plautrba, robatino, satellitgo, vedran | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Unspecified | |||
| Whiteboard: | AcceptedBlocker abrt_hash:559041157b3fc72d1501f3e4db8fe5e6259c0c005d2970f75d166eb90e1ec82a; | |||
| Fixed In Version: | selinux-policy-3.13.1-180.fc24 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1324312 (view as bug list) | Environment: | ||
| Last Closed: | 2016-05-16 17:48: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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1230435, 1324312 | |||
*** Bug 1317259 has been marked as a duplicate of this bug. *** SELinux alerts are still being triggered during a live session using Fedora 24 Workstation Live Alpha 6 media including selinux-policy-targeted-3.13.1-179.fc24. Description of problem: Booted F24 Alpha candidate 7 (Alpha-1.7) Workstation x86_64 live on bare metal (some yum-cha RCA TV as the monitor, Intel graphics adapter). Denial was visible as soon as I reached the desktop, along with a gnome-settings-daemon crash. Version-Release number of selected component: selinux-policy-3.13.1-179.fc24.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.5.0-0.rc7.git0.2.fc24.x86_64 type: libreport Proposing as a Final blocker: "There must be no SELinux denial notifications or crash notifications on boot of or during installation from a release-blocking live image, or at first login after a default install of a release-blocking desktop." commit e1f0dcee7f7452e12c492648ee9310f867dd8879
Author: Lukas Vrabec <lvrabec>
Date: Wed Mar 23 12:25:45 2016 +0100
Allow colord to read /etc/udev/hwdb.bin. rhzb#1316514
Description of problem: Logged in to GNOME desktop Version-Release number of selected component: selinux-policy-3.13.1-179.fc24.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.5.0-300.fc24.x86_64 type: libreport Description of problem: efi boot of f24 alpha 7 workstation dd USB Version-Release number of selected component: selinux-policy-3.13.1-179.fc24.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.5.0-0.rc7.git0.2.fc24.x86_64 type: libreport +1 Blocker. Should be no AVCs in released product. Discussed at today's blocker review meeting [1]. Voted as AcceptedBlocker (Final) - clear violation of "There must be no SELinux denial notifications or crash notifications on boot of or during installation from a release-blocking live image, or at first login after a default install of a release-blocking desktop." [1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2016-03-29 Description of problem: Installing Fedora 24 Alpha 7 from a USB drive, happens right after boot on the USB stick Version-Release number of selected component: selinux-policy-3.13.1-179.fc24.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.5.0-0.rc7.git0.2.fc24.x86_64 type: libreport Description of problem: This occurred when attempting to upgrade to Fedora 24 from 23. Version-Release number of selected component: selinux-policy-3.13.1-179.fc24.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.5.0-0.rc7.git0.2.fc24.x86_64 type: libreport This seems fixed with selinux-policy-3.13.1-180.fc24, please reopen if you see it again with this or newer build. |
Description of problem: SELinux is preventing colord from 'read' accesses on the file /etc/udev/hwdb.bin. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that colord should be allowed read access on the hwdb.bin 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: # grep colord /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:colord_t:s0 Target Context unconfined_u:object_r:systemd_hwdb_etc_t:s0 Target Objects /etc/udev/hwdb.bin [ file ] Source colord Source Path colord Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages systemd-udev-229-5.fc25.x86_64 Policy RPM selinux-policy-3.13.1-177.fc25.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.4.0-1.fc24.x86_64 #1 SMP Mon Jan 11 16:48:24 UTC 2016 x86_64 x86_64 Alert Count 2 First Seen 2016-03-10 12:44:22 CET Last Seen 2016-03-10 12:44:22 CET Local ID 3418d193-6e35-4662-aeb8-99f12f702fb0 Raw Audit Messages type=AVC msg=audit(1457610262.399:299): avc: denied { read } for pid=1806 comm="colord" name="hwdb.bin" dev="dm-1" ino=2099237 scontext=system_u:system_r:colord_t:s0 tcontext=unconfined_u:object_r:systemd_hwdb_etc_t:s0 tclass=file permissive=0 Hash: colord,colord_t,systemd_hwdb_etc_t,file,read Version-Release number of selected component: selinux-policy-3.13.1-177.fc25.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.4.0-1.fc24.x86_64 type: libreport