mainSavannah Administration - Support: sr #108506, Davfs2 doesn't terminate davfs2...

 
 

sr #108506: Davfs2 doesn't terminate davfs2 pid when connection times out

Submitter:  techfour <techfour>
Submitted:  Thu 13 Feb 2014 09:54:26 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Invalid
Privacy:  Public Assigned to:  None
Operating System:  GNU/Linux Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 16 Feb 2014 10:03:50 PM UTC, comment #1: 

I am sorry but this is teh wrong project to submit this ticket too.  I had not seen this ticket at the time I had responded to your mailing list query.

  http://lists.gnu.org/archive/html/savannah-users/2014-02/msg00012.html

Since it isn't possible to re-assign the ticket to the correct project I can only close this one and ask you to please submit it against the correct project.

  https://savannah.nongnu.org/support/?group=davfs2

Good luck!
Bob

Bob Proulx <rwp>
Site Administrator
Thu 13 Feb 2014 09:54:26 PM UTC, original submission:  

I'm running the following configuration:

CentOS release 5.9
neon-0.25.5-10.el5_4.1
davfs2-1.4.6-1.el5.rf

I'm testing davfs2 by connecting from a Centos server to dav_box_com. It works fine as long as the server dav_box_com
is accessible on the internet.

I asked my self what will happen if dav_box_com is not responding or if it's responding but the remote share doesn't
exist.

I went ahead and mapped dav_box_com on my /etc/hosts file to a non accessible ip address and this is what happened:

1. When I try mounting using the following command line:

mount -t davfs dav_box_com/dav /mnt/box.com

2. The server creates the following process:

[Centos]# ps -ef | grep mount
davfs2   17925     1  0 15:16 pts/0    00:00:00 /sbin/mount.davfs  dav_box_com/dav /mnt/box_com -o rw

3. This process stays there indefinitely creating the following messages:

[Centos]# /sbin/mount.davfs: connection timed out two times;
trying one last time
[Centos]# /sbin/mount.davfs: connection timed out two times;
trying one last time
/sbin/mount.davfs: server temporarily unreachable;
mounting anyway


4. After 3 times trying the "df -h" will hang.


5. The davfs2 process stays hung:


[Centos]# ps -ef | grep mount
davfs2   17925     1  0 15:16 pts/0    00:00:00 /sbin/mount.davfs dav_box_com/dav /mnt/box.com -o rw


I checked all the davfs2 config options and nothing is letting me change this behavior.

How can I try to mount dav_box_com/dav in a way that if it doesn't mount properly because is not finding the server or
the share, it will completely terminate any davfs2 process ??

Thanks in advanced.

techfour <techfour>

 

(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 rwp (Posted a comment)
  • -email is unavailable- added by techfour (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-16 rwp StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-0329.
    Corresponding source code