Bug 1968193

Summary: SELinux is preventing veeamservice from 'read' accesses on the directory dma_heap.
Product: [Fedora] Fedora Reporter: Michael <michael.scheiffler>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: dwalsh, grepl.miroslav, lvrabec, mmalik, omosnace, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:d0c46ada7c1446f0e80cfba01220331ed17c99bc1cb9976cbdb73f1260d43958;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-09 21:25:17 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 Michael 2021-06-06 17:02:39 UTC
Description of problem:
Started backup
SELinux is preventing veeamservice from 'read' accesses on the directory dma_heap.

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

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

Additional Information:
Source Context                system_u:system_r:unconfined_service_t:s0
Target Context                system_u:object_r:dma_device_t:s0
Target Objects                dma_heap [ dir ]
Source                        veeamservice
Source Path                   veeamservice
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-34.9-1.fc34.noarch
Local Policy RPM              selinux-policy-targeted-34.9-1.fc34.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.12.8-300.fc34.x86_64 #1 SMP Fri
                              May 28 15:20:54 UTC 2021 x86_64 x86_64
Alert Count                   8
First Seen                    2021-06-06 18:53:45 CEST
Last Seen                     2021-06-06 18:55:39 CEST
Local ID                      7029404d-c736-43f6-a624-119677f112ae

Raw Audit Messages
type=AVC msg=audit(1622998539.142:836): avc:  denied  { read } for  pid=3991 comm="veeamjobman" name="dma_heap" dev="devtmpfs" ino=151 scontext=system_u:system_r:unconfined_service_t:s0 tcontext=system_u:object_r:dma_device_t:s0 tclass=dir permissive=0


Hash: veeamservice,unconfined_service_t,dma_device_t,dir,read

Version-Release number of selected component:
selinux-policy-targeted-34.9-1.fc34.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.14.0
hashmarkername: setroubleshoot
kernel:         5.12.8-300.fc34.x86_64
type:           libreport

Comment 1 Zdenek Pytela 2021-06-09 21:25:17 UTC

*** This bug has been marked as a duplicate of bug 1965743 ***