From: Yu Watanabe Date: Thu, 6 Apr 2023 19:34:54 +0000 (+0900) Subject: update-utmp: downgrade log level of ignored failure X-Git-Tag: v254-rc1~391^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86da32ee0c081d5d740ed5ff2d1d58c0d697c324;p=thirdparty%2Fsystemd.git update-utmp: downgrade log level of ignored failure --- diff --git a/src/update-utmp/update-utmp.c b/src/update-utmp/update-utmp.c index e6739db1c32..5656ca2761b 100644 --- a/src/update-utmp/update-utmp.c +++ b/src/update-utmp/update-utmp.c @@ -229,8 +229,8 @@ static int run(int argc, char *argv[]) { /* If the kernel lacks netlink or audit support, don't worry about it. */ c.audit_fd = audit_open(); if (c.audit_fd < 0) - log_full_errno(IN_SET(errno, EAFNOSUPPORT, EPROTONOSUPPORT) ? LOG_DEBUG : LOG_ERR, - errno, "Failed to connect to audit log: %m"); + log_full_errno(IN_SET(errno, EAFNOSUPPORT, EPROTONOSUPPORT) ? LOG_DEBUG : LOG_WARNING, + errno, "Failed to connect to audit log, ignoring: %m"); #endif r = bus_connect_system_systemd(&c.bus); if (r < 0)