[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 08:44:03 UTC 2013


So, to summarize my understanding what should happen (sorry, I'm still
quite new to that touch layout, so I rather make sure):

 * livecd-rootfs creates /etc/writable/ (use a generic name as we might need it for other cases, and please no dotfiles)
 * livecd-rootfs moves /etc/localtime to /etc/writable/localtime and adds a corresponding symlink
 * lxc-android-config declares /etc/writable as writable  -> this would create a mount point, and hide the original contents of /etc/writable/ as created by livecd-rootfs; how does the mounted file system get /etc/writable/zoneinfo? Is that done magically by the "transition" flag in /etc/system-image/writable-paths?
 * timedated and tzdata's postinst check if /etc/localtime point to /etc/writable (i. e. not to /usr/share/zoneinfo) and do its operation on the symlink target instead as a fallback.

** Also affects: livecd-rootfs (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: lxc-android-config (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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:
  New
Status in “lxc-android-config” package in Ubuntu:
  New
Status in “systemd” package in Ubuntu:
  Incomplete
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