From: Lennart Poettering Date: Tue, 2 Sep 2025 20:41:48 +0000 (+0200) Subject: bootctl: downgrade messages about foreign EFI files X-Git-Tag: v259-rc1~487^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6f4f85c395def2703c6a3501538fd7948bbba69;p=thirdparty%2Fsystemd.git bootctl: downgrade messages about foreign EFI files Given that we iterate through $ESP/EFI/BOOT/*.EFI these days this is a pretty common case, hence it's not really noteworthy, hence downgrade these log messages from LOG_NOTICE to LOG_INFO. --- diff --git a/src/bootctl/bootctl-install.c b/src/bootctl/bootctl-install.c index 3605b43ef03..df5065b7986 100644 --- a/src/bootctl/bootctl-install.c +++ b/src/bootctl/bootctl-install.c @@ -210,13 +210,12 @@ static int version_check(int fd_from, const char *from, int fd_to, const char *t r = get_file_version(fd_to, &b); if (r == -ESRCH) - return log_notice_errno(r, "Skipping \"%s\", it's owned by another boot loader (no version info found).", - to); + return log_info_errno(r, "Skipping \"%s\", it's owned by another boot loader (no version info found).", to); if (r < 0) return r; if (compare_product(a, b) != 0) - return log_notice_errno(SYNTHETIC_ERRNO(ESRCH), - "Skipping \"%s\", it's owned by another boot loader.", to); + return log_info_errno(SYNTHETIC_ERRNO(ESRCH), + "Skipping \"%s\", it's owned by another boot loader.", to); r = compare_version(a, b); log_debug("Comparing versions: \"%s\" %s \"%s\"", a, comparison_operator(r), b);