commit | 0284491481fd2e75c3bbf75a1cadfc7232c97c1a | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Mar 20 20:11:10 2025 -0400 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Mar 27 17:29:26 2025 +0000 |
tree | 2e62fa6a0d765c1c6ecfb724b922111aa3bf5026 | |
parent | 078aa6a4ff8dfe99bd0e42f71df81cf73483f87e [diff] [blame] |
Use `/run` over `/var/run` Systemd deprecated `/var/run` back in 2018 at least[1]. Switch paths from `/var/run` to `/run`. This will give us protection for an upcoming systemd removing the `/var/run` symlink. [1]: https://github.com/systemd/systemd/blame/db4b4e0cd364ec58db72f3f2fb992b2ce8244b3b/man/tmpfiles.d.xml#L889 Fixes: 8c974f76411c ("ipmid: Switch to /var/run for lockfiles") Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icb4a0897202b57ba3856c280dd637c1383819bd4
diff --git a/user_channel/channel_mgmt.hpp b/user_channel/channel_mgmt.hpp index f27673b..5ec5a16 100644 --- a/user_channel/channel_mgmt.hpp +++ b/user_channel/channel_mgmt.hpp
@@ -38,7 +38,7 @@ static constexpr const char* ipmiChannelMutex = "ipmi_channel_mutex"; static constexpr const char* ipmiChMutexCleanupLockFile = - "/var/run/ipmi/ipmi_channel_mutex_cleanup"; + "/run/ipmi/ipmi_channel_mutex_cleanup"; /** @struct ChannelAccessData *