Re:Docker isn't perfect – Issue #216
by colanderman on Friday August 28, 2015 @12:51AM
(#10133785)
As a neutral party, one thing I'll say about systemd is at least they understand what a dependency is. I still haven't figured out why the upstart people think it's a good idea for a service to magically start just because its dependencies are fulfilled. Maybe they think system services are like proteins or something.
[ Parent
| on HN ]
Someone tell that to RedHat. They consider the network "up" once the device gets link, not when the system gets an IP address. Even in environments without spanning tree, this is a problem due to massive parallelization -- spawning 30 processes 5ms after the network is "up" but doesn't have an IP from DHCP yet.
The solution? Put a sleep 7 in there, thus making the entire process slower than the previous solution.
That's wrong. Read about it at https://wiki.freedesktop.org/www/Software/systemd/NetworkTar...
So either I use systemd's sleep or my sleep, but either way it's broken out of the box. Great job!
EDIT: RHEL/CentOS only supports NetworkManager for this. Which sucks if you don't want to run NetworkManager (for a litany of reasons).
$ yum whatprovides "*/systemd-networkd-wait-online.service" No matches found
Re:Docker isn't perfect – Issue #216
by crdoconnor on Saturday August 29, 2015 @05:57AM
(#10139534)
Wow, that's disgusting.