Public bug reported: This bug is used to include one more patch to completely fix LP 1670811.
That patch is mentioned in LP 1670811 comment 15 [1]. It addresses the case in which the initramfs instance of multipathd takes a while to actually shutdown after its receives the signal from initramfs/scripts/local-bottom/multipath. That shutdown is asynchronous, and keeps the multipathd socket open. If it is still open by the time the root fs is mounted and its units are started, the multipathd.socket will fail to start. Patch attached. Logs: ---- [ 36.465332] systemd[1]: Failed to listen on multipathd control socket. [FAILED] Failed to listen on multipathd control socket. See 'systemctl status multipathd.socket' for details. # systemctl status multipathd.socket --no-pager -l * multipathd.socket - multipathd control socket Loaded: loaded (/lib/systemd/system/multipathd.socket; static; vendor preset: enabled) Active: failed (Result: resources) Listen: @/org/kernel/linux/storage/multipathd (Stream) # journalctl -b -x ... Mar 07 11:02:04 ltciofvtr-s824-lp8 systemd[1]: multipathd.socket: Failed to listen on sockets: Address already in use Mar 07 11:02:04 ltciofvtr-s824-lp8 systemd[1]: Failed to listen on multipathd control socket. Mar 07 11:02:04 ltciofvtr-s824-lp8 systemd[1]: multipathd.socket: Unit entered failed state. ... Links: ----- [1] https://bugs.launchpad.net/ubuntu/+source/multipath- tools/+bug/1670811/comments/15 ** Affects: multipath-tools (Ubuntu) Importance: Undecided Status: New ** Patch added: "multipath-tools_wait-socket.debdiff" https://bugs.launchpad.net/bugs/1682178/+attachment/4860743/+files/multipath-tools_wait-socket.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1682178 Title: multipathd.socket unit fails to start ("Failed to listen on sockets: Address already in use") To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1682178/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs