Bug 1892556
| Summary: | SELinux is preventing NetworkManager from 'write' accesses on the fifo_file /var/tmp/dracut.818Oxc/systemd-cat. | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | koleesch | |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | 33 | CC: | dwalsh, grepl.miroslav, lvrabec, mmalik, philipp.raich, plautrba, vmojzis, zpytela | |
| Target Milestone: | --- | Keywords: | Triaged | |
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Unspecified | |||
| Whiteboard: | abrt_hash:afb851bf52067b5be08ad4fab6111a088ea632f6bbaf6e342925a14cf8bb73d1; | |||
| Fixed In Version: | selinux-policy-3.14.6-36.fc33 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1963162 (view as bug list) | Environment: | ||
| Last Closed: | 2021-03-29 01:19:37 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: | 1963162 | |||
Similar problem has been detected: Logging in after reboot hashmarkername: setroubleshoot kernel: 5.9.14-200.fc33.x86_64 package: selinux-policy-targeted-3.14.6-33.fc33.noarch reason: SELinux is preventing NetworkManager from 'write' accesses on the fifo_file /var/tmp/dracut.JqjNFT/systemd-cat. type: libreport Similar problem has been detected: Starting gnome session hashmarkername: setroubleshoot kernel: 5.9.16-200.fc33.x86_64 package: selinux-policy-targeted-3.14.6-33.fc33.noarch reason: SELinux is preventing NetworkManager from 'write' accesses on the fifo_file /var/tmp/dracut.MDca2y/systemd-cat. type: libreport I've submitted a Fedora PR to address the issue: https://github.com/fedora-selinux/selinux-policy/pull/604 FEDORA-2021-4d5b1e1f06 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4d5b1e1f06 FEDORA-2021-4d5b1e1f06 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4d5b1e1f06` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4d5b1e1f06 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-4d5b1e1f06 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: SELinux is preventing NetworkManager from 'write' accesses on the fifo_file /var/tmp/dracut.818Oxc/systemd-cat. ***** Plugin catchall (100. confidence) suggests ************************** Wenn Sie denken, dass es NetworkManager standardmäßig erlaubt sein sollte, write Zugriff auf systemd-cat fifo_file zu erhalten. Then sie sollten dies als Fehler melden. Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. Do zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: # ausearch -c 'NetworkManager' --raw | audit2allow -M my-NetworkManager # semodule -X 300 -i my-NetworkManager.pp Additional Information: Source Context system_u:system_r:NetworkManager_t:s0 Target Context system_u:object_r:initrc_tmp_t:s0 Target Objects /var/tmp/dracut.818Oxc/systemd-cat [ fifo_file ] Source NetworkManager Source Path NetworkManager Port <Unbekannt> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-3.14.6-29.fc33.noarch Local Policy RPM selinux-policy-targeted-3.14.6-29.fc33.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.8.16-300.fc33.x86_64 #1 SMP Mon Oct 19 13:18:33 UTC 2020 x86_64 x86_64 Alert Count 2 First Seen 2020-10-24 11:59:10 CEST Last Seen 2020-10-24 11:59:40 CEST Local ID ac502477-84f2-481f-9270-3c16da794103 Raw Audit Messages type=AVC msg=audit(1603533580.621:260): avc: denied { write } for pid=12109 comm="NetworkManager" path="/var/tmp/dracut.818Oxc/systemd-cat" dev="nvme0n1p4" ino=250578 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=fifo_file permissive=0 Hash: NetworkManager,NetworkManager_t,initrc_tmp_t,fifo_file,write Version-Release number of selected component: selinux-policy-targeted-3.14.6-29.fc33.noarch Additional info: component: selinux-policy reporter: libreport-2.14.0 hashmarkername: setroubleshoot kernel: 5.8.16-300.fc33.x86_64 type: libreport Potential duplicate: bug 1768951