[Bug 1176560] Re: logcheck fails to ignore sync message
HorsePunchKid
sns at severinghaus.org
Mon Jun 3 21:27:43 UTC 2013
I can't reroll the patch right now, but I believe the regex needs to end
in:
total of [[:digit:]]+k?( blocks)?\.$
...rather than what I had in the attached patch. In other words, the
messages will be similar to one of these:
over a total of 12345k.
over a total of 12345 blocks.
Apologies for the possibly unhelpful patch above.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/1176560
Title:
logcheck fails to ignore sync message
Status in mdadm - Tool for managing linux software RAID arrays.:
New
Status in “mdadm” package in Ubuntu:
Confirmed
Bug description:
I'm using mdadm_3.2.5-1ubuntu0.2 on 12.04 with logcheck 1.3.14. During
a daily cron task (I'm not sure exactly which one, but probably
/etc/cron.daily/mdadm), I get lines like this in kern.log and syslog:
May 5 08:08:14 hostname kernel: [2123709.523756] md: using 128k
window, over a total of 976750808k.
This message comes from drivers/md/md.c line ~7172:
printk(KERN_INFO "md: using %dk window, over a total of %lluk.\n",
window/2, (unsigned long long)max_sectors/2);
The logcheck ignore rule is looking for /over a total of [[:digit:]]+
blocks/, which will not match due to the "k". Attached is a patch that
just adds /k?/ after the digits.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mdadm/+bug/1176560/+subscriptions
More information about the foundations-bugs
mailing list