/var/lib/ntp/ is empty ... I have settings for chrony ... vim /etc/chrony.conf with the line: # Record the rate at which the system clock gains/losses time. driftfile /var/lib/chrony/drift [mythcat@desk ~]$ cat /var/lib/chrony/drift -12.876545 3.064993 About the ntp, I enable ntpd and this is result without [mythcat@desk ~]$ sudo dnf install ntp Last metadata expiration check: 0:17:59 ago on Sun 16 Aug 2020 10:20:23 AM EEST. Package ntp-4.2.8p15-1.fc32.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! [mythcat@desk ~]$ cat /etc/redhat-release Fedora release 32 (Thirty Two) [mythcat@desk ~]$ systemctl status ntpd ● ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor [mythcat@desk ~]$ sudo ls /var/lib/ntp/drift [sudo] password for mythcat: ls: cannot access '/var/lib/ntp/drift': No such file or directory [mythcat@desk ~]$ sudo ls /var/lib/ntp/
You can see is empty , I don't know why ... I don't know this args whatprovides for dnf, thank's for share [mythcat@desk ~]$ dnf whatprovides */drift Last metadata expiration check: 1 day, 11:45:25 ago on Fri 14 Aug 2020 10:52:10 PM EEST. chrony-3.5-8.fc32.x86_64 : An NTP client/server Repo : @System Matched from: Filename : /var/lib/chrony/drift chrony-3.5-8.fc32.x86_64 : An NTP client/server Repo : fedora Matched from: Filename : /var/lib/chrony/drift ntp-4.2.8p13-5.fc32.x86_64 : The NTP daemon and utilities Repo : fedora Matched from: Filename : /var/lib/ntp/drift ntp-4.2.8p15-1.fc32.x86_64 : The NTP daemon and utilities Repo : @System Matched from: Filename : /var/lib/ntp/drift ntp-4.2.8p15-1.fc32.x86_64 : The NTP daemon and utilities Repo : updates Matched from: Filename : /var/lib/ntp/drift xscreensaver-extras-1:5.44-1.fc32.x86_64 : An enhanced set of screensavers Repo : fedora Matched from: Filename : /usr/libexec/xscreensaver/drift xscreensaver-extras-1:5.44-2.fc32.x86_64 : An enhanced set of screensavers Repo : updates Matched from: Filename : /usr/libexec/xscreensaver/drift On Sat, Aug 15, 2020 at 5:28 PM Mauricio Tavares <raubvo...@gmail.com> wrote: > On Sat, Aug 15, 2020 at 8:54 AM Tom Horsley <horsley1...@gmail.com> wrote: > > > > On Sat, 15 Aug 2020 12:30:18 +0300 > > Cătălin George Feștilă wrote: > > > > > The chronyd working > > > [root@desk mythcat]# systemctl status chronyd > > > ● chronyd.service - NTP client/server > > > Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; > > > I don't find the driftfile command , why ? > > > [root@desk mythcat]# driftfile /var/lib/ntp/drift > > > bash: driftfile: command not found > > > > Probably because ntp isn't installed, chrony is a different > > package. You can install ntp from the repos (but turn off > > chrony before trying to run ntp). > > (Container so IMMV): > > [root@fedorium /]# cat /etc/redhat-release > Fedora release 31 (Thirty One) > [root@fedorium /]# dnf whatprovides */drift > Last metadata expiration check: 91 days, 23:42:34 ago on Fri May 15 > 14:34:25 2020. > chrony-3.5-4.fc31.x86_64 : An NTP client/server > Repo : fedora > Matched from: > Filename : /var/lib/chrony/drift > ^^^^^^--- As seen by John Pilkington on TV > > ntp-4.2.8p13-3.fc31.x86_64 : The NTP daemon and utilities > Repo : fedora > Matched from: > Filename : /var/lib/ntp/drift > > xscreensaver-extras-1:5.43-2.fc31.x86_64 : An enhanced set of screensavers > Repo : fedora > Matched from: > Filename : /usr/libexec/xscreensaver/drift > > xscreensaver-extras-1:5.44-2.fc31.x86_64 : An enhanced set of screensavers > Repo : updates > Matched from: > Filename : /usr/libexec/xscreensaver/drift > > [root@fedorium /]# > > > _______________________________________________ > > users mailing list -- users@lists.fedoraproject.org > > To unsubscribe send an email to users-le...@lists.fedoraproject.org > > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org > _______________________________________________ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org >
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org