homed: downgrade quota message in containers
quota syscalls and operations are typically prohibited in containers. Let's not make noise about that, needlessly.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user