Hello Marius, 17.06.2016 12:10, Marius Tomaschewski: [...]
2. Manually tweak LINK_REQUIRED. This will allow our service to successfully start no matter what. But feels hacky, and you might not know about this LINK_REQUIRED thing until you get a surprise.
On a router, I'd do it or at least disable duplicate address detection (accept_dad=0, CHECK_DUPLICATE_IP=no); otherwise definitely not as a default but per interface if _really_ required.
Ok, then maybe it would be usefull to equip yast network settings UI with some checkbox to set LINK_REQUIRED in a confortable way? There is some unused space in GUI to the right of dhcp menu so an additional checkbox would fit perfectly (At least in 13.2 it looks so). I don't think it would cause too much abuse. And as a bonus, it would then allow to add some brief introduction/warnings and/or add links to wicked wiki into context help linked to the GUI so user would more easily get at least some starting point when in trouble or in doubt. It could save people some time and also educate them about wickedd and all this.
I'm not sure, both variants feel somewhat flawed to me (And this is a remarkably trivial use case!). I can live with the second one, but it looks like there is still room for improvement.
There is simply no "golden way" that works in any case, just a bunch of config tweaks / configuration scenarios permitting to address the issue.
Probably the root cause of problems is mixing dynamic and static approaches. If everything is static it works (well, used to work...) reliably. If everything is dynamic it should be fine too. But in reality most systems are probably still far from being purely dynamic because of tons of legacy software. [...]
- Bind to 0.0.0.0 || :: + set ACLs as neeeded
- Start the service once the address is available (e.g. via POST_UP_SCRIPT="systemd:....")
I like this one. I'll try to use it somewhere.
- Fix the service (report a bug) to bind using a free bind, from "man 7 ip":
IP_FREEBIND (since Linux 2.4)
I have to confess I didn't know about this - thanks for pointing out! Thank you, Regards, Nikolai -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org