blob: 97150e535001ec65cd1edca59359eb622735eb77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From d18ffa2e3e0ef7b0e52dee22e5ff1a366c724685 Mon Sep 17 00:00:00 2001
From: Alexandr Ilenko <AIlenko@IBS.RU>
Date: Thu, 15 Sep 2022 09:29:54 +0300
Subject: [PATCH] Fix: virtual-media: nbd-client exits with netlink
---
src/configuration.hpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/configuration.hpp b/src/configuration.hpp
index 0a713a5..0c83123 100644
--- a/src/configuration.hpp
+++ b/src/configuration.hpp
@@ -50,6 +50,11 @@ class Configuration
std::to_string(mp.timeout.value_or(defaultTimeout));
std::vector<std::string> args = {
"-t", timeout, "-u", mp.unixSocket, mp.nbdDevice.to_path(),
+ // Let`s use old configuration way (via ioctl),
+ // because:
+ // - netlink still is not required (as a new auto dependency),
+ // - client exits immediately just after netlink configuration.
+ "-nonetlink",
"-n"};
return args;
}
--
2.35.1
|