[PATCH pve-guest-common] tree-wide: change /var/lock to /run/lock
Jing Luo
jing at jing.rocks
Sat Mar 22 16:17:17 CET 2025
"/var/run" and "/var/lock" are deprecated.
This is to comply with Debian Policy 9.1.4 "/run and /run/lock".
(https://www.debian.org/doc/debian-policy/ch-opersys.html#run-and-run-lock)
Signed-off-by: Jing Luo <jing at jing.rocks>
---
src/PVE/GuestHelpers.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/GuestHelpers.pm b/src/PVE/GuestHelpers.pm
index 592b4a8..5dc4498 100644
--- a/src/PVE/GuestHelpers.pm
+++ b/src/PVE/GuestHelpers.pm
@@ -31,7 +31,7 @@ typesafe_ne
# We use a separate lock to block migration while a replication job
# is running.
-our $lockdir = '/var/lock/pve-manager';
+our $lockdir = '/run/lock/pve-manager';
# safe variable comparison functions
--
2.49.0
More information about the pve-devel
mailing list