Re: [systemd-devel] Stateless System Presets

2019-08-01 Thread Ryan Gonzalez
Could you use systemd-tmpfiles to set up the symlinks? I know OSTree-based distros often use it to initialize symlinks on the rootfs. On Thu, Aug 1, 2019, 12:05 PM Quinn Mikelson wrote: > I work at a company who develops a number of semi-stateless systems. My > current challenge is integrating o

Re: [systemd-devel] Antw: failing unmounts during reboot

2019-08-01 Thread Andrei Borzenkov
29.07.2019 9:38, Ulrich Windl пишет: Ulrich Windl schrieb am 29.07.2019 um 08:23 in Nachricht <5D3E90D1.4EC : 161 : > 60728>: > Frank Steiner schrieb am 25.07.2019 um > 14:14 in >> Nachricht <913a3c04-a666-b44b-c6ec-fe3d8a7fe...@bio.ifi.lmu.de>: >>> Ulrich Windl wrote: >>>

Re: [systemd-devel] Antw: failing unmounts during reboot

2019-08-01 Thread Andrei Borzenkov
25.07.2019 15:14, Frank Steiner пишет: > All mount units > for NFS filesystems created from fstab get "Before=remote-fs.target", > so they are shutdown before the network goes down. > This conslusion is absolutely wrong. Before=remote-fs.target does not (and cannot) order unit shutdown *before* n

[systemd-devel] Stateless System Presets

2019-08-01 Thread Quinn Mikelson
I work at a company who develops a number of semi-stateless systems. My current challenge is integrating out growing number of vendor-specific applications and services into a system with persistent /etc and /usr directories. These images are generated using Buildroot with initramfs filesystems;

Re: [systemd-devel] systemd's connections to /run/systemd/private ?

2019-08-01 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Aug 01, 2019 at 08:46:58AM -0400, Brian Reichert wrote: > On Thu, Aug 01, 2019 at 08:17:01AM +, Zbigniew J??drzejewski-Szmek wrote: > > The kernel will use the lower-numbered available fd, so there's lot of > > "reuse" of the same numbers happening. This strace means that between > > ea

Re: [systemd-devel] systemd's connections to /run/systemd/private ?

2019-08-01 Thread Brian Reichert
On Thu, Aug 01, 2019 at 08:17:01AM +, Zbigniew J??drzejewski-Szmek wrote: > The kernel will use the lower-numbered available fd, so there's lot of > "reuse" of the same numbers happening. This strace means that between > each of those close()s here, some other function call returned fd 19. > Un

Re: [systemd-devel] systemd prerelease 243-rc1

2019-08-01 Thread Lennart Poettering
On Mi, 31.07.19 13:52, Stefan Tatschner (ste...@rumpelsepp.org) wrote: > On Wed, 2019-07-31 at 13:47 +0200, Lennart Poettering wrote: > > > What is this “strict” mode exactly? > > > > It just means resolved will insist on DNS-over-TLS to talk to the > > configured DNS servers, instead of trying to

Re: [systemd-devel] Backup the current boot logs in raw format

2019-08-01 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Aug 01, 2019 at 10:52:07AM +0200, Francis Moreau wrote: > On Thu, Aug 1, 2019 at 10:36 AM Zbigniew Jędrzejewski-Szmek > wrote: > > > > On Thu, Aug 01, 2019 at 10:26:50AM +0200, Francis Moreau wrote: > > > On Thu, Aug 1, 2019 at 9:45 AM Zbigniew Jędrzejewski-Szmek > > > wrote: > > > > > >

Re: [systemd-devel] Backup the current boot logs in raw format

2019-08-01 Thread Francis Moreau
On Thu, Aug 1, 2019 at 10:36 AM Zbigniew Jędrzejewski-Szmek wrote: > > On Thu, Aug 01, 2019 at 10:26:50AM +0200, Francis Moreau wrote: > > On Thu, Aug 1, 2019 at 9:45 AM Zbigniew Jędrzejewski-Szmek > > wrote: > > > > > > On Thu, Aug 01, 2019 at 09:11:19AM +0200, Francis Moreau wrote: > > > > On W

Re: [systemd-devel] Backup the current boot logs in raw format

2019-08-01 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Aug 01, 2019 at 10:26:50AM +0200, Francis Moreau wrote: > On Thu, Aug 1, 2019 at 9:45 AM Zbigniew Jędrzejewski-Szmek > wrote: > > > > On Thu, Aug 01, 2019 at 09:11:19AM +0200, Francis Moreau wrote: > > > On Wed, Jul 24, 2019 at 4:08 PM Zbigniew Jędrzejewski-Szmek > > > wrote: > > > > you

Re: [systemd-devel] Backup the current boot logs in raw format

2019-08-01 Thread Francis Moreau
On Thu, Aug 1, 2019 at 9:45 AM Zbigniew Jędrzejewski-Szmek wrote: > > On Thu, Aug 01, 2019 at 09:11:19AM +0200, Francis Moreau wrote: > > On Wed, Jul 24, 2019 at 4:08 PM Zbigniew Jędrzejewski-Szmek > > wrote: > > > you can export and write to a journal file with: > > > journalctl -o export ...

Re: [systemd-devel] vconsole.conf, systemd-localed and the console keymap in the initrd

2019-08-01 Thread Lennart Poettering
On Mi, 31.07.19 14:28, Hans de Goede (hdego...@redhat.com) wrote: > Hi Lennart, > > On 31-07-19 14:07, Lennart Poettering wrote: > > On Di, 30.07.19 10:49, Hans de Goede (hdego...@redhat.com) wrote: > > > > > I believe that the best way to fix is this is probably to specify the > > > keymap on the

Re: [systemd-devel] systemd's connections to /run/systemd/private ?

2019-08-01 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jul 31, 2019 at 11:37:31AM -0400, Brian Reichert wrote: > On Wed, Jul 31, 2019 at 12:36:41AM +0300, Uoti Urpala wrote: > > On Tue, 2019-07-30 at 14:56 -0400, Brian Reichert wrote: > > > I see, between 13:49:30 and 13:50:01, I see 25 'successful' calls > > > for close(), e.g.: > > > > > >

Re: [systemd-devel] Backup the current boot logs in raw format

2019-08-01 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Aug 01, 2019 at 09:11:19AM +0200, Francis Moreau wrote: > On Wed, Jul 24, 2019 at 4:08 PM Zbigniew Jędrzejewski-Szmek > wrote: > > you can export and write to a journal file with: > > journalctl -o export ... | /usr/lib/systemd/systemd-journal-remote -o > > /tmp/foo.journal - > > This h

Re: [systemd-devel] Backup the current boot logs in raw format

2019-08-01 Thread Francis Moreau
On Wed, Jul 24, 2019 at 4:08 PM Zbigniew Jędrzejewski-Szmek wrote: > you can export and write to a journal file with: > journalctl -o export ... | /usr/lib/systemd/systemd-journal-remote -o > /tmp/foo.journal - > This has the advantage that you can apply any journalctl filter where > the dots a