Comment 36 for bug 1227520

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

http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk/revision/848 gets along fine with a nonexistent /etc/adjtime, but will move it to /etc/writable if it is present. That seems right to me, as a non-writable /etc/adjtime is totally useless. If this isn't supposed to be in the phone images, we can throw it out of the patch of course (just drop it from the for loop). Steve, any opinion on that?

> I can update the timedatectl patch to get along with a missing file (maybe it does already, need to test).

I checked this now. timedated does not touch /etc/adjtime for changing timezones, so this isn't a concern for the purposes of this bug. It only creates/updates /etc/adjtime when calling "timedatectl set-local-rtc yes", and removes it again on "no", for storing the LOCAL flag. If we don't want that, I'm happy to take this out, but please let's not block this bug on that. It has already taken way more time than necessary to land this.