Bug 1877629

Summary: SELinux is preventing chronyd from getting to enp0s25.sources
Product: [Fedora] Fedora Reporter: Ian Laurie <nixuser>
Component: selinux-policy-targetedAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 33CC: dwalsh, renault
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-22 20:09:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Laurie 2020-09-10 03:03:29 UTC
Description of problem:
SELinux is preventing chronyd from getting to enp0s25.sources.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.14.6-25.fc33.noarch

How reproducible:
Always

Steps to Reproduce:
1. Boot system
2.
3.

Additional info:
Source Context                system_u:system_r:chronyd_t:s0
Target Context                system_u:object_r:initrc_var_run_t:s0
Target Objects                enp0s25.sources [ file ]
Source                        chronyd
Source Path                   chronyd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-3.14.6-25.fc33.noarch
Local Policy RPM              selinux-policy-targeted-3.14.6-25.fc33.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.8.7-300.fc33.x86_64 #1 SMP Mon
                              Sep 7 14:24:48 UTC 2020 x86_64 x86_64
Alert Count                   1
First Seen                    2020-09-10 12:41:12 AEST
Last Seen                     2020-09-10 12:41:12 AEST
Local ID                      bdd8c3a9-4c5b-4ee1-b1da-29d8f607cde3

Raw Audit Messages
type=AVC msg=audit(1599705672.570:239): avc:  denied  { read } for  pid=879 comm="chronyd" name="enp0s25.sources" dev="tmpfs" ino=43797 scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:object_r:initrc_var_run_t:s0 tclass=file permissive=1

Comment 1 Zdenek Pytela 2021-02-22 20:09:26 UTC

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