checkrestart always tell to restart multipathd

Bug #1313705 reported by Ulli Horlacher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-goodies (Debian)
Fix Released
Unknown
debian-goodies (Ubuntu)
Fix Released
Undecided
Axel Beckert

Bug Description

checkrestart always tell to restart multipathd:

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

root@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@vms3:~# service multipath-tools-boot restart
 * Discovering and coalescing multipaths...
   ...done.

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

root@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@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

Related branches

Axel Beckert (xtaran)
Changed in debian-goodies (Ubuntu):
status: New → Fix Committed
assignee: nobody → Axel Beckert (xtaran)
Changed in debian-goodies (Debian):
status: Unknown → New
Changed in debian-goodies (Debian):
status: New → Fix Committed
Changed in debian-goodies (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.5 KiB)

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
    ...

Read more...

Changed in debian-goodies (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.