Bug 1357144
| Summary: | SELinux is preventing gdbus from 'write' accesses on the fifo_file /run/systemd/inhibit/1.ref. | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joachim Frieben <jfrieben> | |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> | |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 25 | CC: | anthony.convery88, dominick.grift, dominik, dwalsh, em3rson, enugazio, kparal, kwang.m.yi, luya, lvrabec, mgrepl, mikhail.v.gavrilov, momcilo, plautrba, prd-fedora, robatino | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Unspecified | |||
| Whiteboard: | abrt_hash:2af4b81290245108b108c0f47c7bd93a25ec2149390ab923891522cdf30ab910;VARIANT_ID=workstation; | |||
| Fixed In Version: | selinux-policy-3.13.1-208.fc25 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1365214 (view as bug list) | Environment: | ||
| Last Closed: | 2016-08-17 03:05:01 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1277289, 1365214 | |||
Description of problem: Boot up the PC after an update and had SE alert shown. Version-Release number of selected component: selinux-policy-3.13.1-203.fc25.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.7.0-0.rc7.git4.1.fc25.x86_64 type: libreport This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'. I can confirm the problem exists for me as well, on fedora24 instead of 25. selinux-policy-3.13.1-191.9.fc24.noarch kernel: 4.6.5-300.fc24.x86_64 selinux-policy-3.13.1-208.fc25 has been pushed to the Fedora 25 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-662487f8f1 Description of problem: This popped up on me on first boot after a default Workstation Live install (Fedora-Workstation-Live-x86_64-25-20160815.n.2.iso). I just started terminal and ran dnf, nothing else. Not sure whether this occurred before or after. Version-Release number of selected component: selinux-policy-3.13.1-207.fc25.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.8.0-0.rc1.git0.1.fc25.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. " https://fedoraproject.org/wiki/Fedora_25_Final_Release_Criteria#SELinux_and_crash_notifications *** Bug 1361034 has been marked as a duplicate of this bug. *** selinux-policy-3.13.1-208.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. Description of problem: Bug occurred on startup. Version-Release number of selected component: selinux-policy-3.13.1-207.fc25.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.8.0-0.rc1.git0.1.fc25.x86_64 type: libreport Description of problem: This happened after resuming from suspend at a different location and with new peripherials connected (HDMI output, USB input devices and NIC). Version-Release number of selected component: selinux-policy-3.13.1-191.10.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.6.6-300.fc24.x86_64 type: libreport Is this going to be backported to F24? If not, I'll reopen bug 1361034. $ audit2allow -i avc #============= modemmanager_t ============== #!!!! This avc is allowed in the current policy allow modemmanager_t systemd_logind_inhibit_var_run_t:fifo_file write; $ rpm -q selinux-policy selinux-policy-3.13.1-191.13.fc24.noarch What is our version of selinux-policy? selinux-policy-3.13.1-191.10.fc24.noarch I can see selinux-policy-3.13.1-191.12.fc24.noarch in updates, but selinux-policy-3.13.1-191.13.fc24.noarch is not even in updates-testing yet. I'll check -191.13.fc24, then. http://koji.fedoraproject.org/koji/buildinfo?buildID=793828 here is the latest veriosn. Description of problem: i started dnf update Version-Release number of selected component: selinux-policy-3.13.1-190.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.7.5-200.fc24.x86_64 type: libreport |
Description of problem: SELinux is preventing gdbus from 'write' accesses on the fifo_file /run/systemd/inhibit/1.ref. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gdbus should be allowed write access on the 1.ref fifo_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 'gdbus' --raw | audit2allow -M my-gdbus # semodule -X 300 -i my-gdbus.pp Additional Information: Source Context system_u:system_r:modemmanager_t:s0 Target Context system_u:object_r:systemd_logind_inhibit_var_run_t :s0 Target Objects /run/systemd/inhibit/1.ref [ fifo_file ] Source gdbus Source Path gdbus Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-202.fc25.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.7.0-0.rc7.git2.1.fc25.x86_64 #1 SMP Wed Jul 13 21:14:25 UTC 2016 x86_64 x86_64 Alert Count 1 First Seen 2016-07-15 21:04:18 EDT Last Seen 2016-07-15 21:04:18 EDT Local ID 26691368-6123-410d-b856-efb9fea7d8e4 Raw Audit Messages type=AVC msg=audit(1468631058.973:104): avc: denied { write } for pid=943 comm="gdbus" path="/run/systemd/inhibit/1.ref" dev="tmpfs" ino=18215 scontext=system_u:system_r:modemmanager_t:s0 tcontext=system_u:object_r:systemd_logind_inhibit_var_run_t:s0 tclass=fifo_file permissive=0 Hash: gdbus,modemmanager_t,systemd_logind_inhibit_var_run_t,fifo_file,write Version-Release number of selected component: selinux-policy-3.13.1-202.fc25.noarch Additional info: reporter: libreport-2.7.1 hashmarkername: setroubleshoot kernel: 4.7.0-0.rc7.git2.1.fc25.x86_64 reproducible: Not sure how to reproduce the problem type: libreport