Re: [systemd-devel] Starting services enabled by filesystem overlay over /etc/

2019-02-13 Thread Matt Schuckmann
devel@lists.freedesktop.org" Subject: Re: [systemd-devel] Starting services enabled by filesystem overlay over /etc/ Message-ID: Content-Type: text/plain; charset="UTF-8" > Also checkout systemd generators > (https://www.freedesktop.org/software/systemd/man/sy

Re: [systemd-devel] Starting services enabled by filesystem overlay over /etc/

2019-02-12 Thread Umut Tezduyar Lindskog
Also checkout systemd generators (https://www.freedesktop.org/software/systemd/man/systemd.generator.html). A generator can overlay the /etc and generators should run before systemd starts scanning the unit files. Umut On Mon, Feb 11, 2019 at 10:07 PM Matt Schuckmann wrote: > > Thank you all

Re: [systemd-devel] Starting services enabled by filesystem overlay over /etc/

2019-02-11 Thread Matt Schuckmann
Thank you all for the responses. It sounds like I should look into creating an initramfs to mount my writable partitions and /etc overlay. I've never created an initramfs so it might take me a bit to work through it. In the mean time I've found that masking services does work with my overlay

Re: [systemd-devel] Starting services enabled by filesystem overlay over /etc/

2019-02-11 Thread Lennart Poettering
On So, 10.02.19 17:28, Mantas Mikulėnas (graw...@gmail.com) wrote: > On Sun, Feb 10, 2019 at 10:07 AM Andrei Borzenkov > wrote: > > > 09.02.2019 21:45, Matt Schuckmann пишет: > > > > > > What do I need to do to get systemd to automatically start the services > > that are marked enabled in that

Re: [systemd-devel] Starting services enabled by filesystem overlay over /etc/

2019-02-11 Thread Jonathon Kowalski
On Sunday, February 10, 2019, Andrei Borzenkov wrote: > 09.02.2019 21:45, Matt Schuckmann пишет: > > I have an embedded system with a readonly rootfs. > > > > I've setup a very early service that mounts a writable aufs overlay over > /etc/. > > > > > > The problem I'm having is systemd is not

Re: [systemd-devel] Starting services enabled by filesystem overlay over /etc/

2019-02-10 Thread Mantas Mikulėnas
On Sun, Feb 10, 2019 at 10:07 AM Andrei Borzenkov wrote: > 09.02.2019 21:45, Matt Schuckmann пишет: > > > > What do I need to do to get systemd to automatically start the services > that are marked enabled in that overlay? > > > > I am not aware of any clean way to do it. Attempting to re-queue

Re: [systemd-devel] Starting services enabled by filesystem overlay over /etc/

2019-02-10 Thread Andrei Borzenkov
09.02.2019 21:45, Matt Schuckmann пишет: > I have an embedded system with a readonly rootfs. > > I've setup a very early service that mounts a writable aufs overlay over > /etc/. > > > The problem I'm having is systemd is not starting any services that I have > enabled in that overlay that

[systemd-devel] Starting services enabled by filesystem overlay over /etc/

2019-02-09 Thread Matt Schuckmann
I have an embedded system with a readonly rootfs. I've setup a very early service that mounts a writable aufs overlay over /etc/. The problem I'm having is systemd is not starting any services that I have enabled in that overlay that were not initially enabled in the readonly rootfs. ?I've