Bug 1650364

Summary: SELinux is preventing (boltd) from 'create' accesses on the directory boltd.
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:22755db9622cb05ee6adae0d3e9c1e77a3e86d28f610f855598d47d6d21e1aca;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-17 19:17:35 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 Adam Williamson 2018-11-16 00:45:01 UTC
Description of problem:
Appeared on upgrade from F27 to F28. This laptop does not have Thunderbolt (it's about a decade too old for that).
SELinux is preventing (boltd) from 'create' accesses on the directory boltd.

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

If you believe that (boltd) should be allowed create access on the boltd 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:init_t:s0
Target Context                system_u:object_r:boltd_var_lib_t:s0
Target Objects                boltd [ dir ]
Source                        (boltd)
Source Path                   (boltd)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.1-48.fc28.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.18.18-200.fc28.x86_64 #1 SMP Mon
                              Nov 12 03:17:32 UTC 2018 x86_64 x86_64
Alert Count                   10
First Seen                    2018-11-15 16:39:53 PST
Last Seen                     2018-11-15 17:39:47 PST
Local ID                      815b2f31-a097-4088-b60d-bd6ec53cf163

Raw Audit Messages
type=AVC msg=audit(1542328793.14:279): avc:  denied  { create } for  pid=2926 comm="(boltd)" name="boltd" scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:boltd_var_lib_t:s0 tclass=dir permissive=0


Hash: (boltd),init_t,boltd_var_lib_t,dir,create

Version-Release number of selected component:
selinux-policy-3.14.1-48.fc28.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.5
hashmarkername: setroubleshoot
kernel:         4.18.18-200.fc28.x86_64
type:           libreport

Potential duplicate: bug 1633786

Comment 1 Lukas Vrabec 2018-12-17 19:17:35 UTC

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