From a89f22f97406a520ca24fe5c6e0b1f77b320d693 Mon Sep 17 00:00:00 2001 From: Andrea Righi Date: Sat, 20 Apr 2019 09:41:00 +0200 Subject: [PATCH] UBUNTU: SAUCE: integrity: downgrade error to warning BugLink: https://bugs.launchpad.net/bugs/1766201 In 58441dc86d7b the error "Unable to open file: ..." has been downgraded to warning in the integrity/ima subsystem. Do the same for a similar error message in the generic integrity subsystem. Signed-off-by: Andrea Righi Acked-by: Connor Kuehl Acked-by: Khalid Elmously Acked-by: Kleber Sacilotto de Souza Signed-off-by: Kleber Sacilotto de Souza --- security/integrity/digsig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/integrity/digsig.c b/security/integrity/digsig.c index 45c3e5dda355..0956197004ea 100644 --- a/security/integrity/digsig.c +++ b/security/integrity/digsig.c @@ -201,7 +201,7 @@ int __init integrity_load_x509(const unsigned int id, const char *path) rc = kernel_read_file_from_path(path, 0, &data, INT_MAX, NULL, READING_X509_CERTIFICATE); if (rc < 0) { - pr_err("Unable to open file: %s (%d)", path, rc); + pr_warn("Unable to open file: %s (%d)", path, rc); return rc; } size = rc;