Red Hat Bugzilla – Bug 815748
Network time can't be enabled
Last modified: 2012-05-02 14:17:09 EDT
Description of problem:
Clean installation of F17 Beta i686 Live into VM. I open Date and Time configuration and slide "Network Time" to ON. When I check in terminal, chronyd.service is disabled and stopped.
I reboot. chronyd.service is obviously still disabled and stopped. When I open Date and Time configuration, "Network Time" is set to OFF.
Version-Release number of selected component (if applicable):
on VM and on bare-metal
chronyd.service is enabled and running, time is synchronized, and date and time configuration shows that network time is enabled.
Proposing as F17 blocker:
"All elements of the default panel (or equivalent) configuration in all release-blocking desktops must function correctly in common use"
Please note that when I select "Synchronize time over the network" in firstboot, it enables and starts chronyd.service correctly, but Date and Time configuration still shows "Network Time" as OFF. It is probably related issue. If it is not, I'll report it separately, let me know.
systemd upstream will now activate/enable systemd-timedated-ntp.target instead of ntpd.service or chrony.service. These two packages should then hook into the target to get started indirectly.
What's left to do:
- get this into Fedora
- updte chrony and ntpd to include the necessary .wants/ symlink and BindTo directive
Can you provide chrony/ntpd patches and file bugs ?
systemd-44-7.fc17 has been submitted as an update for Fedora 17.
(In reply to comment #4)
> What's left to do:
> - get this into Fedora
systemd-44-7.fc17 has it.
> - updte chrony and ntpd to include the necessary .wants/ symlink and BindTo
By the necessary .wants/ symlink you mean:
/usr/lib/systemd/system/systemd-timedated-ntp.target.wants/chronyd.service -> ../chronyd.service
(i.e. ship it in the package. Not create it using the [Install] section)
The BindTo directive will go into chronyd.service's [Unit] section and say:
Going to clone this bug for chrony and ntpd now.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-44-7.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
DVD TC2 install, enabled time sync during first boot. chronyd is running, and systemd reports active status, persistent through reboot. Appears to be fixed.
Discussed in the 2012-05-01 blocker bug review meeting. This doesn't clearly hit any release criteria and it sounds like it could be fixed with an update.
Please re-test with a new F17 install using final TC2 or newer and see if this has indeed been fixed.
systemd-44-7.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
you have to install ntp daemon its in fedora update-testing
1.yum install ntp*
3. service ntpd start/restart or systemctl start ntpd.service
4. enable ntpd systemctl enable ntp.service
after that when i logged in again i checked the status wit systemctl status ntpd.service
here's the output
[root@localhost liveuser]# systemctl status ntpd.service
ntpd.service - Network Time Service
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
Active: active (running) since Thu, 03 May 2012 04:56:57 +0530
Main PID: 2030 (ntpd)
└ 2030 /usr/sbin/ntpd -u ntp:ntp -g
May 03 04:56:57 localhost.localdomain ntpd: peers refreshed
May 03 04:56:57 localhost.localdomain ntpd: Listening on routing socket...
May 03 04:56:58 localhost.localdomain ntpd: 0.0.0.0 c016 06 restart
May 03 04:56:58 localhost.localdomain ntpd: 0.0.0.0 c012 02 freq_set ke...
May 03 04:56:58 localhost.localdomain ntpd: 0.0.0.0 c011 01 freq_not_set
May 03 04:57:04 localhost.localdomain ntpd: 0.0.0.0 c61c 0c clock_step ...
May 02 23:27:04 localhost.localdomain ntpd: 0.0.0.0 c614 04 freq_mode
May 02 23:27:05 localhost.localdomain ntpd: 0.0.0.0 c618 08 no_sys_peer
May 02 23:42:17 localhost.localdomain ntpd: 0.0.0.0 c612 02 freq_set ke...
May 02 23:42:17 localhost.localdomain ntpd: 0.0.0.0 c615 05 clock_sync