method timeouts vs systemd activation and slow systems

Thiago Macieira thiago at kde.org
Fri Mar 3 16:34:23 UTC 2023


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





More information about the dbus mailing list