Bugzilla – Bug 977910
mount -alt nfs,nfs4 mounts filesystems with noauto set
Last modified: 2018-04-13 15:16:13 UTC
I have the following lines in /etc/fstab: dwserver.WalkerStreet.info:/DWMedia/DWMyth /DWMedia/DWMyth nfs4 rw,soft,intr,noatime,noauto,x-systemd.automount dwserver.WalkerStreet.info:/DWMedia/DWMedia5 /DWMedia/DWMedia5 nfs4 rw,soft,intr,noatime,noauto,x-systemd.automount dwserver.WalkerStreet.info:/DWMedia/DWMedia6 /DWMedia/DWMedia6 nfs4 rw,soft,intr,noatime,noauto,x-systemd.automount dwserver.WalkerStreet.info:/home /DWHome nfs4 rw,soft,intr,noatime,noauto,x-systemd.automount This *should* mount the filesystems only on demand, but the "mount -alt nfs,nfs4" command in /etc/NetworkManager/dispatcher.d/nfs attempts to mount all of them whenever my network interface comes up. The problem seems to be that mount (or mount.nfs) is ignoring the noauto option.
According to the documentation: The command mount does not pass the mount options unbindable, runbind- able, private, rprivate, slave, rslave, shared, rshared, auto, noauto, comment, x-*, loop, offset and sizelimit to the mount.<suffix> helpers. All other options are used in a comma-separated list as argument to the -o option. So it should not be a problem of mount.nfs.
This is automated batch bugzilla cleanup. The openSUSE 42.1 changed to end-of-life (EOL [1]) status. As such it is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of openSUSE, or you can still observe it under openSUSE Leap 15.0, please feel free to reopen this bug against that version (see the "Version" component in the bug fields), or alternatively open a new ticket. Thank you for reporting this bug and we are sorry it could not be fixed during the lifetime of the release. [1] https://en.opensuse.org/Lifetime