FS#70793 - [nbd] no netlink support due to libnl dependency missing

Attached to Project: Community Packages
Opened by Harald Hoyer (harald) - Tuesday, 11 May 2021, 08:20 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 11 May 2021, 20:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
nbd-client is compiled without netlink support. Without this an nbd root device cannot survive the switch root from the initrd to the real root.

Additional info:
* package version(s): 3.21-1

Steps to reproduce:
Boot from nbd root device. nbd-client terminates on switch root.

Recompile with libnl present and it works.


```
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 5565d498eceb..723067eaca50 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc='tools for network block devices, allowing you to use remote block devic
arch=('x86_64')
url='https://nbd.sourceforge.io/'
license=('GPL')
-depends=('glib2' 'gnutls')
+depends=('glib2' 'gnutls', 'libnl')
backup=('etc/nbd-server/config')
source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz"
'config'
```
This task depends upon

Closed by  Christian Hesse (eworm)
Tuesday, 11 May 2021, 20:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  nbd 3.21-2
Comment by Harald Hoyer (harald) - Tuesday, 11 May 2021, 08:23 GMT
correction (without `,`):

depends=('glib2' 'gnutls' 'libnl')

Loading...