[systemd-devel] [PATCH] timedated: add --timezone option to set the default timezone

Andrey Borzenkov arvidjaar at gmail.com
Wed Mar 19 19:38:08 PDT 2014


В Wed, 19 Mar 2014 19:55:35 +0100
Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> пишет:

> On Thu, Mar 20, 2014 at 12:39:12AM +0900, juho son wrote:
> > Hi,
> > I omitted explain about.
> > /etc have many system's configuration files. "localtime" is one of them.
> > Normally /etc is on readable and writable location.
> 
> So you've made the directory for configuration read-only, but you want
> to change the configuration, so you're creating a second configuration
> directory to store the new values there. This doesn't make sense to me,
> and is not going to work unless glibc is also modifed, since any program
> will try to read that file.
> 

My company offers solution based on tailored shared SLES image which is
mostly read-only with some links into small write-only area. This worked
fine for the past 10+ years. So it is something that is used in real
world.

And yes, /etc/localtime is a link as well.

> (Not to mention the fact that /opt has a rather different purpose, but
> let's say that this is a secondary issue).
> 

We are using /var (which is read-write and private for each host using
image), but that does not really matter.


More information about the systemd-devel mailing list