Re: [systemd-devel] systemd[1]: Stopped (with error) /dev/mapper/wxyz.

2016-07-24 Thread Andrei Borzenkov
25.07.2016 06:11, Dave T пишет: > I have a fileserver with several HDDs (btrfs and dm-crypt for all except > one which is lvm2 and dm-crypt). > > Within the last week when I umount a USB drive, all my other mounts > immediately get unmounted too. I lose /home and almost everything else > except

[systemd-devel] systemd[1]: Stopped (with error) /dev/mapper/wxyz.

2016-07-24 Thread Dave T
I have a fileserver with several HDDs (btrfs and dm-crypt for all except one which is lvm2 and dm-crypt). Within the last week when I umount a USB drive, all my other mounts immediately get unmounted too. I lose /home and almost everything else except the system device. The USB drive is the ESP

Re: [systemd-devel] systemd-coredump, coredump is truncated to exactly 2GiB

2016-07-24 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jul 23, 2016 at 02:10:51PM -0600, Chris Murphy wrote: > On Sat, Jul 23, 2016 at 11:41 AM, Zbigniew Jędrzejewski-Szmek > wrote: > > On Fri, Jul 22, 2016 at 07:40:25PM -0600, Chris Murphy wrote: > >> qemu-system-x86 core dumped on me for some reason, and I see it in the

[systemd-devel] Redirecting logfile to journald

2016-07-24 Thread Juanjo Presa
Hi, I'm running a service that only writes output to log file, not configurable. Then I'm trying to link the log file to /dev/stdout but I guess that is not enough to be received by journald because is not working. As I've read here: https://github.com/coreos/rkt/issues/2640 really /dev/stdout is

Re: [systemd-devel] Preserve all active encrypted device when shutting down into initramfs

2016-07-24 Thread Ivan Kabaivanov
sorry for top-replying, yahoo web client is braindead. This is how I got around this: diff -Naurw systemd-230.original/src/core/shutdown.c systemd-230/src/core/shutdown.c --- systemd-230.original/src/core/shutdown.c 2016-05-22 01:31:29.0 +0300+++ systemd-230/src/core/shutdown.c

[systemd-devel] systemd-networkd-wait-online: Wait for specific address family to be online

2016-07-24 Thread Ernst Bammer
Hi, I have a service that depends on a non-loopback IPv4 address to be available at start-up. My network configuration is done with networkd, it's very simple and basically just: [Match] Name=eth* [Network] DHCP=v4 I've added the following to my service: [Unit] Requires=network-online.target