]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: let's set a socket name for networkd rtnl socket
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Oct 2025 13:56:25 +0000 (15:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 15 Nov 2025 06:52:42 +0000 (07:52 +0100)
Let's make our networkd sockets recognizable purely by name. It hink
already for debugging it's a good idea to always set socket names, in
particular for services that have multiple sockets they listen on.

This adds a name to the rtnl socket, which so far missed one. Note that
the C code won't look for it, for compat with older versions, but at
least things are a bit more debuggable.

units/systemd-networkd.socket

index f594d77940cf1fdc88523e754174e01998918954..9d078f938248dd9230990e4a08d94654367a7746 100644 (file)
@@ -18,6 +18,7 @@ Conflicts=shutdown.target
 [Socket]
 ReceiveBuffer=128M
 ListenNetlink=route 1361
+FileDescriptorName=rtnl
 PassPacketInfo=yes
 
 [Install]