maindavfs2 - Support: sr #108377, Reassigned to another tracker...

 
 

sr #108377: Reassigned to another tracker [was: User mount is rejected with "/sbin/mount.davfs: no entry for https://www.box.com/dav found in /etc/fstab"]

Submitter:  None
Submitted:  Thu 29 Aug 2013 03:00:38 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  In Progress
Privacy:  Public Assigned to:  _71007
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 02 Feb 2014 05:40:31 PM UTC, comment #3: 

THIS ITEM WAS REASSIGNED TO BUG #41437


Please, do not post any new comments to this item.

- <_71007>
Thu 29 Aug 2013 08:32:12 PM UTC, comment #2: 

The /etc/fstab is attached as "fstab".  The lines from the systemd journal that contain "davfs" are attached as "journal.davfs".

The line from /etc/fstab is:
https://www.box.com/dav /home/worley/box.com    davfs   rw,user,noauto,uid=worley,gid=worley  0 0

The mount.davfs command is:
/sbin/mount.davfs https://www.box.com/dav /common/home/worley/box.com -o rw,noexec,nosuid,nodev,uid=1000,gid=1000,user

This reminds me to mention that on this system, /home is a symbolic link to /common/home, even though ~worley is /home/worley.  So it appears that "mount" is canonicalizing the mount directory to /common/home/worley, and giving that to mount.davfs, and mount.davfs is discovering that /etc/fstab does not list https://www.box.com/dav as mounted on /home/worley/box.com.

I have retried the command after editing /etc/fstab to give the mount point as /common/home/box.com, and that works.

This suggests to me the following ideas:

- The error message ("no entry for https://www.box.com/dav found in /etc/fstab") is not correct; what it should say is something like "no entry to mount https://www.box.com/dav on /common/home/worley found in /etc/fstab".

- There is a design question regarding mount point directories that can be named in several ways.  It appears that a previous version of "mount" did not canonicalize the mount point, because the scenario in the original submission worked with it.  The current (Fedora 19) "mount" appears to canonicalize the mount point.  /etc/fstab must name the mount point in the way that mount.davfs will receive it.

Perhaps a better approach would be for mount.davfs to search /etc/fstab for all entries containing the specified WebDAV URL, and then using stat(2) to check if the mount point listed in the line is the same directory (same st_dev and st_ino) as the mount point in the mount.davfs command line.


(file #28955, file #28956)

Anonymous
Thu 29 Aug 2013 07:14:17 PM UTC, comment #1: 

I can't reproduce this here.

There are two possible reasons:

  • The mounting user can't read /etc/fstab. Please check the access bits.


  • There is something in /etc/fstab that confuses davfs2. Please check your log files. There should be an entry starting with "mount.davfs:" that shows the command line (probably beginning wiith "/sbin/mount.davfs ..."). I would need an exact copy of this entry as well as an exact copy of the fstab-entry. Without any character conversion or any other changes.


Werner

- <_71007>
Thu 29 Aug 2013 03:00:38 AM UTC, original submission:  

THIS ITEM WAS REASSIGNED TO BUG #41437
Using davfs2-1.4.7-1.fc19.x86_64 under Fedora 19, I have an entry in /etc/fstab:

https://www.box.com/dav /home/worley/box.com    davfs   rw,user,noauto,uid=worley,gid=worley  0 0

When attempting to mount this as user worley, I get this error:

$ mount /home/worley/box.com
/sbin/mount.davfs: no entry for https://www.box.com/dav found in /etc/fstab
$

This message is particularly annoying because there obviously is an entry for https://www.box.com/dav in /etc/fstab.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by _71007 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-02 _71007 Reassign Itemdavfs2, sr #108377 davfs2, bug #41437
    2013-08-29 None Attached File- Added fstab, #28955
        Attached File- Added journal.davfs, #28956
    2013-08-29 _71007 Severity4 - Important 3 - Normal
        StatusNone In Progress
        Assigned toNone _71007

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code