Bug 977910

Summary: mount -alt nfs,nfs4 mounts filesystems with noauto set
Product: [openSUSE] openSUSE Distribution Reporter: David Walker <David>
Component: BasesystemAssignee: Stanislav Brabec <sbrabec>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Leap 42.1   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 42.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Walker 2016-04-29 22:16:30 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.
Comment 1 Stanislav Brabec 2016-05-06 14:21:41 UTC
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.
Comment 2 Tomáš Chvátal 2018-04-13 15:16:13 UTC
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