From b6f4f85c395def2703c6a3501538fd7948bbba69 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 2 Sep 2025 22:41:48 +0200 Subject: [PATCH] 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. --- src/bootctl/bootctl-install.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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); -- 2.47.3