FS#9790 - davfs2 1.2.2-2, mount -t davfs fails
Attached to Project:
Arch Linux
Opened by Julius (metalfan) - Saturday, 08 March 2008, 19:42 GMT
Last edited by Greg (dolby) - Monday, 19 May 2008, 12:22 GMT
Opened by Julius (metalfan) - Saturday, 08 March 2008, 19:42 GMT
Last edited by Greg (dolby) - Monday, 19 May 2008, 12:22 GMT
|
Details
Description:
mounting always fails, using the share via cadaver works. Additional info: * package version(s) davfs2 1.2.2-2 * config and/or log files etc. Steps to reproduce: mount -t davfs http://localhost:80/dav /tmp/test2 Please enter the username to authenticate with proxy http or hit enter for none. Username: Please enter the username to authenticate with server http://localhost:80/dav or hit enter for none. Username: /sbin/mount.davfs: connection timed out two times; trying one last time /sbin/mount.davfs: server temporarily unreachable; mounting anyway Solution: Upgrade to davfs-1.3.0 modified PKGBUILD: # $Id: PKGBUILD,v 1.9 2008/01/09 16:47:08 thomas Exp $ # Maintainer: Thomas Baechler <thomas@archlinux.org> pkgname=davfs2 pkgver=1.3.0 pkgrel=1 pkgdesc="File system driver that allows you to mount a WebDAV server as a local disk drive." arch=(i686 x86_64) url="http://dav.sourceforge.net" license="GPL" depends=('neon>=0.25.5-6') backup=(etc/davfs2/davfs2.conf etc/davfs2/secrets) install=davfs2.install source=(http://mesh.dl.sourceforge.net/sourceforge/dav/$pkgname-$pkgver.tar.gz davfs2-neon.patch) md5sums=('944613c18338630399099601f00fa633' 'a8965a0a689e7ab9f6047736f86e075f') build() { cd $startdir/src/$pkgname-$pkgver # Arch has some users with homedir / by default # This patch fixes a sanity check that prevents the "user" option # working if this is the case #patch -Np1 -i $startdir/src/davfs2-homedir.patch || return 1 #patch -Np1 -i $startdir/src/davfs2-neon.patch || return 1 sed 's|ne_set_request_body_fd64|ne_set_request_body_fd|g' -i src/webdav.c || return 1 dav_user=nobody dav_group=network ./configure --prefix=/usr --sysconfdir=/etc --disable-debug make || return 1 # Create some dirs install -d -m755 $startdir/pkg/sbin make DESTDIR=$startdir/pkg install || return 1 rm -f $startdir/pkg/usr/share/davfs2/{BUGS,COPYING,FAQ,NEWS,TODO,ChangeLog,GPL,README,THANKS} } somehow mount.davfs is not linked to /sbin/mount.davfs but instead somewhere int the source dir. dont know why. but you can correct that and link /usr/sbin/mount.davfs to /sbin/mount.davfs |
This task depends upon
Ive switched to sshfs because davfs wasnt able to work with the ms implementation. but yes, the bug report was solved with davfs-1.3.