]> git.ipfire.org Git - thirdparty/dracut.git/commit
Revert "nbd: use systemd-run to start nbd-client"
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Thu, 12 Nov 2020 01:19:06 +0000 (22:19 -0300)
committerHarald Hoyer <harald@hoyer.xyz>
Wed, 10 Feb 2021 14:02:41 +0000 (15:02 +0100)
commitba3f4cdadc6ea1e318c328f725a01c4748888cca
treeaedf04cdec175c8fac1dec29b9342dcdc51e5878
parent51b36f56d86825b308c0a32e7cd35ca73a91df7d
Revert "nbd: use systemd-run to start nbd-client"

systemd-run runs nbd-client in parallel. This introduces a possible
race condition when /dev/nbd0 is not directly used by /sysroot mount
but used by another dracut module as in:

  netroot=nbd:ip:port:fstype root=live:/dev/nbd0

Before nbd0 usages are synchronized, it is better to keep it serial.

This reverts commit 9fd0461b7d632c8e30f5241fff8306359b592438.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
modules.d/95nbd/nbdroot.sh