Thread (10 messages) 10 messages, 3 authors, 2018-12-06

Re: [PATCH 1/2] net: linkwatch: send change uevent on link changes

flat view

From: David Miller <davem@davemloft.net>
Date: 2018-12-05 04:50:00

From: Jouke Witteveen <redacted>
Date: Sat, 1 Dec 2018 17:00:21 +0100
Make it easy for userspace to respond to acquisition/loss of carrier.
The uevent is picked up by udev and, on systems with systemd, the
device unit of the interface announces a configuration reload.

Signed-off-by: Jouke Witteveen <redacted>
---
I did not want to change the commit message into a systemd-howto, but
subscribing to udev events can be done through a line like
    ReloadPropagatedFrom=sys-subsystem-net-devices-%i.device
in a systemd unit file.
I want to hear more about "why".

If we have the rtnetlink message that can be listened for, userspace
ought to use that.  That's what it is there for.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help