From: Lennart Poettering Date: Mon, 17 Aug 2020 16:19:30 +0000 (+0200) Subject: homed: downgrade quota message in containers X-Git-Tag: v247-rc1~410^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e5e11b8744fbe9dcd87a2d165f342dc9bcd4008;p=thirdparty%2Fsystemd.git homed: downgrade quota message in containers quota syscalls and operations are typically prohibited in containers. Let's not make noise about that, needlessly. --- diff --git a/src/home/homed-manager.c b/src/home/homed-manager.c index 7d951bee3b1..54761175c30 100644 --- a/src/home/homed-manager.c +++ b/src/home/homed-manager.c @@ -512,6 +512,8 @@ static int search_quota(uid_t uid, const char *exclude_quota_path) { if (r < 0) { if (ERRNO_IS_NOT_SUPPORTED(r)) log_debug_errno(r, "No UID quota support on %s, ignoring.", where); + else if (ERRNO_IS_PRIVILEGE(r)) + log_debug_errno(r, "UID quota support for %s prohibited, ignoring.", where); else log_warning_errno(r, "Failed to query quota on %s, ignoring: %m", where);