Re: method timeouts vs systemd activation and slow systems
Thiago Macieira <[email protected]> Fri, 03 Mar 2023 08:34:23 -0800
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <2317961.BNhmnZo0fL@tjmaciei-mobl5> |
On Thursday, 2 March 2023 19:18:21 PST Lawrence D'Oliveiro wrote: > On Thu, 02 Mar 2023 19:04:05 -0800, Thiago Macieira wrote: > > ... and have shell scripts doing "sleep 1s; poll something". > > What’s the bet the next version of bash will have a builtin command for > poll(2) ... Doesn't help if what the script is polling for is networking changes (which is what I saw a Kubernetes installation do). systemd-networkd's lack of trigger scripts when "stuff happens" is partly to blame here. However, iproute2's ip command has the monitor subcommand. Then again, there are people still using ifconfig. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering