Re: [systemd-devel] [EXT] Re: Using timedatectl on a readonly rootfile system using mender

2020-09-12 Thread Andrei Borzenkov
09.09.2020 00:54, Alvin Šipraga пишет: > Hi, > > On 9/8/20 4:12 PM, Colin Guthrie wrote: > >> 2. Set your /etc/ master image to make /etc/localtime to be a symlink to >> /run/localtime and then ensure /run/localtime is a symlink to the >> appropriate file in /usr during early boot (e.g. in

Re: [systemd-devel] [EXT] Re: Using timedatectl on a readonly rootfile system using mender

2020-09-09 Thread Shravan Singh
Can we close this issue? I have a solution that works. I will provide it to mender and hopefully they will maintain it if not then I will be happy to maintain it. On Wed, Sep 9, 2020 at 11:30 AM Lennart Poettering wrote: > On Mi, 09.09.20 09:23, Colin Guthrie (gm...@colin.guthr.ie) wrote: > >

Re: [systemd-devel] [EXT] Re: Using timedatectl on a readonly rootfile system using mender

2020-09-09 Thread Lennart Poettering
On Mi, 09.09.20 09:23, Colin Guthrie (gm...@colin.guthr.ie) wrote: > Alvin Šipraga wrote on 08/09/2020 22:54: > > Hi, > > > > On 9/8/20 4:12 PM, Colin Guthrie wrote: > > > >> 2. Set your /etc/ master image to make /etc/localtime to be a symlink to > >> /run/localtime and then ensure

Re: [systemd-devel] [EXT] Re: Using timedatectl on a readonly rootfile system using mender

2020-09-09 Thread Colin Guthrie
Alvin Šipraga wrote on 08/09/2020 22:54: > Hi, > > On 9/8/20 4:12 PM, Colin Guthrie wrote: > >> 2. Set your /etc/ master image to make /etc/localtime to be a symlink to >> /run/localtime and then ensure /run/localtime is a symlink to the >> appropriate file in /usr during early boot (e.g. in

Re: [systemd-devel] [EXT] Re: Using timedatectl on a readonly rootfile system using mender

2020-09-08 Thread Alvin Šipraga
Hi, On 9/8/20 4:12 PM, Colin Guthrie wrote: > 2. Set your /etc/ master image to make /etc/localtime to be a symlink to > /run/localtime and then ensure /run/localtime is a symlink to the > appropriate file in /usr during early boot (e.g. in initramfs). Then > when you want to to change the

Re: [systemd-devel] [EXT] Re: Using timedatectl on a readonly rootfile system using mender

2020-09-08 Thread juice
Shravan Singh kirjoitti 2020-09-08 16:31: No one is answering a simple question. Why we have to guard timezone so much?. Why can't I change it? What happens if I change it on a read-only rootfs? I am breaking the whole systemd by doing this? In fact most of the people in this group are

Re: [systemd-devel] [EXT] Re: Using timedatectl on a readonly rootfile system using mender

2020-09-08 Thread Colin Guthrie
It's not specifically guarded. Dynamic stuff like networking is specifically excluded. Timezone is pretty much the same as any other config, in that if you want to change it make sure you can save it. I'd argue that dynamically changing timezone for the duration of a boot is not that common. If

Re: [systemd-devel] [EXT] Re: Using timedatectl on a readonly rootfile system using mender

2020-09-08 Thread Shravan Singh
No one is answering a simple question. Why we have to guard timezone so much?. Why can't I change it? What happens if I change it on a read-only rootfs? I am breaking the whole systemd by doing this? In fact most of the people in this group are suggesting a work-around to me "I wonder: If you

Re: [systemd-devel] [EXT] Re: Using timedatectl on a readonly rootfile system using mender

2020-08-21 Thread Shravan Singh
Hello Ulrich, Ohh believe me when I say this. I do not want to make it a read-only file system. I was a happy guy with a swing in my steps. But mender-delta updates won't work without making it read-only rootfs . So this is just a big loop that I have involved myself in. And from that day on,