[Bug 1176560] Re: logcheck fails to ignore sync message

Launchpad Bug Tracker 1176560 at bugs.launchpad.net
Sat Aug 26 13:52:38 UTC 2023


This bug was fixed in the package mdadm - 4.2+20230508-6ubuntu1

---------------
mdadm (4.2+20230508-6ubuntu1) mantic; urgency=medium

  * Merge from Debian unstable, remaining changes:
    - d/control, d/mdadm.install, d/local/finalrd/mdadm.finalrd:
      Ship finalrd hook
    - d/local/initramfs-tools/init-top/00_mount_efivarfs:
      Mount efivarfs during initramfs boot phase
  * d/mdadm.maintscript: Keep Ubuntu prior-versions until after
    the release of 24.04
  * Dropped changes, included in Debian:
    - Do not install mdadm-shutdown.service on Ubuntu.
    - Drop broken and unused init scripts in favor of native systemd units,
      which can cause failure to reconfigure mdadm package under certain
      confiment types.
    - Drop /etc/cron.d/mdadm and migrate to systemd mdcheck_start|continue
      timer units.
    - Drop /etc/cron.daily/mdadm and migrate to system mdmonitor-oneshot
      timer unit.
    - mdcheck_start.timer configures the mdcheck on a first sunday of the
      month, with a randomized start delay of up to 24h, and runs for at
      most 6h. mdcheck_continue.timer kicks off daily, with a randomized
      start delay of up to 12h, and continues mdcheck for at most 6h.
    - mdmonitor-oneshot.timer runs daily, with a randomized start delay of
      up to 24h.
    - One can use systemd drop-ins to change .timer units timings, set
      environmental variables to decrease/increase the length of checking,
      or start the checks by hand. Previously used checkarray is still
      available, albeit not used by timer units.
    - Above ensures that previous daily / monthly checks are performed, but
      are randomized, such that performance is not as impacted across a
      cluster of machines.
    - Honor the debconf daily autoscan setting in the systemd timer.
    - d/p/mdcheck-fix-empty-spaces-in-timer-unit-files.patch:
      - The spaces were causing a FTBFS situation, triggered by
        dh_installsystemd not finding units.
    - Mention mdmonitor-oneshot.service instead of /etc/cron.daily/mdadm
      in /etc/default/mdadm

mdadm (4.2+20230508-6) sid; urgency=medium

  * Uploading to sid.
  * Adding updated Dutch debconf translations from Frans Spiesschaert
    <Frans.Spiesschaert at yucom.be> (Closes: #1041873).

mdadm (4.2+20230508-5) sid; urgency=medium

  * Uploading to sid.
  * Updating package descriptions.
  * Adding updated Romanian debconf translations from Remus-Gabriel Chelu
    <remusgabriel.chelu at disroot.org> (Closes: #1039620).

mdadm (4.2+20230508-4) sid; urgency=medium

  * Uploading to sid.
  * Updating watch file.

mdadm (4.2+20230508-3) experimental; urgency=medium

  * Uploading to experimental.
  * Updating regex in logcheck ignore patterns for kernels md tunining
    message (LP: #1176560).
  * Adding debconf note when run on non-systemd systems (Closes:
    #1037496).
  * Updating debconf po files.

mdadm (4.2+20230508-2) sid; urgency=medium

  * Uploading to sid.
  * Uploading without changes after bookworm release.

mdadm (4.2+20230508-1) experimental; urgency=medium

  * Uploading to experimental.
  * Merging upstream version 4.2+20230508.
  * Refreshing and updating readlink-path.patch to cover basename too.
  * Refreshing randomize-timers.patch.

mdadm (4.2+20230313-1) experimental; urgency=medium

  * Uploading to experimental.
  * Merging upstream version 4.2+20230313.

mdadm (4.2+20230304-1) experimental; urgency=medium

  * Uploading to experimental.
  * Merging upstream version 4.2+20230304.
  * Adding initial Romanian debconf translations from Remus-Gabriel Chelu
    <remusgabriel.chelu at disroot.org> (Closes: #1032713).

mdadm (4.2+20230302-1) experimental; urgency=medium

  * Uploading to experimental.
  * Merging upstream version 4.2+20230302.
  * Updating host-name-in-default-mailfrom.patch for new upstream.
  * Updating exit-gracefully-when-md-device-not-found.patch for new
    upstream.

mdadm (4.2+20230227-1) experimental; urgency=medium

  * Uploading to experimental.
  * Merging upstream version 4.2+20230227.
  * Removing sysvinit scripts in favour of systemd units:
    - properly checkrestart mdmonitor (Closes: #815834).
    - no update-rc.d warnings anymore (Closes: #822354).
    - properly shutdown (Closes: #829621).
    - making /etc/default/mdadm obsolete for most things (Closes: #850180).
  * Removing cron jobs in favour of systemd timers:
    - daily checks also work if system is not always on (Closes: #889978).
  * Adding rediffed patch from ubuntu to randomize md array check timers.
  * Adding rediffed patch from ubuntu to honor debconf daily scan in
    systemd unit.
  * Adding rediffed patch from ubuntu to fix empty spaces in timer unit
    files.
  * Wrap and sorting debian directory.

mdadm (4.2+20230223-2) experimental; urgency=medium

  * Uploading to experimental.
  * Updating upstream contact in copyright.
  * Silencing mounting efivars in initramfs-hook by only mounting if not
    done already.

mdadm (4.2+20230223-1) experimental; urgency=medium

  * Uploading to experimental.
  * Merging upstream version 4.2+20230223.
  * Removing documentation-keys-in-service-files.patch, included upstream.
  * Removing fix-command-line-help.patch, included upstream.
  * Removing strcat-look-for-md-device-in-dev-md.patch, solved differently
    upstream.
  * Removing conffile-location.patch, not needed anymore.
  * Refreshing fix-manpages.patch.
  * Refreshing mdmonitor-service-simplify.patch.
  * Refreshing host-name-in-default-mailfrom.patch.
  * Refreshing exit-gracefully-when-md-device-not-found.patch.
  * Refreshing sha1-includes.patch.
  * Refreshing readlink-path.patch.
  * Refreshing no-Werror.patch.
  * Refreshing test-installed.patch.
  * Updating standards version to 4.6.2.
  * Updating vcs fields.
  * Updating homepage field in control.
  * Sorting control file.
  * Removing unneeded po-debconf build-depends.
  * Removing groff-base from build-depends as it's pulled in by debhelper.
  * Removing redundant debconf depends.
  * Removing unused depends to lsb-base.
  * Removing suggests on dracut until there's integration for it
    available.
  * Removing obsolete alternative depends on module-init-tools.
  * Reworking package descriptions.
  * Removing old debian news.
  * Removing obsolete doc-base integration.
  * Removing unused salsa-ci.
  * Marking maintainer scripts executable in debian tree.
  * Moving scripts to subdirectory in debian tree.
  * Moving docs to subdirectory in debian tree.
  * Moving initramfs-tools files to subdirectory in debian tree.
  * Moving reportbug files to subdirectory in debian tree.
  * Removing conditional mta suggests/recommends, the mta should not be
    pulled in by default via recommends.
  * Also installing apport hook on debian.
  * Only modprobing efivars on efi systems (Closes: #996622).
  * Mounting efivarfs in initrd for Intel fakeraid support (Closes:
    #1003352).
  * Refreshing debconf po files.
  * Harmonizing debconf-po file headers.
  * Shortening depends in tests control.
  * No longer including the individual announcement files from very old
    mdadm versions and the current one doesn't contain much information
    anymore.

 -- Graham Inggs <ginggs at ubuntu.com>  Fri, 11 Aug 2023 09:59:44 +0000

** Changed in: mdadm (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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:
  New
Status in mdadm package in Ubuntu:
  Fix Released

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