[Bug 1578638] Re: multipath tools wrong dependecy

Dimitri John Ledkov launchpad at surgut.co.uk
Tue Jun 21 09:21:03 UTC 2016


** Description changed:

+ [Impact]
+ 
+  * Both systemd units and init scripts are shipped for multipath-tools.
+ 
+  * However units did not correctly take priority, as initscripts and
+ units names did not match.
+ 
+  * Further more multipath-tools was miscompiled without systemd support
+ for Type=Notify unit
+ 
+ [Test Case]
+ 
+  * Using service command, init script, or systemctl commands starting
+ "multipath-tools" should operate on systemd "multipathd.service" unit.
+ 
+  * Systems must boot with multipath-tools installed correctly, and
+ multipathd.service started.
+ 
+ 
  16.04:
- 
  
  /etc/init.d/multipath-tools
  
  # Required-Start:    udev $local_fs $remote_fs $syslog
  
  $remote_fs s wrong here, because it results in:
- 
  
  root at inetgw2:/etc/init.d# journalctl -x | grep mpath
  май 05 16:53:46 inetgw2 ocfs2[1459]: Starting Oracle Cluster File System (OCFS2) mount.ocfs2: Device name specified was not found while opening device /dev/mapper/mpatha
  май 05 16:55:15 inetgw2 systemd[1]: dev-mapper-mpatha.device: Job dev-mapper-mpatha.device/start timed out.
  май 05 16:55:15 inetgw2 systemd[1]: Timed out waiting for device dev-mapper-mpatha.device.
  -- Subject: Ошибка юнита dev-mapper-mpatha.device
  -- Произошел сбой юнита dev-mapper-mpatha.device.
  май 05 16:55:15 inetgw2 systemd[1]: dev-mapper-mpatha.device: Job dev-mapper-mpatha.device/start failed with result 'timeout'.
  май 05 16:55:16 inetgw2 multipathd[1690]: mpatha: load table [0 314572800 multipath 1 queue_if_no_path 0 2 1 round-robin 0 2 1 8:32 1000 8:48 1000 round-robin 0 2 1 8:16 1000 8:64 1000]
  
  i.e. multipathd is started _after_ systemd tries mount.
  
  looks like removing  $remote_fs solves problem.
  
  Thank you!

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

Title:
  multipath tools wrong dependecy

Status in multipath-tools package in Ubuntu:
  Fix Released
Status in multipath-tools source package in Xenial:
  Triaged

Bug description:
  [Impact]

   * Both systemd units and init scripts are shipped for multipath-
  tools.

   * However units did not correctly take priority, as initscripts and
  units names did not match.

   * Further more multipath-tools was miscompiled without systemd
  support for Type=Notify unit

  [Test Case]

   * Using service command, init script, or systemctl commands starting
  "multipath-tools" should operate on systemd "multipathd.service" unit.

   * Systems must boot with multipath-tools installed correctly, and
  multipathd.service started.

  
  16.04:

  /etc/init.d/multipath-tools

  # Required-Start:    udev $local_fs $remote_fs $syslog

  $remote_fs s wrong here, because it results in:

  root at inetgw2:/etc/init.d# journalctl -x | grep mpath
  май 05 16:53:46 inetgw2 ocfs2[1459]: Starting Oracle Cluster File System (OCFS2) mount.ocfs2: Device name specified was not found while opening device /dev/mapper/mpatha
  май 05 16:55:15 inetgw2 systemd[1]: dev-mapper-mpatha.device: Job dev-mapper-mpatha.device/start timed out.
  май 05 16:55:15 inetgw2 systemd[1]: Timed out waiting for device dev-mapper-mpatha.device.
  -- Subject: Ошибка юнита dev-mapper-mpatha.device
  -- Произошел сбой юнита dev-mapper-mpatha.device.
  май 05 16:55:15 inetgw2 systemd[1]: dev-mapper-mpatha.device: Job dev-mapper-mpatha.device/start failed with result 'timeout'.
  май 05 16:55:16 inetgw2 multipathd[1690]: mpatha: load table [0 314572800 multipath 1 queue_if_no_path 0 2 1 round-robin 0 2 1 8:32 1000 8:48 1000 round-robin 0 2 1 8:16 1000 8:64 1000]

  i.e. multipathd is started _after_ systemd tries mount.

  looks like removing  $remote_fs solves problem.

  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1578638/+subscriptions



More information about the foundations-bugs mailing list