You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.9 KiB
35 lines
1.9 KiB
7 months ago
|
From 825d1d4535a7aafd7549bc7a5de7d72b5ec2cdbd Mon Sep 17 00:00:00 2001
|
||
|
From: Lennart Poettering <lennart@poettering.net>
|
||
|
Date: Tue, 20 Dec 2022 16:34:36 +0100
|
||
|
Subject: [PATCH] bootctl: downgrade graceful messages to LOG_NOTICE
|
||
|
|
||
|
(cherry picked from commit 5019b0cb15d788e5e1f3c15eb7cdca6ee18a847c)
|
||
|
|
||
|
Related: RHEL-16952
|
||
|
---
|
||
|
src/boot/bootctl.c | 4 ++--
|
||
|
...-system-token.service => systemd-boot-random-seed.service} | 0
|
||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||
|
rename units/{systemd-boot-system-token.service => systemd-boot-random-seed.service} (100%)
|
||
|
|
||
|
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
|
||
|
index 3e9a89a759..3833e755b1 100644
|
||
|
--- a/src/boot/bootctl.c
|
||
|
+++ b/src/boot/bootctl.c
|
||
|
@@ -2119,9 +2119,9 @@ static int install_random_seed(const char *esp) {
|
||
|
return log_error_errno(r, "Failed to write 'LoaderSystemToken' EFI variable: %m");
|
||
|
|
||
|
if (r == -EINVAL)
|
||
|
- log_warning_errno(r, "Unable to write 'LoaderSystemToken' EFI variable (firmware problem?), ignoring: %m");
|
||
|
+ log_notice_errno(r, "Unable to write 'LoaderSystemToken' EFI variable (firmware problem?), ignoring: %m");
|
||
|
else
|
||
|
- log_warning_errno(r, "Unable to write 'LoaderSystemToken' EFI variable, ignoring: %m");
|
||
|
+ log_notice_errno(r, "Unable to write 'LoaderSystemToken' EFI variable, ignoring: %m");
|
||
|
} else
|
||
|
log_info("Successfully initialized system token in EFI variable with %zu bytes.", sizeof(buffer));
|
||
|
}
|
||
|
diff --git a/units/systemd-boot-system-token.service b/units/systemd-boot-random-seed.service
|
||
|
similarity index 100%
|
||
|
rename from units/systemd-boot-system-token.service
|
||
|
rename to units/systemd-boot-random-seed.service
|