migrate UTC setting from /etc/default/rcS to adjtime
Bug #1541532 reported by
Martin Pitt
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
installation-guide (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
lupin (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
mbr (Debian) |
Fix Released
|
Unknown
|
|||
mbr (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt | ||
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt | ||
sysvinit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
util-linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This has been an Ubuntu delta in systemd and perhaps other Ubuntu packages for a long time. But /etc/default/rcS is a SysV-ism, and no other setting in there is relevant. Steps:
* Bump the version guard in systemd.conf for migrating the actual setting (keep until 16.04 LTS)
* Ensure that we only look at the LOCAL setting during boot, and do no actual drift correction at boot, as the kernel does that by itself.
* grep the archive for software which might directly look at or even write that file (Ubuntu specific config tools and the like).
Changed in systemd (Ubuntu): | |
milestone: | none → ubuntu-16.02 |
assignee: | nobody → Martin Pitt (pitti) |
status: | New → Triaged |
Changed in util-linux (Ubuntu): | |
status: | New → In Progress |
Changed in sysvinit (Ubuntu): | |
status: | New → In Progress |
Changed in systemd (Ubuntu): | |
status: | Triaged → In Progress |
Changed in systemd (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in mbr (Debian): | |
status: | Unknown → New |
Changed in sysvinit (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in util-linux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in mbr (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
status: | New → In Progress |
Changed in mbr (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in mbr (Debian): | |
status: | New → Fix Committed |
Changed in mbr (Debian): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
> do no actual drift correction at boot, as the kernel does that by itself
I found that the only place which potentially would do that is /etc/init. d/hwclock. sh, but this would only be run under SysV init which we never supported and don't even have binary packages for. Under upstart, /etc/init/ hwclock. conf uses --noadjfile and parses the UTC setting from /etc/default/rcS (that needs to be fixed), under systemd the file is masked and systemd itself parses the third line to determine UTC vs. LOCAL.
I'm currently running an archive grep for "default/ rcS|adjtime" to find and review all users of either.