Re: [systemd-devel] Running a non-idempotent command from udev

2023-07-15 Thread Demi Marie Obenour
On Sat, Jul 15, 2023 at 09:00:03PM +0300, Mantas Mikulėnas wrote: > Is that "once per boot", "once per interface appearance", or "once per > physical NIC lifetime"? Can the command check its effects directly (i.e. > check whether a setting has been set, or whatever the task is)? Once per virtual N

Re: [systemd-devel] Running a non-idempotent command from udev

2023-07-15 Thread Mantas Mikulėnas
Is that "once per boot", "once per interface appearance", or "once per physical NIC lifetime"? Can the command check its effects directly (i.e. check whether a setting has been set, or whatever the task is)? If it's once per boot, a flag file in /run/thing_done.$ifname would be a common solution..