]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
nfs-utils: Add RDEPENDS netbase
authorJörg Sommer <joerg.sommer@navimatix.de>
Thu, 19 Mar 2026 09:26:07 +0000 (10:26 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Mar 2026 16:47:14 +0000 (16:47 +0000)
The package netbase has to be installed. Otherwise nfs-server.service fails
to start, because /etc/services is missing:

  sh[584]: nfsdctl: getaddrinfo of "(null)" failed: Servname not supported for ai_socktype
  sh[584]: nfsdctl: Error: Protocol not supported
  sh[584]: nfsdctl: Error: Invalid argument
  sh[583]: rpc.nfsd: unable to resolve ANYADDR:nfs: Servname not supported for ai_socktype
  sh[583]: rpc.nfsd: Unable to request RDMA services: Protocol not supported
  sh[583]: rpc.nfsd: unable to set any sockets for nfsd
  systemd[1]: nfs-server.service: Main process exited, code=exited, status=1/FAILURE

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.7.bb

index 95e7d6582ea6462426ffe856f01237ac7320ae6a..7693a88682fe1365f60f10440f699d7eaf95aeb3 100644 (file)
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=95f3a93a5c3c7888de623b46ea085a84"
 
 # util-linux for libblkid
 DEPENDS = "libcap libevent util-linux sqlite3 libtirpc libxml2"
-RDEPENDS:${PN} = "${PN}-client"
+RDEPENDS:${PN} = "netbase ${PN}-client"
 RRECOMMENDS:${PN} = "kernel-module-nfsd"
 
 inherit useradd