diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-08-17 18:19:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-08-18 12:40:57 +0200 |
commit | 5e5e11b8744fbe9dcd87a2d165f342dc9bcd4008 (patch) | |
tree | 14719a29b091be0e3075710ebb5175d2088baca1 | |
parent | 21fd6bc263f49b57867d90d2e1f9f255e5509134 (diff) | |
download | systemd-5e5e11b8744fbe9dcd87a2d165f342dc9bcd4008.tar.gz |
homed: downgrade quota message in containers
quota syscalls and operations are typically prohibited in containers.
Let's not make noise about that, needlessly.
-rw-r--r-- | src/home/homed-manager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/home/homed-manager.c b/src/home/homed-manager.c index 7d951bee3b..54761175c3 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); |