Comment 13 for bug 1227520

Revision history for this message
Stéphane Graber (stgraber) wrote : Re: [Bug 1227520] Re: Timezone changes are not working due to ro /etc and bind mounts

On Tue, Sep 24, 2013 at 04:14:41PM -0000, Iain Lane wrote:
> On Tue, Sep 24, 2013 at 03:50:58PM -0000, Martin Pitt wrote:
> > Changing timedated is blocked until we actually get writable directories
> > in /etc/, setting to incomplete until that lands.
>
> It works now; try adding it to /etc/system-image/writable-paths (not
> sure if you have to make the directory first).

The path needs to exist in the rootfs, otherwise we can't bind-mount
stuff onto it. So you need to have livecd-rootfs or some touch package
create the directory, move the files from /etc to that directory and
replace them with symlinks.

I don't believe any of those are conffiles or even shipped within
packages (they're generated at postinst), so there shouldn't be any need
for dpkg-divert or similar magic to keep stuff consistent.

--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com