Comment 37 for bug 1227520

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1227520] Re: Timezone changes are not working due to ro /etc and bind mounts

On Mon, Sep 30, 2013 at 06:44:54AM -0000, Martin Pitt 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?

Please drop it from the patch. live-build has already been fixed not to
create it, so there's no reason for livecd-rootfs to include handling.

> 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.

Agreed, this should be changed but should not block this bug.