Bug 1282507 - davfs2 doesn't know "nofail" as option
davfs2 doesn't know "nofail" as option
Status: NEW
Product: Fedora
Classification: Fedora
Component: davfs2 (Show other bugs)
23
All Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Moez Roy
Fedora Extras Quality Assurance
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-16 10:57 EST by Jeremy Nickurak
Modified: 2016-12-20 12:29 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-12-20 10:59:14 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jeremy Nickurak 2015-11-16 10:57:23 EST
Same issue as 783786, which was closed in F20 for inactivity.

Description of problem:

Davfs2 doesn't understand the "nofail" fstab option. As such, it's risky to have a a davfs mount in /etc/fstab, because davfs doesn't know about "nofail" as option, likely making systemd fail to boot if fails to mount it.

Version-Release number of selected component (if applicable):

I'm using davfs2-1.4.7-6.fc23.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Put davfs2-based mount in /etc/fstab, with "nofail" option
2. Post-boot, attempt to mount

Actual results:

Error: "Unknown option nofail."

Expected results:

Mountpoint is mounted. Expected results can be obtained by removing the "nofail" option, at the risk of later boot-time problems.

Additional info:

Full error:


$ sudo mount davfsmnt/
[sudo] password for nickuj: 
Unknown option nofail.
Usage:
    mount.davfs -V,--version   : print version string
    mount.davfs -h,--help      : print this message

To mount a WebDAV-resource don't call mount.davfs directly, but use
`mount' instead.
    mount <mountpoint>  : or
    mount <server-url>  : mount the WebDAV-resource as specified in
                          /etc/fstab.
    mount -t davfs <server-url> <mountpoint> [-o options]
                        : mount the WebDAV-resource <server-url>
                          on mountpoint <mountpoint>. Only root
                          is allowed to do this. options is a
                          comma separated list of options.

Recognised options:
    conf=        : absolute path of user configuration file
    uid=         : owner of the filesystem (username or numeric id)
    gid=         : group of the filesystem (group name or numeric id)
    file_mode=   : default file mode (octal)
    dir_mode=    : default directory mode (octal)
    ro           : mount read-only
    rw           : mount read-write
    [no]exec     : (don't) allow execution of binaries
    [no]suid     : (don't) allow suid and sgid bits to take effect
    [no]_netdev  : (no) network connection needed
Comment 1 Fedora Admin XMLRPC Client 2016-05-26 14:02:21 EDT
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.
Comment 2 Fedora End Of Life 2016-11-24 08:29:40 EST
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.
Comment 3 Fedora End Of Life 2016-12-20 10:59:14 EST
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 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
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.
Comment 4 Jeremy Nickurak 2016-12-20 12:29:29 EST
Confirming still present in Fedora 25.

$ mount /mnt/davfs-mountpoint/
Unknown option nofail.
Usage:
...
...

Note You need to log in before you can comment on or make changes to this bug.