Bug 1563791
Summary: | SELinux is preventing lpqd from 'sendto' accesses on the unix_dgram_socket /var/lib/samba/private/msg.sock/1468. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Juan Orti <jorti> |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 28 | CC: | ayurtsev, ben.r.xiao, bugzilla.redhat.com, chrisa, cohoe.grant, dwalsh, edouard, fedora.jrg01, hma969, hx, jeff.raber, jmaldonado.aysen, John_Sauter, jonas, kazimieras.vaina, lvrabec, lvvloten, mgrepl, mike, paul, petasisg, plautrba, pmarciniak, pmoore, rlengland, rlledo, rmcgougan, roshan.shariff, vladimirshinsky |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:54e87ea55447093a441d5ade28c031d3b6b03a3efaf16075984b0ff301aa3ff5;VARIANT_ID=workstation; | ||
Fixed In Version: | selinux-policy-3.14.1-21.fc28 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-25 10:33:51 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: |
Description
Juan Orti
2018-04-04 17:37:06 UTC
selinux-policy-3.14.1-21.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1148ada2a3 selinux-policy-3.14.1-21.fc28 has been pushed to the Fedora 28 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-2018-1148ada2a3 selinux-policy-3.14.1-21.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. This problem still happens with selinux-policy-3.14.1-21.fc28. AVC avc: denied { sendto } for pid=2023 comm="lpqd" path="/var/lib/samba/private/msg.sock/1986" scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:system_r:nmbd_t:s0 tclass=unix_dgram_socket permissive=0 Please reopen this issue, selinux-policy-3.14.1-21.fc28 didn't fix it. This is still happening with selinux-policy-3.14.1-24.fc28 as well. Description of problem: I do nothing. A SELinux alert pops up periodically. Additional info: reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.16.5-300.fc28.x86_64 type: libreport Description of problem: An SELinux alert pops up periodically. No explicit user action appears to be needed. Additional info: reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.16.5-300.fc28.x86_64 type: libreport Description of problem: Updated from F28. This alert has been popping up repeatedly ever since. Version-Release number of selected component: selinux-policy-3.14.1-24.fc28.noarch Additional info: reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.16.6-302.fc28.x86_64 type: libreport Description of problem: Happened after upgrade to Fedora 28. Version-Release number of selected component: selinux-policy-3.14.1-24.fc28.noarch Additional info: reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.16.5-300.fc28.x86_64 type: libreport Description of problem: Hello , after install fedora 28 . i recieve this message frequently . please help me --------------------------------------------------- SELinux is preventing lpqd from sendto access on the unix_dgram_socket /var/lib/samba/private/msg.sock/1145. Version-Release number of selected component: selinux-policy-3.14.1-24.fc28.noarch Additional info: reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.16.6-302.fc28.x86_64 type: libreport Description of problem: Showed up after F27 update to F28 Version-Release number of selected component: selinux-policy-3.14.1-24.fc28.noarch Additional info: reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.16.8-300.fc28.x86_64 type: libreport Description of problem: Started happening after a dnf system upgrade. Version-Release number of selected component: selinux-policy-3.14.1-24.fc28.noarch Additional info: reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.16.8-300.fc28.x86_64 type: libreport Description of problem: Not sure. Version-Release number of selected component: selinux-policy-3.14.1-24.fc28.noarch Additional info: reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.16.8-300.fc28.x86_64 type: libreport Description of problem: Not sure. Version-Release number of selected component: selinux-policy-3.14.1-24.fc28.noarch Additional info: reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.16.9-300.fc28.x86_64 type: libreport SELinux is preventing lpqd from 'sendto' accesses on the unix_dgram_socket /var/lib/samba/private/msg.sock/2012. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that lpqd should be allowed sendto access on the 2012 unix_dgram_socket 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 'lpqd' --raw | audit2allow -M my-lpqd # semodule -X 300 -i my-lpqd.pp Additional Information: Source Context system_u:system_r:smbd_t:s0 Target Context system_u:system_r:nmbd_t:s0 Target Objects /var/lib/samba/private/msg.sock/2012 [ unix_dgram_socket ] Source lpqd Source Path lpqd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.1-25.fc28.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.16.9-300.fc28.x86_64 #1 SMP Thu May 17 06:39:18 UTC 2018 x86_64 x86_64 Alert Count 540 First Seen 2018-05-03 01:12:55 EDT Last Seen 2018-05-24 17:32:06 EDT Local ID b366c550-5d55-4226-8ba4-de4f95abf4d5 Raw Audit Messages type=AVC msg=audit(1527197526.533:302): avc: denied { sendto } for pid=2044 comm="lpqd" path="/var/lib/samba/private/msg.sock/2012" scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:system_r:nmbd_t:s0 tclass=unix_dgram_socket permissive=0 Hash: lpqd,smbd_t,nmbd_t,unix_dgram_socket,sendto #audit2allow -i avc -R require { type smbd_t; type nmbd_t; class unix_dgram_socket sendto; } #============= smbd_t ============== #!!!! This avc is allowed in the current policy allow smbd_t nmbd_t:unix_dgram_socket sendto; # rpm -q selinux-policy selinux-policy-3.14.1-29.fc28.noarch Could you try it with the latest selinux-policy build? Thanks, Lukas. *** Bug 1614568 has been marked as a duplicate of this bug. *** |