Package: autofs Version: 5.1.8-2+deb12u2 Severity: minor File: /usr/share/autofs/conffiles/auto.net
Upstream /etc/auto.net looks like this: # add "nosymlink" here if you want to suppress symlinking local filesystems # add "nonstrict" to make it OK for some filesystems to not mount opts="-fstype=nfs,hard,nodev,nosuid" 15auto_net_nfs4.patch adds comments giving some nfsv4 advice: # add "nosymlink" here if you want to suppress symlinking local filesystems # add "nonstrict" to make it OK for some filesystems to not mount +# choose one of the two lines below depending on the NFS version in your +# environment opts="-fstype=nfs,hard,nodev,nosuid" +#opts="-fstype=nfs4,hard,nodev,nosuid,async" Then fix-nfs4-mounts-in-auto-net.patch removes the the lints that set opts, but leaves the comment in: --- a/samples/auto.net +++ b/samples/auto.net @@ -11,29 +11,44 @@ # add "nonstrict" to make it OK for some filesystems to not mount # choose one of the two lines below depending on the NFS version in your # environment -opts="-fstype=nfs,hard,nodev,nosuid" -#opts="-fstype=nfs4,hard,nodev,nosuid,async" As a result I was left scratching my head for a while wondering how to use /etc/auto.net with nfsv4. I suggest removing the comment block entirely and replacing it with something like: # To use the traditional NFS MOUNT protocol for obtaining the NFS # export list, leave MOUNT_NFS_DEFAULT_PROTOCOL unset or set it to # "3". To use the NFSv4 pseudo-filesystem, set MOUNT_DEFAULT_PROTOCOL # to "4". The parameter may be set within /etc/default/autofs. -- System Information: Debian Release: 12.2 APT prefers stable-updates APT policy: (550, 'stable-updates'), (550, 'stable-security'), (550, 'stable'), (530, 'testing'), (520, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-13-amd64 (SMP w/2 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: SELinux: enabled - Mode: Permissive - Policy name: default Versions of packages autofs depends on: ii init-system-helpers 1.65.2 ii libc6 2.36-9+deb12u3 ii libnsl2 1.3.0-2 ii libtirpc3 1.3.3+ds-1 ii libxml2 2.9.14+dfsg-1.3~deb12u1 ii ucf 3.0043+nmu1 Versions of packages autofs recommends: ii e2fsprogs 1.47.0-2 ii kmod 30+20221128-1 ii nfs-common 1:2.6.2-4 autofs suggests no packages. -- no debconf information