From f532fe426046975c460a0b19625dc730100fbd0e Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 10 Apr 2024 11:40:42 +0200 Subject: pkg/report: make "mand mount option" regexps more robust In some cases, we may only collect a part of the kernel output. There are no other "mand mount option" warnings in the kernel, so let's match by a shorter regexp. --- pkg/report/linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 43f55d918..ad3557a0e 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -1874,7 +1874,7 @@ var linuxOopses = append([]*oops{ []*regexp.Regexp{ compile("WARNING: /etc/ssh/moduli does not exist, using fixed modulus"), // printed by sshd compile("WARNING: workqueue cpumask: online intersect > possible intersect"), - compile("WARNING: [Tt]he mand mount option (is being|has been) deprecated"), + compile("WARNING: [Tt]he mand mount option"), compile("WARNING: Unsupported flag value\\(s\\) of 0x%x in DT_FLAGS_1"), // printed when glibc is dumped compile("WARNING: Unprivileged eBPF is enabled with eIBRS"), compile(`WARNING: fbcon: Driver '(.*)' missed to adjust virtual screen size (\((?:\d+)x(?:\d+) vs\. (?:\d+)x(?:\d+)\))`), -- cgit mrf-deployment