Bug 1494904 - Selinux prevents chronyd from using it's own socket when log are rotated ...
Summary: Selinux prevents chronyd from using it's own socket when log are rotated ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 28
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-24 02:17 UTC by David Hill
Modified: 2018-09-11 16:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-11 16:55:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Hill 2017-09-24 02:17:47 UTC
Description of problem:

type=AVC msg=audit(1506217506.146:8341): avc:  denied  { sendto } for  pid=1183 comm="chronyd" path="/run/chrony/chronyc.13933.sock" scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 tclass=unix_dgram_socket permissive=1
type=AVC msg=audit(1506217805.812:9341): avc:  denied  { sendto } for  pid=1183 comm="chronyd" path="/run/chrony/chronyc.17604.sock" scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 tclass=unix_dgram_socket permissive=1



require {
	type chronyd_t;
	type system_cronjob_t;
	class unix_dgram_socket sendto;
}

#============= chronyd_t ==============
allow chronyd_t system_cronjob_t:unix_dgram_socket sendto;


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fedora End Of Life 2018-02-20 15:27:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 2 Fedora Update System 2018-09-06 21:56:28 UTC
selinux-policy-3.14.1-42.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2d1b09d217

Comment 3 Fedora Update System 2018-09-07 17:11:55 UTC
selinux-policy-3.14.1-42.fc28 has been pushed to the Fedora 28 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-2018-2d1b09d217

Comment 4 Fedora Update System 2018-09-11 16:55:08 UTC
selinux-policy-3.14.1-42.fc28 has been pushed to the Fedora 28 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.