[SRU] [B/C/D] [PATCH 0/1] UBUNTU: SAUCE: downgrade error to warning

Andrea Righi andrea.righi at canonical.com
Sat Apr 20 07:41:44 UTC 2019


Buglink: https://bugs.launchpad.net/bugs/1766201

[Impact]

The integrity subsystem is still reporting error messages like this at boot:

  integrity: Unable to open file: /etc/keys/x509_evm.der (-2)

In a previous commit we have downgraded this error to warning:

https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/bionic/commit/?h=master-next&id=58441dc86d7b066a2c02079829a96035587a7066

(this fix is applied everywhere, not only in bionic)

But there's another place (security/integrity/digsig.c) that reports the same
error message that should be also downgraded to warning for consistency.

[Test Case]

No special test case is required, errors are reported at boot if an integrity
policy is enabled.

[Fix]

Downgrade also this error message to a warning.

[Regression Potential]

It is a one-liner that changes a printk() error message, regression potential
is minimal.

Andrea Righi (1):
  UBUNTU: SAUCE: integrity: downgrade error to warning

 security/integrity/digsig.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the kernel-team mailing list