commit | 8207f9eab421a1bddc8dd6ba92d8eb35fecc0278 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Tue May 27 13:48:51 2025 -0400 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu May 29 06:34:27 2025 -0400 |
tree | 2761cb9c11fe30a603ca78a369d9affdfb881030 | |
parent | 888f0d3e62dd690cecb103796a6a9f6b3f39c715 [diff] |
phosphor-ipmi-net.socket: adjust BindToDevice BindToDevice arguments are suppose to be an interface name and not a systemd dependency target. See examples from systemd repository[1]. Adjust the socket file to BindToDevice the template argument instead of the systemd service name. [1] https://github.com/systemd/systemd/blob/ae6420c92385e1c32c9493682ee0e3d5154ad317/test/fuzz/fuzz-unit-file/syslog.socket#L65 The current socket file fails with systemd-v257.4. This version has been tested with the current systemd in openbmc (v257.1) and v257.4 at Iae0001d2feecd2a5b699cdc95fe37b1491ba0c38. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2928cd8280125ac61b8e63985a1ad281806dbf87
diff --git a/phosphor-ipmi-net@.socket b/phosphor-ipmi-net@.socket index 7dddfb6..7fd3b73 100644 --- a/phosphor-ipmi-net@.socket +++ b/phosphor-ipmi-net@.socket
@@ -3,7 +3,7 @@ [Socket] ListenDatagram=623 -BindToDevice=sys-subsystem-net-devices-%i.device +BindToDevice=%i [Install] WantedBy=sockets.target