I believe NFS2 has been removed, therefore this line /usr/sbin/rpc.nfsd --debug 8 --no-udp --no-nfs-version 2 --no-nfs-version 3 will result in an error: 2: Unsupported version. The line now becomes: /usr/sbin/rpc.nfsd --debug 8 --no-udp --no-nfs-version 3. The error shows when you rebuild the image.
I believe NFS2 has been removed, therefore this line
/usr/sbin/rpc.nfsd --debug 8 --no-udp --no-nfs-version 2 --no-nfs-version 3
will result in an error:2: Unsupported version
. The line now becomes:/usr/sbin/rpc.nfsd --debug 8 --no-udp --no-nfs-version 3
. The error shows when you rebuild the image.