Re: how uncover what and why start chronyd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/25/2013 07:41 PM, Frantisek Hanzlik wrote:
> 'systemctl status chrony-wait.service' :
> chrony-wait.service - Wait for chrony to synchronize system clock
>           Loaded: loaded (/usr/lib/systemd/system/chrony-wait.service; disabled)
>           Active: inactive (dead)
>           CGroup: name=systemd:/system/chrony-wait.service
>
> It's disabled too. And it looks like this run only chronyc, which
> perhaps should not start chronyd.(?)
>
> One more thing: I have in /etc/rc.d/rc.local called ntpdate with
> some external servers (1.cz.pool.ntp.org 2.cz.pool.ntp.org
>  3.cz.pool.ntp.org). But this should not trigger chronyd, yes?

It actually does, at least on my system, probably because it has Requires=chronyd.service.

If I have ntpd.service enabled and only chrony-wait.service and reboot my VM it gets started... 

[egreshko@f18x ~]$ systemctl status chronyd.service
chronyd.service - NTP client/server
          Loaded: loaded (/usr/lib/systemd/system/chronyd.service; disabled)
          Active: active (running) since Fri 2013-01-25 21:07:17 CST; 1min 1s ago
         Process: 682 ExecStartPost=/usr/libexec/chrony-helper add-dhclient-servers (code=exited, status=0/SUCCESS)
         Process: 647 ExecStart=/usr/sbin/chronyd -u chrony $OPTIONS (code=exited, status=0/SUCCESS)
         Process: 602 ExecStartPre=/usr/libexec/chrony-helper generate-commandkey (code=exited, status=0/SUCCESS)
        Main PID: 676 (chronyd)
          CGroup: name=systemd:/system/chronyd.service
                  └─676 /usr/sbin/chronyd -u chrony

[egreshko@f18x ~]$ systemctl status chrony-wait.service
chrony-wait.service - Wait for chrony to synchronize system clock
          Loaded: loaded (/usr/lib/systemd/system/chrony-wait.service; enabled)
          Active: active (exited) since Fri 2013-01-25 21:07:47 CST; 1min 8s ago
         Process: 684 ExecStart=/usr/bin/chronyc waitsync 60 0.1 (code=exited, status=0/SUCCESS)

[egreshko@f18x ~]$ systemctl status ntpd.service
ntpd.service - Network Time Service
          Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
          Active: inactive (dead)

ntpd didn't get started since it lost the race to get the port.

Anyway, I'd just go ahead and remove chrony from the system if you're not going to use it.



-- 
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux