[Bug 1313705] Re: checkrestart always tell to restart multipathd

Launchpad Bug Tracker 1313705 at bugs.launchpad.net
Fri Jan 23 17:51:33 UTC 2015


This bug was fixed in the package debian-goodies - 0.64

---------------
debian-goodies (0.64) unstable; urgency=low


  [ Axel Beckert ]
  * [debget]
    - Fix typo in error message (Closes: #733466)
  * [dgrep]
    - Fix old name "dpkg-grep" in error message.
    - Consistently prefix error messages with program name.
    - Properly handle more than one package or glob as parameter as
      promised by the man page. (dglob can only handle one glob parameter
      per call.)
  * [checkrestart.1]
    - Fix multiple rendering and consistency issues
    - Refer to /usr/share/common-licenses/GPL-2 instead of …/GPL
  * [dhomepage.1]
    - Minor formatting improvements
  * [*.pod]
    - Fix groff-ism
    - Refer to /usr/share/common-licenses/GPL-2 instead of …/GPL
    - Mark references to files or other man pages as such
    - Use correct manual sections for apt-get and aptitude (8 vs 1)
  * Declare compliance with Debian Policy 3.9.6 (no further changes needed)
  * Update Vcs-Browser to use https and the cgit web frontend.
  * Convert debian/copyright to machine-readable DEP5 format.
    - Add so far not explicitly listed files to debian/copyright.
    - Add lintian override for copyright-refers-to-symlink-license as the
      author of debmany didn't specify a version and instead refers to the
      generic online version which always points to the newest version as
      Debian's symlink does.
    - Update years in debian/copyright.

  [ Javier Fernández-Sanguino ]
  * [checkrestart]:
    - Remove util-linux from the blacklist to have it report
      on getty processes that need to be restarted. (Closes: #688808)
    - Only complain and exit with error if not running as root when the script
      is going to be run. Do not complain if it is called with -h or -v.
    - Add preliminary support for systemd in checkrestart. Now, if the
      system is using systemd and there are service files for a package the
      admin is pointed to 'systemctl' (and systemd itself is ignored by
      checkrestart). Compatibility with packages only providing init.d files
      (or not using systemd) is still maintained.
    - Remove the packages that are ignored instead of keeping them in the
      list of packages to be processed (and ignore them later)
    - Tighten up the regular expression to avoid false positives with files
      that contain 'deleted' as part of their name. Patch provided by Simon
      Ruderich (Closes: #758711)
    - Apply patch provided by Felix C. Stegerman that prevents Python errors
      under some use scenarios (Closes: 731386)
    - Add other command interpreters: ruby (common) and tclsh (infrequent)
      to make it look for the real program
    - Add patch provided by Ian Bissett that implements an alternative
      mechanism to check for deleted files using /proc instead of lsof.  This
      seems to be more efficient on systems with a large number of files.
      This mechanism is used when lsof is not available or when the user
      explicitly asks it not to be used. It will be probably enabled
      by default in future releases (Closes: #775472)
    - Checkrestart now does not depend on lsof and will run an alternative
      mechanism if not installed. Users can prevent it from running it (using
      -n) if they so choose (Closes: #589103, #735278, #750025)
    - Skip /var/lib/postgresql from the processed files
      (Closes: #767335, #751729)
    - Skip [aio] files generated in MySQL servers and with multipath-tools
      (Closes: #748055, LP: #1313705)
    - Skip library files from VDR as it contains deleted FIFO files
      (Closes: #717210)
    - Add workaround to have checkrestart work in OpenVZ environments with
      patch provided by Ralf Jung (Closes: #747003)
  * [debmany]
    - Fix typo (use -> usr) in manpage (Closes: #737512)
    - Indicate that /tmp (or /var/tmp) are used for the temporary files,
      not /dev/shm anymore since #679457 was fixed (Closes: #737513)
    - Exit proper error message when apt-get is failing for some reason
      instead of claiming that the package does not exist (Closes: #714964)
  * [dpigs]
    - Add -H option to the manual page, thanks to 'aafuentes' for the patch
      (Closes: #724248)
  * [dglob, dglob.pod]
    - Add a new '-n' option to make it possible to search for packages that
      are available but not installed, thanks to A. Costa (Closes: #594959)
    
  * Change license of manual pages written by author to GPL-2

 -- Javier Fernández-Sanguino Peña <jfs at debian.org>  Fri, 23 Jan 2015
01:07:34 +0100

** Changed in: debian-goodies (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-goodies in Ubuntu.
https://bugs.launchpad.net/bugs/1313705

Title:
  checkrestart always tell to restart multipathd

Status in debian-goodies package in Ubuntu:
  Fix Released
Status in debian-goodies package in Debian:
  Fix Released

Bug description:
  checkrestart always tell to restart multipathd:

  root at vms3:~# lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 14.04 LTS
  Release:        14.04
  Codename:       trusty

  root at vms3:~# checkrestart 
  Found 1 processes using old versions of upgraded files
  (1 distinct program)
  (1 distinct packages)

  Of these, 1 seem to contain init scripts which can be used to restart them:
  The following packages seem to have init scripts that could be used
  to restart them:
  multipath-tools:
          8457    /sbin/multipathd

  These are the init scripts:
  service multipath-tools-boot restart
  service multipath-tools restart

  root at vms3:~# service multipath-tools-boot restart
   * Discovering and coalescing multipaths...
     ...done.

  root at vms3:~# service multipath-tools restart
   * Stopping multipath daemon multipathd
     ...done.
   * Starting multipath daemon multipathd
     ...done.

  root at vms3:~# checkrestart 
  Found 1 processes using old versions of upgraded files
  (1 distinct program)
  (1 distinct packages)

  Of these, 1 seem to contain init scripts which can be used to restart them:
  The following packages seem to have init scripts that could be used
  to restart them:
  multipath-tools:
          10748   /sbin/multipathd

  These are the init scripts:
  service multipath-tools-boot restart
  service multipath-tools restart

  
  Also, a reboot does not help.
  I use checkrestart via cronjob on all of my (several hundreds) server to see if there is a service which needs to be restartet.
  The wrong alerts of checkrestart for multipathd are annoying.

  root at vms3:~# checkrestart -v
  Found 1 processes using old versions of upgraded files
  (1 distinct program)
  Process /sbin/multipathd (PID: 10748) 
  List of deleted files in use:
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
          /[aio]
  Running:['dpkg-query', '--search', '/sbin/multipathd']
  Reading line: multipath-tools: /sbin/multipathd

  (1 distinct packages)

  Of these, 1 seem to contain init scripts which can be used to restart them:
  The following packages seem to have init scripts that could be used
  to restart them:
  multipath-tools:
          10748   /sbin/multipathd

  These are the init scripts:
  service multipath-tools-boot restart
  service multipath-tools restart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-goodies/+bug/1313705/+subscriptions



More information about the foundations-bugs mailing list