Could not open temporary driftfile /var/lib/chrony/drift.tmp for writing

Solution In Progress - Updated -

Issue

  • When using a readonly-root, chrony cannot write its drift file to /var/lib/chrony/drift.tmp.

    [root@server ~]# cat /var/log/messages 
    May 21 04:11:20 server chronyd[725]: Could not open temporary driftfile /var/lib/chrony/drift.tmp for writing
    

Environment

  • Red Hat Enterprise Linux 7
  • chrony-3.4-1.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content