[lxc/lxc] fbeb7c: Fallback to XDG_RUNTIME_DIR when /run not found

0 views
Skip to first unread message

Stéphane Graber

unread,
4:14 AM (11 hours ago) 4:14 AM
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/main
Home: https://github.com/lxc/lxc
Commit: fbeb7ce7eb5dd16a11a5b6b2b895fcbe012f3a01
https://github.com/lxc/lxc/commit/fbeb7ce7eb5dd16a11a5b6b2b895fcbe012f3a01
Author: Hong YANG <hong....@nio.com>
Date: 2025-12-04 (Thu, 04 Dec 2025)

Changed paths:
M src/lxc/utils.c

Log Message:
-----------
Fallback to XDG_RUNTIME_DIR when /run not found

Instead of return null immediately when RUNTIME_PATH
not found, fallback to XDG_RUNTIME_DIR or HOME.

Signed-off-by: Hong YANG <hong....@nio.com>


Commit: de7472ed738aa6348ac07d4a587cd1a2c6f4730b
https://github.com/lxc/lxc/commit/de7472ed738aa6348ac07d4a587cd1a2c6f4730b
Author: Stéphane Graber <stgr...@stgraber.org>
Date: 2025-12-04 (Thu, 04 Dec 2025)

Changed paths:
M src/lxc/utils.c

Log Message:
-----------
Merge pull request #4620 from yangh/run-dir-xdg

Fallback to XDG_RUNTIME_DIR when /run not found


Compare: https://github.com/lxc/lxc/compare/39191ff15152...de7472ed738a

To unsubscribe from these emails, change your notification settings at https://github.com/lxc/lxc/settings/notifications
Reply all
Reply to author
Forward
0 new messages