Bug 1743199 - SELinux is preventing sa-update from 'create' accesses on the unix_dgram_socket labeled spamd_update_t.
Summary: SELinux is preventing sa-update from 'create' accesses on the unix_dgram_sock...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 30
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4f172a37a5c78a10f71b4b61345...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-19 10:24 UTC by dan
Modified: 2019-09-06 12:33 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.14.3-45.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-06 12:33:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description dan 2019-08-19 10:24:48 UTC
Description of problem:
SELinux is preventing sa-update from 'create' accesses on the unix_dgram_socket labeled spamd_update_t.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that sa-update should be allowed create access on unix_dgram_socket labeled spamd_update_t 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 'sa-update' --raw | audit2allow -M my-saupdate
# semodule -X 300 -i my-saupdate.pp

Additional Information:
Source Context                system_u:system_r:spamd_update_t:s0
Target Context                system_u:system_r:spamd_update_t:s0
Target Objects                Unknown [ unix_dgram_socket ]
Source                        sa-update
Source Path                   sa-update
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-43.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.2.8-200.fc30.x86_64 #1 SMP Sat
                              Aug 10 13:21:39 UTC 2019 x86_64 x86_64
Alert Count                   14
First Seen                    2019-08-17 00:00:01 EDT
Last Seen                     2019-08-19 00:15:49 EDT
Local ID                      c72c89ea-5c5b-40f0-8961-d1ccd31e5860

Raw Audit Messages
type=AVC msg=audit(1566188149.883:1657): avc:  denied  { create } for  pid=29820 comm="curl" scontext=system_u:system_r:spamd_update_t:s0 tcontext=system_u:system_r:spamd_update_t:s0 tclass=unix_dgram_socket permissive=0


Hash: sa-update,spamd_update_t,spamd_update_t,unix_dgram_socket,create

Version-Release number of selected component:
selinux-policy-3.14.3-43.fc30.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.1
hashmarkername: setroubleshoot
kernel:         5.2.8-200.fc30.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2019-08-19 14:15:37 UTC
commit 4df27fc8b454ce42b89400e256b1d5341160cb44 (HEAD -> rawhide)
Author: Lukas Vrabec <lvrabec>
Date:   Mon Aug 19 16:15:10 2019 +0200

    Allow spamd_update_t domain to create unix dgram sockets.
commit 4df27fc8b454ce42b89400e256b1d5341160cb44 (HEAD -> rawhide)
Author: Lukas Vrabec <lvrabec>
Date:   Mon Aug 19 16:15:10 2019 +0200

    Allow spamd_update_t domain to create unix dgram sockets.

Comment 2 Fedora Update System 2019-09-05 06:52:05 UTC
FEDORA-2019-be14ea0375 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-be14ea0375

Comment 3 Fedora Update System 2019-09-05 12:53:04 UTC
selinux-policy-3.14.3-45.fc30 has been pushed to the Fedora 30 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-2019-be14ea0375

Comment 4 Fedora Update System 2019-09-06 12:33:40 UTC
selinux-policy-3.14.3-45.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.