]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
user-runtime-dir: Log the quota limit in the warning message on failure
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 3 Feb 2025 08:48:35 +0000 (09:48 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 3 Feb 2025 10:10:22 +0000 (11:10 +0100)
src/login/user-runtime-dir.c

index 94117c95db7c1c8d5c6963b3df7f230371fff12d..3b5d46a0c9b3fe72a2042f50c71aff98eaa60633 100644 (file)
@@ -284,7 +284,7 @@ static int apply_tmpfs_quota(
                         log_debug_errno(r, "Lacking privileges to set UID quota on %s, skipping: %m", *p);
                         continue;
                 } else if (r < 0) {
-                        log_warning_errno(r, "Failed to set disk quota on %s for UID " UID_FMT ", ignoring: %m", *p, uid);
+                        log_warning_errno(r, "Failed to set disk quota limit to '%s' on %s for UID " UID_FMT ", ignoring: %m", FORMAT_BYTES(v), *p, uid);
                         continue;
                 }