Thu 20 Jul 2017 10:48:13 PM UTC, original submission:
See: https://bugzilla.redhat.com/show_bug.cgi?id=1282507
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.
With the following line in my /etc/fstab
http://example.com/path /mnt/path davfs defaults,nofail,user,uid=username,file_mode=600,dir_mode=700 0 0
# mount -a
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]grpid : new files (don't) get the group id of the directory
in which they are created.
[no]_netdev : (no) network connection needed
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
The nofail option should be ignored by davfs2
|