RHEL8.4: -s not working as expected, alongside sloppy mount option not working when not in leftmost position of mount options
Issue
There are two scenarios, here, where after upgrading to RHEL 8.4, the "-s" option is not working as expected, and the "sloppy" option needing to be in the leftmost option for it to work:
# mount -t nfs -s -o noquota,nosuid,nodev,noexec XXX.XXX.XX.X:/nfs /mnt
mount.nfs: an incorrect mount option was specified
If sloppy
option is used on options string, it may not work exactly as before:
== 8.3
# uname -r ; rpm -q nfs-utils
4.18.0-240.10.1.el8_3.x86_64
nfs-utils-2.3.3-35.el8.x86_64
# mount -o quota,sloppy XXX.XX.X.XXX:/share /mnt
== 8.4
# uname -r ; rpm -q nfs-utils
4.18.0-305.el8.x86_64
nfs-utils-2.3.3-35.el8.x86_64
# mount -o quota,sloppy XXX.XX.X.XXX:/share /mnt
mount.nfs: an incorrect mount option was specified
If sloppy
is used as leftmost option, then it would work:
# mount -o sloppy,quota,vers=4.1 XXX.XX.X.XXX:/share /mnt
Environment
- RHEL 8.4
- NFS
- nfs-utils-2.3.3-41.el8.x86_64 and kernel-4.18.0-305.*el8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.