[Bug 1176560] [NEW] logcheck fails to ignore sync message

HorsePunchKid sns at severinghaus.org
Sun May 5 15:18:47 UTC 2013


Public bug reported:

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.

** Affects: mdadm (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "mdadm_3.2.5-1ubuntu0.2_logcheck.patch"
   https://bugs.launchpad.net/bugs/1176560/+attachment/3665758/+files/mdadm_3.2.5-1ubuntu0.2_logcheck.patch

-- 
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” package in Ubuntu:
  New

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/ubuntu/+source/mdadm/+bug/1176560/+subscriptions




More information about the foundations-bugs mailing list