[Bug 1227520] Re: Timezone changes are not working due to ro /etc and bind mounts

Martin Pitt martin.pitt at ubuntu.com
Mon Sep 30 06:44:54 UTC 2013


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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1227520

Title:
  Timezone changes are not working due to ro /etc and bind mounts

Status in “android” package in Ubuntu:
  New
Status in “initramfs-tools-ubuntu-touch” package in Ubuntu:
  Fix Committed
Status in “livecd-rootfs” package in Ubuntu:
  Fix Committed
Status in “lxc-android-config” package in Ubuntu:
  Fix Committed
Status in “systemd” package in Ubuntu:
  Fix Committed
Status in “ubuntu-system-settings” package in Ubuntu:
  Invalid

Bug description:
  There is no way to set up a different timezone than automatic in the
  System Settings

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: ubuntu-system-settings 0.1+13.10.20130910.3-0ubuntu1
  Uname: Linux 3.4.0-3-mako armv7l
  ApportVersion: 2.12.2-0ubuntu1
  Architecture: armhf
  Date: Thu Sep 19 08:41:07 2013
  InstallationDate: Installed on 2013-09-18 (0 days ago)
  InstallationMedia: Ubuntu Saucy Salamander (development branch) - armhf (20130918)
  MarkForUpload: True
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
  SourcePackage: ubuntu-system-settings
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/android/+bug/1227520/+subscriptions



More information about the foundations-bugs mailing list