Bug 857199 - Please ship /lib/systemd/ntp-units.d/40-chrony.list to integrate nicely in timedated/GNOME3
Summary: Please ship /lib/systemd/ntp-units.d/40-chrony.list to integrate nicely in ti...
Keywords:
Status: CLOSED DUPLICATE of bug 846303
Alias: None
Product: Fedora
Classification: Fedora
Component: chrony
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-13 19:00 UTC by Lennart Poettering
Modified: 2013-03-12 09:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-13 20:05:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lennart Poettering 2012-09-13 19:00:16 UTC
Please include a file /lib/systemd/ntp-units.d/40-chrony.list in your package including a single line only:

chronyd.service

This will tell systemd's timedated mechanism (which is used by GNOME among others) about chrony so that the user can easily enable/disable NTP. We didn't want to hardcode the names of the various NTP implementaitons hence we made timedated collect the information from this directory.

Please also drop  /lib/systemd/system/systemd-timedated-ntp.target.wants/chronyd.service from your package. It turned out to be bad idea and is what we are replacing by this ntp-units.d/ logic above.

Sorry for this chaotic forth and back on this topic.

Please have a look at the NTP package if you need and example how to do this right.

THanks!

Comment 1 Miroslav Lichvar 2012-09-13 20:05:30 UTC
I think this was recently fixed in chrony-1.27-0.5.pre1.git1ca844.fc18, now in the testing repository. Please let me know if that's not the case.

*** This bug has been marked as a duplicate of bug 846303 ***


Note You need to log in before you can comment on or make changes to this bug.