URL: <http://savannah.gnu.org/support/?108506>
Summary: Davfs2 doesn't terminate davfs2 pid when connection times out Project: Savannah Administration Submitted by: techfour Submitted on: Thu 13 Feb 2014 09:54:26 PM GMT Category: None Priority: 5 - Normal Severity: 3 - Normal Status: None Assigned to: None Originator Email: richardcran...@yahoo.es Operating System: GNU/Linux Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: 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. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/support/?108506> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/