Bug 1723217

Summary: SELinux is preventing boltd from 'search' accesses on the directory 13014.
Product: [Fedora] Fedora Reporter: Christopher Voltz <christopher>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: dwalsh, lvrabec, mgrepl, plautrba, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:df4f498018138cf0688e25846dcb2868a40ae4bf8812aae70eb2b792e31037dd;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-3.14.3-40.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-13 01:06:46 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 Christopher Voltz 2019-06-23 21:45:45 UTC
Description of problem:
SELinux is preventing boltd from 'search' accesses on the directory 13014.

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

If you believe that boltd should be allowed search access on the 13014 directory 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 'boltd' --raw | audit2allow -M my-boltd
# semodule -X 300 -i my-boltd.pp

Additional Information:
Source Context                system_u:system_r:boltd_t:s0
Target Context                system_u:system_r:unconfined_service_t:s0
Target Objects                13014 [ dir ]
Source                        boltd
Source Path                   boltd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-39.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.1.11-300.fc30.x86_64 #1 SMP Mon
                              Jun 17 19:33:15 UTC 2019 x86_64 x86_64
Alert Count                   19
First Seen                    2019-03-31 18:24:11 CDT
Last Seen                     2019-06-23 14:37:42 CDT
Local ID                      b811bf48-3dd4-49c3-aad6-4bf60f393b39

Raw Audit Messages
type=AVC msg=audit(1561318662.50:458): avc:  denied  { search } for  pid=13033 comm="boltd" name="13014" dev="proc" ino=82836 scontext=system_u:system_r:boltd_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=dir permissive=1


Hash: boltd,boltd_t,unconfined_service_t,dir,search

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

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.0
hashmarkername: setroubleshoot
kernel:         5.1.11-300.fc30.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2019-06-24 16:21:06 UTC
commit 32d68b76f6c27bf871f98a533d94c9536d0ed558 (HEAD -> rawhide)
Author: Lukas Vrabec <lvrabec>
Date:   Mon Jun 24 18:20:51 2019 +0200

    Allow boltd_t domain to use ps and get state of all domains on system. BZ(1723217)

Comment 2 Fedora Update System 2019-07-10 12:46:28 UTC
FEDORA-2019-9c513c4cf8 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-9c513c4cf8

Comment 3 Fedora Update System 2019-07-11 00:50:29 UTC
selinux-policy-3.14.3-40.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-9c513c4cf8

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