]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(NFS): include pidof command in server root fs
authorBenjamin Drung <benjamin.drung@canonical.com>
Fri, 19 Sep 2025 19:23:16 +0000 (21:23 +0200)
committerLaszlo <laszlo.gombos@gmail.com>
Sat, 20 Sep 2025 12:31:07 +0000 (08:31 -0400)
The `server-init.sh` script calls `pidof rpc.idmapd` and therefore the
`pidof` command is needed in the server root file system.

test/TEST-60-NFS/test.sh

index 2495a5746df52a8543366769e959a98e41df393f..7d76006927d8b50f6292d50ffba8f92ec262d887 100755 (executable)
@@ -238,7 +238,7 @@ test_setup() {
         --add-confdir test-root \
         -a "bash $USE_NETWORK nfs" \
         --add-drivers "nfsd sunrpc lockd" \
-        -I "exportfs rpc.nfsd rpc.mountd dhcpd" \
+        -I "exportfs pidof rpc.nfsd rpc.mountd dhcpd" \
         --install-optional "/etc/netconfig /etc/nsswitch.conf /etc/rpc /etc/protocols /etc/services /usr/etc/nsswitch.conf /usr/etc/rpc /usr/etc/protocols /usr/etc/services rpc.idmapd /etc/idmapd.conf" \
         -i "./dhcpd.conf" "/etc/dhcpd.conf" \
         -f "$TESTDIR"/initramfs.root