[systemd-devel] DHCPC Events?

2015-11-06 Thread J Decker
I have Arch Linux setup as my router. It's on a connection that can change the IP that I'm given, when that happens I need to rerun firewall rules and rebuild my ipv6 tunnel. How do I run some script or something when the address changes (or when it's initially given in the case of boot?) Also the

[systemd-devel] FreeBSD leader Jordan Hubbard comments on launchd port and systemd

2015-11-06 Thread Chaiken, Alison
http://www.bsdnow.tv/episodes/2015_10_28-Whats_next_for_BSD About 40 minutes into the interview. Code is available via NextBSD at github. -- Alison --- Alison Chaiken ali...@she-devel.com, 650-279-5600 http://{ she-devel.com, exerciseforthereader.org [1] } "There is

[systemd-devel] Property 'MemoryLimit' is RO when using the D-Bus API

2015-11-06 Thread Francis Moreau
Hi, I'm trying to change the MemoryLimit property of one the service unit running on my system by using 'busctl set-property ...' but getting the following error : Property 'MemoryLimit' is not writable. However using 'systemctl set-property' works as expected. I thought that 'systemctl set-

[systemd-devel] systemctl switch-root /sysroot without deleting old_root

2015-11-06 Thread Herbert Groll
Hi, is there an easy way in initrd mode to keep old root when switching to new root? Switching root is done in initrd-switch-root.target with /bin/systemctl --no-block --force switch-root /sysroot The reason why is I want to use the ramdisk + a persistent overlay. The  quick and dirty solution fo

Re: [systemd-devel] ip forwarding

2015-11-06 Thread Reindl Harald
Am 06.11.2015 um 16:43 schrieb Johannes Ernst: On Nov 6, 2015, at 1:09, Reindl Harald mailto:h.rei...@thelounge.net>> wrote: defaults should have security in mind, … IMHO the current behavior is actually less secure: no, it maybe unpredictable by the desciptions below but for sure not les

Re: [systemd-devel] ip forwarding

2015-11-06 Thread Johannes Ernst
> On Nov 6, 2015, at 1:09, Reindl Harald wrote: > > defaults should have security in mind, … IMHO the current behavior is actually less secure: If I set net.ipv4.ip_forward=1, I intentionally set forwarding on all interfaces, as documented in countless tutorials, so it’s very unlikely I didn’

Re: [systemd-devel] ip forwarding

2015-11-06 Thread Martin Pitt
Johannes Ernst [2015-11-05 23:11 -0800]: > This makes my point. The default = 0 is counter intuitive and costs much time > for the lucky ones among us who can figure it out. The rest will just give > up... It's less counter-intuitive, but the problem is that it breaks a lot of existing tools tha

Re: [systemd-devel] systemd.network defaults (was: Re: ip forwarding)

2015-11-06 Thread Tomasz Torcz
On Fri, Nov 06, 2015 at 11:40:13AM +0100, Michael Laß wrote: > > Although this is clearly documented in the man page I think it would be > less surprising behavior to generally default to kernel for such > configuration items. Is there a specific reason against that? I believe this is (was) bei

[systemd-devel] systemd.network defaults (was: Re: ip forwarding)

2015-11-06 Thread Michael Laß
Am Donnerstag, den 05.11.2015, 16:08 -0800 schrieb Johannes Ernst: > The problem: I thought I created that file to say “get an IP address > via DHCP” because that’s all it talks about. But due to the IPForward > default, I also specified “and turn off ip forwarding”, which is non- > obvious (e.g. I

Re: [systemd-devel] ip forwarding

2015-11-06 Thread Reindl Harald
Am 06.11.2015 um 10:20 schrieb Mantas Mikulėnas: On Fri, Nov 6, 2015 at 11:09 AM, Reindl Harald mailto:h.rei...@thelounge.net>> wrote: Am 06.11.2015 um 08:11 schrieb Johannes Ernst: This makes my point. The default = 0 is counter intuitive and costs much time for the lucky

Re: [systemd-devel] ip forwarding

2015-11-06 Thread Mantas Mikulėnas
On Fri, Nov 6, 2015 at 11:09 AM, Reindl Harald wrote: > > > Am 06.11.2015 um 08:11 schrieb Johannes Ernst: > >> This makes my point. The default = 0 is counter intuitive and costs much >> time for the lucky ones among us who can figure it out. The rest will just >> give up... >> > > defaults shou

Re: [systemd-devel] ip forwarding

2015-11-06 Thread Reindl Harald
Am 06.11.2015 um 08:11 schrieb Johannes Ernst: This makes my point. The default = 0 is counter intuitive and costs much time for the lucky ones among us who can figure it out. The rest will just give up... defaults should have security in mind, most setups don't need it enabled and the ones