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

Martin Pitt martin.pitt at ubuntu.com
Wed Sep 25 09:32:00 UTC 2013


livecd-rootfs changes pushed to http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk/revision/848
writable-paths changes pushed to http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/saucy/lxc-android-config/saucy/revision/102

I tested those by

 * making image writable
 * umounting /etc/{adjtime,localtime,timezone}
 * Running the new live-build/ubuntu-touch/hooks/03-etc-writable.chroot script
 * Replacing /etc/system-image/writable-paths  with the new version from above branch
 * making image non-writable again, reboot

Now I have

$ ls -l /etc/{adjtime,localtime,timezone}
lrwxrwxrwx 1 root root 21 Sep 25 09:22 /etc/adjtime -> /etc/writable/adjtime
lrwxrwxrwx 1 root root 23 Sep 25 09:22 /etc/localtime -> /etc/writable/localtime
lrwxrwxrwx 1 root root 22 Sep 25 09:22 /etc/timezone -> /etc/writable/timezone

and I can create new files in /etc/writable/. So I'm fairly sure that
this is ok, but peer review highly appreciated before I actually upload
this. Also, I believe Oliver needs to add that to some google docs to
get a "change request".

** Changed in: livecd-rootfs (Ubuntu)
       Status: In Progress => Fix Committed

** Changed in: lxc-android-config (Ubuntu)
       Status: Triaged => Fix Committed

** Changed in: lxc-android-config (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

-- 
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 “livecd-rootfs” package in Ubuntu:
  Fix Committed
Status in “lxc-android-config” package in Ubuntu:
  Fix Committed
Status in “systemd” package in Ubuntu:
  Triaged
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/livecd-rootfs/+bug/1227520/+subscriptions



More information about the foundations-bugs mailing list