Comment 8 for bug 1377258

Revision history for this message
Martin Pitt (pitti) wrote :

Ah thanks. I think I understand this now, so setting to Triaged. Debian's systemd is using /etc/adjtime to indicate whether the hw clock is UTC or LOCAL, and masks /etc/init.d/hwclock.sh. But right now in Ubuntu we still use /etc/default/rcS's UTC= setting.

Option 1: Keep rcS UTC setting: Un-mask hwclock.sh in util-linux so that it runs under systemd, or write a specific unit for it. This will keep our delta for that in sysvinit, util-linux, and systemd forever.

Option 2: Drop rcS UTC setting, drop our deltas in sysvinit, util-linux, and systemd, and migrate that setting to /etc/adjtime like in Debian. Our only delta would then be to bump the version comparison in systemd.postinst to do the migration, which we could drop after 16.04 LTS.

I'm favoring option 2, but I remember that Steve seemed to dislike /etc/adjtime quite much, so I'd like to ask him about his opinion first.