https://bugzilla.suse.com/show_bug.cgi?id=1177461 https://bugzilla.suse.com/show_bug.cgi?id=1177461#c12 --- Comment #12 from Thomas Blume <thomas.blume@suse.com> --- (In reply to Fabian Vogt from comment #11)
Dracut just needs to install /usr/etc/{services,nsswitch.conf,protocols} next to the ones from /etc/
Thanks, now I got it. But only including the files doesn't seem to be enough. I've tried the following patch: --> diff --git a/modules.d/95nfs/module-setup.sh b/modules.d/95nfs/module-setup.sh index a2803bba..735795bb 100755 --- a/modules.d/95nfs/module-setup.sh +++ b/modules.d/95nfs/module-setup.sh @@ -77,7 +77,9 @@ cmdline() { install() { local _nsslibs inst_multiple -o rpc.idmapd mount.nfs mount.nfs4 umount sed /etc/netconfig chmod "$tmpfilesdir/rpcbind.conf" - inst_multiple /etc/services /etc/nsswitch.conf /etc/rpc /etc/protocols /etc/idmapd.conf + for dir in /etc /usr/etc; do + inst_multiple -o $dir/services $dir/nsswitch.conf $dir/rpc $dir/protocols $dir/idmapd.conf + done if [[ $hostonly_cmdline == "yes" ]]; then local _netconf --< But on my testmachine with a testpackage: --> c475:/tmp # for i in nsswitch service protocols; do lsinitrd | grep usr/etc/$i; done -rw-r--r-- 1 root root 2190 Mar 11 20:26 usr/etc/nsswitch.conf -rw-r--r-- 1 root root 868252 Mar 2 15:12 usr/etc/services -rw-r--r-- 1 root root 23259 Mar 2 15:12 usr/etc/protocols c475:/tmp # --< I still get: --> c475:/tmp # journalctl -axb | grep rpcbind Apr 12 09:50:42 localhost rpcbind[269]: cannot get local address for udp: Servname not supported for ai_socktype Apr 12 09:50:42 localhost rpcbind[269]: cannot get local address for tcp: Servname not supported for ai_socktype Apr 12 09:50:42 localhost rpcbind[269]: cannot get local address for udp6: Servname not supported for ai_socktype Apr 12 09:50:42 localhost rpcbind[269]: cannot get local address for tcp6: Servname not supported for ai_socktype Apr 12 09:50:45 localhost rpcbind[270]: cannot open file = /run/rpcbind/rpcbind.xdr for writing Apr 12 09:50:45 localhost rpcbind[270]: cannot save any registration Apr 12 09:50:45 localhost rpcbind[270]: cannot open file = /run/rpcbind/portmap.xdr for writing Apr 12 09:50:45 localhost rpcbind[270]: cannot save any registration --< Is rpcbind itself aware of /usr/etc? -- You are receiving this mail because: You are on the CC list for the bug.