Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-29 Thread Christoph Anton Mitterer
Hey Lennart. On Wed, 2023-03-29 at 16:35 +0200, Lennart Poettering wrote: > In almost all scenarios you want swap, regardless if little RAM or a > lot. For specialist cases where you run everything from memory, and > not even programs are backed by disk there might be exceptions. Similar to the

Re: [systemd-devel] systemd-networkd: switch between several static network setups on wired connection

2023-03-29 Thread Alvin Šipraga
Hi Torsten, On Wed, Mar 29, 2023 at 02:58:05PM +0200, f...@igh.de wrote: > > Dear Systemd Folx, > > > > I have a laptop that I run at different locations with different > networks. I want to have static(!) network setup (address, gateway, DNS, > NTP) for my wired adapter on these networks. I

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-29 Thread Lennart Poettering
On Mi, 29.03.23 14:07, Christoph Anton Mitterer (cales...@scientia.org) wrote: > When I use  >systemd.log_level=debug systemd.log_target=console > in the kernel parameters, and then do systemctl hibernate during the > system I get: > Mar 29 12:04:48 hbt systemd-logind[780]: Got message

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-29 Thread Lennart Poettering
On Mi, 29.03.23 13:53, Christoph Anton Mitterer (cales...@scientia.org) wrote: > > > That's a bad idea btw. I'd advise you not to do that: on modern > > > systems you want swap, since it makes anonymous memory reclaimable. > > > I > > > am not sure where you are getting this idea from that swap

[systemd-devel] systemd-networkd: switch between several static network setups on wired connection

2023-03-29 Thread fi
Dear Systemd Folx, I have a laptop that I run at different locations with different networks. I want to have static(!) network setup (address, gateway, DNS, NTP) for my wired adapter on these networks. I can define setup for each of them in a .network file matching my interface (eth0), but only

Re: [systemd-devel] Resolver times out resending with same transaction ID

2023-03-29 Thread Petr Menšík
This report led me to few checks and indeed. What systemd-resolved is doing with NXDOMAIN responses from clearly proper servers is plain terrible. It should stop doing it the current way ASAP. Instead of caching negative response it doubles each query resulting in NXDOMAIN response. Not once

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-29 Thread Christoph Anton Mitterer
When I use  systemd.log_level=debug systemd.log_target=console in the kernel parameters, and then do systemctl hibernate during the system I get: Mar 29 12:04:48 hbt systemd-logind[780]: Got message type=method_call sender=:1.9 destination=org.freedesktop.login1 path=/org/freedesktop/login1

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-29 Thread Christoph Anton Mitterer
Hey. On Wed, 2023-03-29 at 10:20 +0200, Lennart Poettering wrote: > > That's a bad idea btw. I'd advise you not to do that: on modern > > systems you want swap, since it makes anonymous memory reclaimable. > > I > > am not sure where you are getting this idea from that swap was > > bad. Well I

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-29 Thread Lennart Poettering
On Mi, 29.03.23 04:43, Christoph Anton Mitterer (cales...@scientia.org) wrote: Hi! > I guess many people nowadays will run without any swap for the normal > paging use, but only have it for hibernation (at least on laptops). That's a bad idea btw. I'd advise you not to do that: on modern

Re: [systemd-devel] coredumpctl: matching by e.g. env var?

2023-03-29 Thread Lennart Poettering
On Mi, 29.03.23 09:19, Stephan Bergmann (sberg...@redhat.com) wrote: > On 28/03/2023 22:58, Lennart Poettering wrote: > > On Di, 28.03.23 08:13, Stephan Bergmann (sberg...@redhat.com) wrote: > > > * Is it guaranteed for system-run --scope that the wrapped command will > > > run > > > in the

Re: [systemd-devel] coredumpctl: matching by e.g. env var?

2023-03-29 Thread Stephan Bergmann
On 28/03/2023 22:58, Lennart Poettering wrote: On Di, 28.03.23 08:13, Stephan Bergmann (sberg...@redhat.com) wrote: * Is it guaranteed for system-run --scope that the wrapped command will run in the surrounding process group? (Because LibreOffice' Jenkins relies on a single process group for a