On Thu, Aug 23, 2012 at 11:04:05AM +0100, Tomalak Geret'kal wrote:
> It seems odd that chrony fails to open /var/run/chrony.pid and fails
> to adjtimex(), presumably both through permissions errors (though
> this is only made clear-ish for the latter). There is *only* a root
> user on the device, and no selinux or anything of that ilk. The
> intermittent nature of the fault does not involve a change in user
> context. Still a race condition?

I'm not sure. In the 2.6.21 kernel's adjtimex code there seems to be
only one place returning EPERM a that's a check for the CAP_SYS_TIME
capability which root should always have (IIRC filesystem capabilities
were not supported yet). Any chance the binary could have the suid bit
set?

-- 
Miroslav Lichvar

-- 
To unsubscribe email chrony-users-requ...@chrony.tuxfamily.org 
with "unsubscribe" in the subject.
For help email chrony-users-requ...@chrony.tuxfamily.org 
with "help" in the subject.
Trouble?  Email listmas...@chrony.tuxfamily.org.

Reply via email to