Install time-daemon with NTS support by default
Bug #2111342 reported by
Lukas Märdian
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Fix Released
|
Undecided
|
Lukas Märdian | ||
chrony (Ubuntu) |
Fix Released
|
Undecided
|
Lukas Märdian | ||
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ubuntu-meta (Ubuntu) |
Fix Released
|
Undecided
|
Lukas Märdian | ||
ubuntu-release-upgrader (Ubuntu) |
Deferred
|
Undecided
|
Unassigned |
Bug Description
Ubuntu shall be secure by default, therefore utilize Network Time Security (NTS), as time is the trust anchor for many cryptography related processes (e.g. certificates).
NTS was previously enabled in chrony (LP: #2084585) and comes pre-installed in certain Ubuntu cloud images. Still, in Ubuntu Desktop/Server and other generic Ubuntu images we rely on systemd-timesyncd (without support for NTS [1]). This leads to a situation where we have to maintain two time-daemons in "main", while still not using NTS on most systems.
[1] https:/
References: spec-FO207, SD-2171, chrony MIR (LP: #1744072)
Related branches
~slyon/ubuntu-seeds/+git/platform:nts-by-default
Merged
into
~ubuntu-core-dev/ubuntu-seeds/+git/platform:questing
at
revision 241da4ae355670c86e8c575f24a94d3f32b2acf1
- Didier Roche-Tolomelli: Approve
- Michael Hudson-Doyle: Approve
- Valentin David: Pending requested
-
Diff: 12 lines (+1/-0)1 file modifiedminimal (+1/-0)
~slyon/ubuntu/+source/systemd:nts-by-default
- Lukas Märdian: Disapprove
- Nick Rosbrook: Needs Information
-
Diff: 32 lines (+12/-1)2 files modifieddebian/changelog (+11/-0)
debian/control (+1/-1)
~slyon/ubuntu-seeds/+git/ubuntu:nts-by-default
Merged
into
~ubuntu-core-dev/ubuntu-seeds/+git/ubuntu:questing
at
revision 25f2e17a7ddb8d989d10cb4f4d5ae7f1994fd893
- Catherine Redfield: Pending requested
- Ubuntu Core Development Team: Pending requested
-
Diff: 19 lines (+1/-1)1 file modifiedcloud-minimal (+1/-1)
description: | updated |
description: | updated |
Changed in ubuntu: | |
status: | New → Fix Committed |
Changed in ubuntu-meta (Ubuntu): | |
assignee: | nobody → Lukas Märdian (slyon) |
Changed in ubuntu: | |
assignee: | nobody → Lukas Märdian (slyon) |
Changed in ubuntu-meta (Ubuntu): | |
status: | New → In Progress |
Changed in chrony (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The current plan looks like this:
0/ Testing can happen already, by switching to "chrony" manually
=> apt install chrony && apt-mark auto chrony # will remove systemd-timesyncd
1/ Get the seed changes landed in "platform:minimal" and "ubuntu: cloud-minimal"
=> seeding "chrony | time-daemon", to allow for switching of NTP stack, e.g. by installing systemd-timesyncd (also in "main").
=> Give germinate some time to regenerate its outputs and sync to the mirrors.
2/ update "ubuntu-meta", by running the ./update script and dput to the archive, deploying the seed changes from (1) to to the "ubuntu-minimal" and "ubuntu- cloud-minimal" meta packages.
3/ Update systemd, to drop "Recommends: systemd-timesyncd", just keeping "time-daemon".
=> We can potentially avoid this delta, as the ubuntu-meta "Depends: chrony | time-daemon" should overrule systemd's "Recommends: systemd-timesyncd | time-daemon".
4/ At this point new installations/ images should come pre-installed with chrony (not sd-timesyncd).
=> People can manually switch back by calling "apt-mark auto chrony && apt install systemd-timesyncd"
5/ Implement transition logic in ubuntu- release- upgrader to remove systemd-timesyncd from upgrading system, replacing it with chrony.
=> To make upgraded systems behave the same as new installations.
=> People can still manually switch back to any other "time-daemon" as described in (4).
6/ Update docs and release notes.