Bug 977910 - mount -alt nfs,nfs4 mounts filesystems with noauto set
Summary: mount -alt nfs,nfs4 mounts filesystems with noauto set
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Leap 42.1
Hardware: x86-64 openSUSE 42.1
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Stanislav Brabec
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-29 22:16 UTC by David Walker
Modified: 2018-04-13 15:16 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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