Re: [chrony-users] tempcomp.log not created (on Fedora 17 & 20) when chronyd started from systemd

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Wed, Feb 26, 2014 at 12:14:43PM +0100, Ferry de Jong wrote:
> Could it be tempcomp.log is not created and written to if chronyd
> (including version 1.29.1) is started thru systemd (on Fedora 17 and 20).
> (It does not seem related to the usage or absence of the -u chrony
> arguments to drop root rights that are hardcoded to be added by systemd
> scripts)
> The other log files that chronyd writes do not have this problem.

Do you have SELinux enabled and in enforcing mode? When I try it I see
the following message in syslog:

localhost kernel: [4318977.190860] type=1400 audit(1393589239.761:26): avc:  denied  { read } for  pid=23165 comm="chronyd" name="hwmon0" dev="sysfs" ino=15502 scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=lnk_file

chronyd is unable to read the file and there is nothing to write to
the tempcomp log.

> tempcomp /sys/class/hwmon/hwmon0/device/temp2_input 10 45000 0.0 0.000001
> 0.0

-- 
Miroslav Lichvar

-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/