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

Demi Marie Obenour demi at invisiblethingslab.com
Sat Jul 15 22:59:36 UTC 2023


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 NIC appearance.  The catch is that the NIC can
disappear and reappear very quickly, and the script must be run every
time this happens.  Furthermore, the script must wait for
network-pre.target.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20230715/58bdfc46/attachment.sig>


More information about the systemd-devel mailing list