Bug 1268608 - SELinux is preventing chronyd from 'write' accesses on the sock_file chronyc.26890.sock.
SELinux is preventing chronyd from 'write' accesses on the sock_file chronyc....
Status: CLOSED DUPLICATE of bug 1259636
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-10-03 11:35 EDT by Nicolas Mailhot
Modified: 2015-10-05 17:02 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-10-05 17:02:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nicolas Mailhot 2015-10-03 11:35:39 EDT
Description of problem:
SELinux is preventing chronyd from 'write' accesses on the sock_file chronyc.26890.sock.

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

If vous pensez que chronyd devrait être autorisé à accéder write sur chronyc.26890.sock sock_file par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
autoriser cet accès pour le moment en exécutant :
# grep chronyd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:chronyd_t:s0
Target Context                system_u:object_r:var_run_t:s0
Target Objects                chronyc.26890.sock [ sock_file ]
Source                        chronyd
Source Path                   chronyd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-151.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.3.0-0.rc3.git2.2.fc24.x86_64 #1
                              SMP Wed Sep 30 15:23:07 UTC 2015 x86_64 x86_64
Alert Count                   2
First Seen                    2015-10-03 17:27:34 CEST
Last Seen                     2015-10-03 17:27:40 CEST
Local ID                      efa262e2-fec4-40af-92b2-0fbf8b2e3cf6

Raw Audit Messages
type=AVC msg=audit(1443886060.97:989): avc:  denied  { write } for  pid=21804 comm="chronyd" name="chronyc.26890.sock" dev="tmpfs" ino=162822 scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=sock_file permissive=1

Hash: chronyd,chronyd_t,var_run_t,sock_file,write

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.6.2
hashmarkername: setroubleshoot
kernel:         4.3.0-0.rc3.git2.2.fc24.x86_64
type:           libreport
Comment 1 Lukas Vrabec 2015-10-05 17:02:45 EDT

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

Note You need to log in before you can comment on or make changes to this bug.