Re: [systemd-devel] Stateless system - Centos8 and overlayfs on root

2020-03-31 Thread Preston L. Bannister
On Tue, Mar 31, 2020 at 1:10 AM Lennart Poettering wrote: > On Fr, 27.03.20 10:17, Preston L. Bannister (pres...@bannister.us) wrote: > > > Had the (possibly) clever notion of using an overlayfs as the root mount, > > with a tmpfs as the upper, and the usual persistent volume as the > > lower. >

Re: [systemd-devel] Stateless system - Centos8 and overlayfs on root

2020-03-31 Thread Lennart Poettering
On Fr, 27.03.20 10:17, Preston L. Bannister (pres...@bannister.us) wrote: > Looking for a sanity check from the folk how know more of systemd than do > I. Not looking for someone else to solve my problem, but could use a clue. > > Trying to figure out how to get an overlayfs root mounted early in

Re: [systemd-devel] Stateless system - Centos8 and overlayfs on root

2020-03-31 Thread Tobias Hunger
Hi, You said no data is to be stored when powered down. What do you need the overlay for then? Just mount to a tmpfs as '/' and centos as '/usr', which is something that systemd supports out of the box. You will need at least some files in /etc for this to work, and I just have the initrd untar

Re: [systemd-devel] Stateless system - Centos8 and overlayfs on root

2020-03-30 Thread Preston L. Bannister
To be clear, I am trying to introduce the minimal change possible to Centos 8 (due to outside constraints). Also past initial/lab development, the embedded system goes on a trailer, and operates in (network) isolation for months or years. Not so much a CI sort of setup. Did read the 0pointer

Re: [systemd-devel] Stateless system - Centos8 and overlayfs on root

2020-03-30 Thread Simon McVittie
On Fri, 27 Mar 2020 at 10:17:37 -0700, Preston L. Bannister wrote: > Updates would be accomplished by booting from the original boot menu entry. > (This is slightly complicated by the fact the target systems' computers do not > have a console - but figure I can script altering the default boot.)

Re: [systemd-devel] Stateless system - Centos8 and overlayfs on root

2020-03-27 Thread Silvio Knizek
Am Freitag, den 27.03.2020, 10:17 -0700 schrieb Preston L. Bannister: > Looking for a sanity check from the folk how know more of systemd than do I. > Not looking for someone else to solve my problem, but could use a clue. > > Trying to figure out how to get an overlayfs root mounted early in

[systemd-devel] Stateless system - Centos8 and overlayfs on root

2020-03-27 Thread Preston L. Bannister
Looking for a sanity check from the folk how know more of systemd than do I. Not looking for someone else to solve my problem, but could use a clue. Trying to figure out how to get an overlayfs root mounted early in boot. Building an embedded system that must not store any sensitive data when