Skip to contentSkip to conversation

autofs / davfs

DISCUSSION Kevin Muller 3 participants 11 messages May 17, 2007 – Jun 7, 2007 4 messages not in the archive Kernel automounter

lore
Share & tools
lore
#0 lore raw

autofs / davfs

Im having a problem automounting a davfs share.
The share is setup, and works perfect without the automount. but as soon as a 'ls' is done on the automount directory, and the autofs tries to mount it, it hangs for a while, then if ctrl-c's out of it, the next ls on that directory shows the files correctly.

The idea is to have the files available through Samba, and as soon as samba tries to access the folder it will be a webdav share that gets mounted at that point.

Any suggestions at this point will be helpful.

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

#1 lore raw

autofs / davfs

Im having a problem automounting a davfs share.
The share is setup, and works perfect without the automount. but as soon as a 'ls' is done on the automount directory, and the autofs tries to mount it, it hangs for a while, then if ctrl-c's out of it, the next ls on that directory shows the files correctly.

The idea is to have the files available through Samba, and as soon as samba tries to access the folder it will be a webdav share that gets mounted at that point.

Any suggestions at this point will be helpful.

Kevin

#2 lore raw

==> On Fri, 18 May 2007 09:08:00 +0300, "Kevin Muller" <[email protected]> said:

Kevin> autofs / davfs
Kevin> Im having a problem automounting a davfs share.
Kevin> The share is setup, and works perfect without the automount. Kevin> but as soon as a 'ls' is done on the automount directory, and the Kevin> autofs tries to mount it, it hangs for a while, then if ctrl-c's out Kevin> of it, the next ls on that directory shows the files correctly.

Kevin> The idea is to have the files available through Samba, and as soon as Kevin> samba tries to access the folder it will be a webdav share that gets Kevin> mounted at that point.

Kevin> Any suggestions at this point will be helpful.

See the section entitled, "Filing bug reports," at the following URL:
http://people.redhat.com/jmoyer

Please provide the information requested therein.

Thanks!

Jeff

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

[rpm -q autofs]
autofs-5.0.1-0.rc2.43.0.2

[uname -r]
2.6.18-8.1.3.el5

[auto.master:]
/misc /etc/auto.misc
/net -hosts
/home/automount autodav.auto --ghost --timeout=120 --debug

[autodav.auto:]
web.site.com -fstype=autofs http://192.168.200.40/repos

[nsswitch.conf:]

passwd:     files winbind
shadow:     files winbind
group:      files winbind
#hosts:     db files nisplus nis dns
hosts:      files dns
bootparams: nisplus [NOTFOUND=return] files
ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files
netgroup:   files
publickey:  nisplus
automount:  files
aliases:    files nisplus

[/etc/sysconfig.autofs:]
DEFAULT_TIMEOUT=300
DEFAULT_BROWSE_MODE="no"

[output from debug (when fstype=auto):]

May 14 15:55:44 devaccess automount[3575]: master_do_mount: mounting
/home/automount
May 14 15:55:44 devaccess automount[3575]: lookup_nss_read_map:
reading map files autodav.auto
May 14 15:55:51 devaccess automount[3575]: handle_packet: type = 3
May 14 15:55:51 devaccess automount[3575]:
handle_packet_missing_indirect: token 4, name web.site.com, request
pid 3586
May 14 15:55:51 devaccess automount[3575]: lookup_mount: lookup(file):
looking up web.site.com
May 14 15:55:51 devaccess automount[3575]: lookup_mount: lookup(file):
web.site.com -> -fstype=autofs           http://192.168.200.40/repos
May 14 15:55:51 devaccess automount[3575]: parse_mount: parse(sun):
expanded entry: -fstype=autofs
http://192.168.200.40/repos
May 14 15:55:51 devaccess automount[3575]: parse_mount: parse(sun):
gathered options: fstype=autofs
May 14 15:55:51 devaccess automount[3575]: parse_mount: parse(sun):
dequote(" http://192.168.200.40/repos") -> http://192.168.200.40/repos
May 14 15:55:51 devaccess automount[3575]: parse_mount: parse(sun):
core of entry: options=fstype=autofs, loc= http://192.168.200.40/repos
May 14 15:55:51 devaccess automount[3575]: sun_mount: parse(sun):
mounting root /home/automount, mountpoint web.site.com , what
http://192.168.200.40/repos, fstype autofs, options
May 14 15:55:51 devaccess automount[3575]: do_mount:
http://192.168.200.40/repos /home/automount/web.site.com type autofs
options  using module autofs
May 14 15:55:51 devaccess automount[3575]: mount_mount: mount(autofs):
fullpath=/home/automount/web.site.com what=
http://192.168.200.40/repos options=
May 14 15:55:51 devaccess automount[3575]: lookup_nss_read_map:
reading map http //192.168.200.40/repos
May 14 15:55:51 devaccess automount[3575]: open_lookup: cannot open
lookup module http (/usr/lib/autofs/lookup_http.so: cannot open shared
object file: No such file or directory)
May 14 15:55:51 devaccess automount[3575]: do_read_map: lookup module
http failed
May 14 15:55:51 devaccess automount[3575]: mount_autofs_indirect:
failed to read map for /home/automount/web.site.com
May 14 15:55:51 devaccess automount[3575]: handle_mounts: mount of
/home/automount/web.site.com failed!
May 14 15:55:51 devaccess automount[3575]: mount_mount: mount(autofs):

failed to create submount for /home/automount/web.site.com

[output from debug (when fstype=davfs):]

May 14 15:59:01 devaccess automount[3619]: handle_packet: type = 3
May 14 15:59:01 devaccess automount[3619]:
handle_packet_missing_indirect: token 5, name web.site.com, request
pid 3630
May 14 15:59:01 devaccess automount[3619]: lookup_mount: lookup(file):
looking up web.site.com
May 14 15:59:01 devaccess automount[3619]: lookup_mount: lookup(file):
web.site.com -> -fstype=davfs            http://192.168.200.40/repos
May 14 15:59:01 devaccess automount[3619]: parse_mount: parse(sun):
expanded entry: -fstype=davfs
http://192.168.200.40/repos
May 14 15:59:01 devaccess automount[3619]: parse_mount: parse(sun):
gathered options: fstype=davfs
May 14 15:59:01 devaccess automount[3619]: parse_mount: parse(sun):
dequote("http://192.168.200.40/repos") -> http://192.168.200.40/repos
May 14 15:59:01 devaccess automount[3619]: parse_mount: parse(sun):
core of entry: options=fstype=davfs, loc=http://192.168.200.40/repos
May 14 15:59:01 devaccess automount[3619]: sun_mount: parse(sun):
mounting root /home/automount, mountpoint web.site.com, what
http://192.168.200.40/repos, fstype davfs, options
May 14 15:59:01 devaccess automount[3619]: open_mount: (mount):cannot
open mount module davfs (/usr/lib/autofs/mount_davfs.so: cannot open
shared object file: No such file or directory)
May 14 15:59:01 devaccess automount[3619]: do_mount:
http://192.168.200.40/repos /home/automount/web.site.com type davfs
options  using module generic
May 14 15:59:01 devaccess automount[3619]: mount_mount:
mount(generic): calling mkdir_path /home/automount/web.site.com
May 14 15:59:01 devaccess automount[3619]: mount_mount:
mount(generic): calling mount -t davfs http://192.168.200.40/repos
/home/automount/web.site.com
May 14 15:59:40 devaccess automount[3619]: st_expire: state 1 path
/home/automount
May 14 15:59:40 devaccess automount[3619]: expire_proc: exp_proc =
3077438352 path /home/automount
May 14 15:59:40 devaccess automount[3619]: expire_proc_indirect:
expire /home/automount/web.site.com
May 14 15:59:41 devaccess automount[3619]: expire_proc_indirect: 1
remaining in /home/automount
May 14 15:59:41 devaccess automount[3619]: expire_cleanup: got thid
3077438352 path /home/automount stat 2
May 14 15:59:41 devaccess automount[3619]: expire_cleanup: sigchld:
exp 3077438352 finished, switching from 2 to 1
May 14 15:59:41 devaccess automount[3619]: st_ready: st_ready(): state
= 2 path /home/automount
May 14 16:00:11 devaccess automount[3619]: st_expire: state 1 path
/home/automount
May 14 16:00:11 devaccess automount[3619]: expire_proc: exp_proc =
3077438352 path /home/automount
May 14 16:00:11 devaccess automount[3619]: expire_proc_indirect:
expire /home/automount/web.site.com
May 14 16:00:13 devaccess automount[3619]: expire_proc_indirect: 1
remaining in /home/automount
May 14 16:00:13 devaccess automount[3619]: expire_cleanup: got thid
3077438352 path /home/automount stat 2
May 14 16:00:13 devaccess automount[3619]: expire_cleanup: sigchld:
exp 3077438352 finished, switching from 2 to 1
May 14 16:00:13 devaccess automount[3619]: st_ready: st_ready(): state
= 2 path /home/automount
May 14 16:00:43 devaccess automount[3619]: st_expire: state 1 path
/home/automount
May 14 16:00:43 devaccess automount[3619]: expire_proc: exp_proc =
3077438352 path /home/automount
May 14 16:00:43 devaccess automount[3619]: expire_proc_indirect:
expire /home/automount/web.site.com
May 14 16:00:44 devaccess automount[3619]: expire_proc_indirect: 1
remaining in /home/automount
May 14 16:00:44 devaccess automount[3619]: expire_cleanup: got thid
3077438352 path /home/automount stat 2
May 14 16:00:44 devaccess automount[3619]: expire_cleanup: sigchld:
exp 3077438352 finished, switching from 2 to 1
May 14 16:00:44 devaccess automount[3619]: st_ready: st_ready(): state

= 2 path /home/automount

I had that in the original message, which made a massive appearance in /dev/null due to it been in html. The resend did not have take out the details from the /dev/null void.

Thank you,

Kevin

Quoted 24 lines · Jeff Moyer

==> On Fri, 18 May 2007 09:08:00 +0300, "Kevin Muller" <[email protected]> said:

Kevin> autofs / davfs
Kevin> Im having a problem automounting a davfs share.
Kevin> The share is setup, and works perfect without the automount. Kevin> but as soon as a 'ls' is done on the automount directory, and the Kevin> autofs tries to mount it, it hangs for a while, then if ctrl-c's out Kevin> of it, the next ls on that directory shows the files correctly.

Kevin> The idea is to have the files available through Samba, and as soon as Kevin> samba tries to access the folder it will be a webdav share that gets Kevin> mounted at that point.

Kevin> Any suggestions at this point will be helpful.

See the section entitled, "Filing bug reports," at the following URL:
http://people.redhat.com/jmoyer

Please provide the information requested therein.

Thanks!

Jeff

#5 lore raw
In reply to a message not in the archive

[rpm -q autofs]
autofs-5.0.1-0.rc2.43.0.2

[uname -r]
2.6.18-8.1.3.el5

[auto.master:]
/misc /etc/auto.misc
/net -hosts
/home/automount autodav.auto --ghost --timeout=120 --debug

[autodav.auto:]
web.site.com -fstype=autofs http://192.168.200.40/repos

[nsswitch.conf:]

passwd:     files winbind
shadow:     files winbind
group:      files winbind
#hosts:     db files nisplus nis dns
hosts:      files dns
bootparams: nisplus [NOTFOUND=return] files
ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files
netgroup:   files
publickey:  nisplus
automount:  files
aliases:    files nisplus

[/etc/sysconfig.autofs:]
DEFAULT_TIMEOUT=300
DEFAULT_BROWSE_MODE="no"

[output from debug (when fstype=auto):]

May 14 15:55:44 devaccess automount[3575]: master_do_mount: mounting
/home/automount
May 14 15:55:44 devaccess automount[3575]: lookup_nss_read_map:
reading map files autodav.auto
May 14 15:55:51 devaccess automount[3575]: handle_packet: type = 3
May 14 15:55:51 devaccess automount[3575]:
handle_packet_missing_indirect: token 4, name web.site.com, request
pid 3586
May 14 15:55:51 devaccess automount[3575]: lookup_mount: lookup(file):
looking up web.site.com
May 14 15:55:51 devaccess automount[3575]: lookup_mount: lookup(file):
web.site.com -> -fstype=autofs           http://192.168.200.40/repos
May 14 15:55:51 devaccess automount[3575]: parse_mount: parse(sun):
expanded entry: -fstype=autofs
http://192.168.200.40/repos
May 14 15:55:51 devaccess automount[3575]: parse_mount: parse(sun):
gathered options: fstype=autofs
May 14 15:55:51 devaccess automount[3575]: parse_mount: parse(sun):
dequote(" http://192.168.200.40/repos") -> http://192.168.200.40/repos
May 14 15:55:51 devaccess automount[3575]: parse_mount: parse(sun):
core of entry: options=fstype=autofs, loc= http://192.168.200.40/repos
May 14 15:55:51 devaccess automount[3575]: sun_mount: parse(sun):
mounting root /home/automount, mountpoint web.site.com , what
http://192.168.200.40/repos, fstype autofs, options
May 14 15:55:51 devaccess automount[3575]: do_mount:
http://192.168.200.40/repos /home/automount/web.site.com type autofs
options  using module autofs
May 14 15:55:51 devaccess automount[3575]: mount_mount: mount(autofs):
fullpath=/home/automount/web.site.com what=
http://192.168.200.40/repos options=
May 14 15:55:51 devaccess automount[3575]: lookup_nss_read_map:
reading map http //192.168.200.40/repos
May 14 15:55:51 devaccess automount[3575]: open_lookup: cannot open
lookup module http (/usr/lib/autofs/lookup_http.so: cannot open shared
object file: No such file or directory)
May 14 15:55:51 devaccess automount[3575]: do_read_map: lookup module
http failed
May 14 15:55:51 devaccess automount[3575]: mount_autofs_indirect:
failed to read map for /home/automount/web.site.com
May 14 15:55:51 devaccess automount[3575]: handle_mounts: mount of
/home/automount/web.site.com failed!
May 14 15:55:51 devaccess automount[3575]: mount_mount: mount(autofs):

failed to create submount for /home/automount/web.site.com

[output from debug (when fstype=davfs):]

May 14 15:59:01 devaccess automount[3619]: handle_packet: type = 3
May 14 15:59:01 devaccess automount[3619]:
handle_packet_missing_indirect: token 5, name web.site.com, request
pid 3630
May 14 15:59:01 devaccess automount[3619]: lookup_mount: lookup(file):
looking up web.site.com
May 14 15:59:01 devaccess automount[3619]: lookup_mount: lookup(file):
web.site.com -> -fstype=davfs            http://192.168.200.40/repos
May 14 15:59:01 devaccess automount[3619]: parse_mount: parse(sun):
expanded entry: -fstype=davfs
http://192.168.200.40/repos
May 14 15:59:01 devaccess automount[3619]: parse_mount: parse(sun):
gathered options: fstype=davfs
May 14 15:59:01 devaccess automount[3619]: parse_mount: parse(sun):
dequote("http://192.168.200.40/repos") -> http://192.168.200.40/repos
May 14 15:59:01 devaccess automount[3619]: parse_mount: parse(sun):
core of entry: options=fstype=davfs, loc=http://192.168.200.40/repos
May 14 15:59:01 devaccess automount[3619]: sun_mount: parse(sun):
mounting root /home/automount, mountpoint web.site.com, what
http://192.168.200.40/repos, fstype davfs, options
May 14 15:59:01 devaccess automount[3619]: open_mount: (mount):cannot
open mount module davfs (/usr/lib/autofs/mount_davfs.so: cannot open
shared object file: No such file or directory)
May 14 15:59:01 devaccess automount[3619]: do_mount:
http://192.168.200.40/repos /home/automount/web.site.com type davfs
options  using module generic
May 14 15:59:01 devaccess automount[3619]: mount_mount:
mount(generic): calling mkdir_path /home/automount/web.site.com
May 14 15:59:01 devaccess automount[3619]: mount_mount:
mount(generic): calling mount -t davfs http://192.168.200.40/repos
/home/automount/web.site.com
May 14 15:59:40 devaccess automount[3619]: st_expire: state 1 path
/home/automount
May 14 15:59:40 devaccess automount[3619]: expire_proc: exp_proc =
3077438352 path /home/automount
May 14 15:59:40 devaccess automount[3619]: expire_proc_indirect:
expire /home/automount/web.site.com
May 14 15:59:41 devaccess automount[3619]: expire_proc_indirect: 1
remaining in /home/automount
May 14 15:59:41 devaccess automount[3619]: expire_cleanup: got thid
3077438352 path /home/automount stat 2
May 14 15:59:41 devaccess automount[3619]: expire_cleanup: sigchld:
exp 3077438352 finished, switching from 2 to 1
May 14 15:59:41 devaccess automount[3619]: st_ready: st_ready(): state
= 2 path /home/automount
May 14 16:00:11 devaccess automount[3619]: st_expire: state 1 path
/home/automount
May 14 16:00:11 devaccess automount[3619]: expire_proc: exp_proc =
3077438352 path /home/automount
May 14 16:00:11 devaccess automount[3619]: expire_proc_indirect:
expire /home/automount/web.site.com
May 14 16:00:13 devaccess automount[3619]: expire_proc_indirect: 1
remaining in /home/automount
May 14 16:00:13 devaccess automount[3619]: expire_cleanup: got thid
3077438352 path /home/automount stat 2
May 14 16:00:13 devaccess automount[3619]: expire_cleanup: sigchld:
exp 3077438352 finished, switching from 2 to 1
May 14 16:00:13 devaccess automount[3619]: st_ready: st_ready(): state
= 2 path /home/automount
May 14 16:00:43 devaccess automount[3619]: st_expire: state 1 path
/home/automount
May 14 16:00:43 devaccess automount[3619]: expire_proc: exp_proc =
3077438352 path /home/automount
May 14 16:00:43 devaccess automount[3619]: expire_proc_indirect:
expire /home/automount/web.site.com
May 14 16:00:44 devaccess automount[3619]: expire_proc_indirect: 1
remaining in /home/automount
May 14 16:00:44 devaccess automount[3619]: expire_cleanup: got thid
3077438352 path /home/automount stat 2
May 14 16:00:44 devaccess automount[3619]: expire_cleanup: sigchld:
exp 3077438352 finished, switching from 2 to 1
May 14 16:00:44 devaccess automount[3619]: st_ready: st_ready(): state

= 2 path /home/automount

I had that in the original message, which made a massive appearance in /dev/null due to it been in html. The resend did not have take out the details from the /dev/null void.

Thank you,

Kevin

Quoted 24 lines · Jeff Moyer

==> On Fri, 18 May 2007 09:08:00 +0300, "Kevin Muller" <[email protected]> said:

Kevin> autofs / davfs
Kevin> Im having a problem automounting a davfs share.
Kevin> The share is setup, and works perfect without the automount. Kevin> but as soon as a 'ls' is done on the automount directory, and the Kevin> autofs tries to mount it, it hangs for a while, then if ctrl-c's out Kevin> of it, the next ls on that directory shows the files correctly.

Kevin> The idea is to have the files available through Samba, and as soon as Kevin> samba tries to access the folder it will be a webdav share that gets Kevin> mounted at that point.

Kevin> Any suggestions at this point will be helpful.

See the section entitled, "Filing bug reports," at the following URL:
http://people.redhat.com/jmoyer

Please provide the information requested therein.

Thanks!

Jeff

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw

Hi There!

Thank you for your response. I have tried it with fs=davfs, and fs=autofs, just to make sure that it was not a type setting.

The mount command to mount would be:
mount -t davfs <weburl> <mountpoint>

so in my case it would be:
mount -t davfs http://192.168.200.40/repos/ home/automount/web.site.com

or alternativly, if a fstab entry is created, then just:
mount -t davfs <mountpoint>

The davfs is a kernel filesystem module that provides a way to mount a webdav resource as a local filesystem. The reason for using it is to have a transparent mounted filesystem into a webdav repository, that has automatic versioning. And the webdav repository can be anywhere on the intern, the davfs, using the fuse, and neon libraries, will auto-cache the files from the repository. So the access from the user point will be live, and the file versioning up to date, And completely transparent. The auto-mount is there for the simple reason that there will be many many mount points for the different projects, and having them all mounted at the same time will use all the machines resources.

-Kevin

Quoted 15 lines · Jeff Moyer

Why didn't you reply to the list, as well?

==> On Fri, 18 May 2007 17:37:10 +0300, "Kevin Muller" <[email protected]> said:

Kevin> [rpm -q autofs]
Kevin> autofs-5.0.1-0.rc2.43.0.2

Kevin> [uname -r]
Kevin> 2.6.18-8.1.3.el5

Kevin> [auto.master:]
Kevin> /misc /etc/auto.misc
Kevin> /net -hosts
Kevin> /home/automount autodav.auto --ghost --timeout=120 --debug

Quoted 9 lines

Kevin> [autodav.auto:]
Kevin> web.site.com -fstype=autofs http://192.168.200.40/repos

This entry should not be fstype=autofs. If you can provide an example of the command you use to mount this manually, I can help you write your automount maps.

-Jeff

p.s excuse the not replying to the list, I have got all my replies, and stuff in a confusion here, kinda put a spanner in the works,

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw
May 21 15:48:29 devaccess automount[32396]: st_expire: state 1 path
/home/automount
May 21 15:48:29 devaccess automount[32396]: expire_proc: exp_proc =
3078335376 path /home/automount
May 21 15:48:29 devaccess automount[32396]: expire_cleanup: got thid
3078335376 path /home/automount stat 0
May 21 15:48:29 devaccess automount[32396]: expire_cleanup: sigchld:
exp 3078335376 finished, switching from 2 to 1
May 21 15:48:29 devaccess automount[32396]: st_ready: st_ready():
state = 2 path /home/automount
May 21 15:48:35 devaccess automount[32396]: handle_packet: type = 3
May 21 15:48:35 devaccess automount[32396]:
handle_packet_missing_indirect: token 1, name web.site.com, request
pid 32419
May 21 15:48:35 devaccess automount[32396]: lookup_mount:
lookup(file): looking up web.site.com
May 21 15:48:35 devaccess automount[32396]: lookup_mount:
lookup(file): web.site.com -> http://v6.muglets.com.dev/repos
May 21 15:48:35 devaccess automount[32396]: parse_mount: parse(sun):
expanded entry: http://v6.muglets.com.dev/repos
May 21 15:48:35 devaccess automount[32396]: parse_mount: parse(sun):
gathered options:
May 21 15:48:35 devaccess automount[32396]: parse_mount: parse(sun):
dequote("http://v6.muglets.com.dev/repos") ->
http://v6.muglets.com.dev/repos
May 21 15:48:35 devaccess automount[32396]: parse_mount: parse(sun):
core of entry: options=, loc=http://v6.muglets.com.dev/repos
May 21 15:48:35 devaccess automount[32396]: sun_mount: parse(sun):
mounting root /home/automount, mountpoint web.site.com, what
http://v6.muglets.com.dev/repos, fstype nfs, options (null)
May 21 15:48:35 devaccess automount[32396]: mount_mount: mount(nfs):
root=/home/automount name=web.site.com
what=http://v6.muglets.com.dev/repos, fstype=nfs, options=(null)
May 21 15:48:35 devaccess automount[32396]: add_host_addrs: host http:
lookup failure 1
May 21 15:48:35 devaccess automount[32396]: mount_mount: mount(nfs):
no hosts available
May 21 15:48:59 devaccess automount[32396]: st_expire: state 1 path

/home/automount

---------------------------------------------------------------------

that is the debug log when I remove that from the map file.
- kevin

Quoted 19 lines · On 5/21/07, [email protected] <[email protected]> wrote:

==> Regarding Re: [autofs] autofs / davfs; "Kevin Muller" <[email protected]> adds:

k.muller> Hi There! Thank you for your response. I have tried it with k.muller> fs=davfs, and fs=autofs, just to make sure that it was not a type k.muller> setting.

k.muller> The mount command to mount would be: mount -t davfs <weburl> k.muller> <mountpoint>

k.muller> so in my case it would be: mount -t davfs k.muller> http://192.168.200.40/repos/ home/automount/web.site.com

k.muller> or alternativly, if a fstab entry is created, then just: mount -t k.muller> davfs <mountpoint>

Try it without the -fstype option.

-Jeff

#11 lore raw

The weird part is that the filesystem driver actually loads correctly, then autofs hangs when control is returned.

I purposely set the davfs to use the coda device, and the coda device is not functional, so it falls back to the fuse device. The advantage of that, is that is gives some feedback to what is happening.

extract from log:

May 21 15:56:21 devaccess automount[32663]: lookup_mount:
lookup(file): looking up web.site.com
May 21 15:56:21 devaccess automount[32663]: lookup_mount:
lookup(file): web.site.com -> -fstype=davfs
http://v6.muglets.com.dev/repos
May 21 15:56:21 devaccess automount[32663]: parse_mount: parse(sun):
expanded entry: -fstype=davfs      http://v6.muglets.com.dev/repos
May 21 15:56:21 devaccess automount[32663]: parse_mount: parse(sun):
gathered options: fstype=davfs
May 21 15:56:21 devaccess automount[32663]: parse_mount: parse(sun):
dequote("http://v6.muglets.com.dev/repos") ->
http://v6.muglets.com.dev/repos
May 21 15:56:21 devaccess automount[32663]: parse_mount: parse(sun):
core of entry: options=fstype=davfs,
loc=http://v6.muglets.com.dev/repos
May 21 15:56:21 devaccess automount[32663]: sun_mount: parse(sun):
mounting root /home/automount, mountpoint web.site.com, what
http://v6.muglets.com.dev/repos, fstype davfs, options
May 21 15:56:21 devaccess automount[32663]: open_mount: (mount):cannot
open mount module davfs (/usr/lib/autofs/mount_davfs.so: cannot open
shared object file: No such file or directory)
May 21 15:56:21 devaccess automount[32663]: do_mount:
http://v6.muglets.com.dev/repos /home/automount/web.site.com type
davfs options  using module generic
May 21 15:56:21 devaccess automount[32663]: mount_mount:
mount(generic): calling mkdir_path /home/automount/web.site.com
May 21 15:56:21 devaccess automount[32663]: mount_mount:
mount(generic): calling mount -t davfs http://v6.muglets.com.dev/repos
/home/automount/web.site.com
May 21 15:56:22 devaccess automount[32663]: >> /sbin/mount.davfs: no
free coda device to mount
May 21 15:56:22 devaccess automount[32663]: >> /sbin/mount.davfs:
trying fuse kernel file system
May 21 15:56:22 devaccess automount[32663]: >> /sbin/mount.davfs: fuse

device opened successfully

From this I deduce that the modules load, and the file system is put in place, and the autofs hangs before control is returned.

- kevin

#12 lore raw
In reply to Kevin Muller

==> On Thu, 17 May 2007 12:18:47 +0300, "Kevin Muller" <[email protected]> said:

Kevin> autofs / davfs
Kevin> Im having a problem automounting a davfs share.
Kevin> The share is setup, and works perfect without the automount. Kevin> but as soon as a 'ls' is done on the automount directory, and the autofs Kevin> tries to mount it, it hangs for a while, then if ctrl-c's out of it, the Kevin> next ls on that directory shows the files correctly.

Kevin> The idea is to have the files available through Samba, and as soon as samba Kevin> tries to access the folder it will be a webdav share that gets mounted at Kevin> that point.

Kevin> Any suggestions at this point will be helpful.

I'm sorry, did we leave you hanging on this issue? The last thing I see in the discussion was this post from you:

,----

| mount(generic): calling mount -t davfs http://v6.muglets.com.dev/repos
| /home/automount/web.site.com
| May 21 15:56:22 devaccess automount[32663]: >> /sbin/mount.davfs: no
| free coda device to mount
| May 21 15:56:22 devaccess automount[32663]: >> /sbin/mount.davfs:
| trying fuse kernel file system
| May 21 15:56:22 devaccess automount[32663]: >> /sbin/mount.davfs: fuse
| device opened successfully
| 
| >From this I deduce that the modules load, and the file system is put
| in place, and the autofs hangs before control is returned.

`----

When you reproduce this, can you get the output from ps auxwww | grep mount and post it here? I'm wondering whether the mount command ever returns. Also, this looks to be just a snippet of the log. Could you include the rest of the logs, or tell us if this was the last thing logged by automount?

Thanks!

Jeff

#13 lore raw
Quoted 38 lines · Jeff Moyer

==> On Thu, 17 May 2007 12:18:47 +0300, "Kevin Muller" <[email protected]> said:

Kevin> autofs / davfs
Kevin> Im having a problem automounting a davfs share.
Kevin> The share is setup, and works perfect without the automount. Kevin> but as soon as a 'ls' is done on the automount directory, and the autofs Kevin> tries to mount it, it hangs for a while, then if ctrl-c's out of it, the Kevin> next ls on that directory shows the files correctly.

Kevin> The idea is to have the files available through Samba, and as soon as samba Kevin> tries to access the folder it will be a webdav share that gets mounted at Kevin> that point.

Kevin> Any suggestions at this point will be helpful.

I'm sorry, did we leave you hanging on this issue? The last thing I see in the discussion was this post from you:

,----

| mount(generic): calling mount -t davfs http://v6.muglets.com.dev/repos
| /home/automount/web.site.com
| May 21 15:56:22 devaccess automount[32663]: >> /sbin/mount.davfs: no
| free coda device to mount
| May 21 15:56:22 devaccess automount[32663]: >> /sbin/mount.davfs:
| trying fuse kernel file system
| May 21 15:56:22 devaccess automount[32663]: >> /sbin/mount.davfs: fuse
| device opened successfully
|
| >From this I deduce that the modules load, and the file system is put
| in place, and the autofs hangs before control is returned.

`----

When you reproduce this, can you get the output from ps auxwww | grep mount and post it here? I'm wondering whether the mount command ever returns. Also, this looks to be just a snippet of the log. Could you include the rest of the logs, or tell us if this was the last thing logged by automount?

Quoted 4 lines

Thanks!

Jeff

I have set the logging to as verbose as possible, and the logging is rather long winded, I have included that, as well as the output from the ps.

[root@devaccess ~]# ps auxwww | grep mount

root      7546  0.0  0.0  16584  1400 ?        Ssl  May31   0:02 automount
root     11984  0.0  0.0   4368   928 pts/4    S+   09:13   0:00 ls

--color=tty /home/automount/website/
root 11986 0.0 0.0 0 0 ? Z 09:13 0:00
[mount] <defunct>
davfs2 11988 0.0 0.0 6924 920 ? Ss 09:13 0:00
/sbin/mount.davfs http://website.com.dev/repos /home/automount/website -o rw
root 11996 0.0 0.0 3880 664 pts/5 R+ 09:14 0:00 grep mount

*** File: /var/log/debug

Jun  7 09:13:53 devaccess automount[7546]: handle_packet: type = 3
Jun  7 09:13:53 devaccess automount[7546]:
handle_packet_missing_indirect: token 39, name website, request pid
11984
Jun  7 09:13:53 devaccess automount[7546]: lookup_mount: lookup(file):
looking up website
Jun  7 09:13:53 devaccess automount[7546]: lookup_mount: lookup(file):
website -> -fstype=davfs http://website.com.dev/repos
Jun  7 09:13:53 devaccess automount[7546]: parse_mount: parse(sun):
expanded entry: -fstype=davfs       http://website.com.dev/repos
Jun  7 09:13:53 devaccess automount[7546]: parse_mount: parse(sun):
gathered options: fstype=davfs
Jun  7 09:13:53 devaccess automount[7546]: parse_mount: parse(sun):
dequote("http://website.com.dev/repos") ->
http://website.com.dev/repos
Jun  7 09:13:53 devaccess automount[7546]: parse_mount: parse(sun):
core of entry: options=fstype=davfs, loc=http://website.com.dev/repos
Jun  7 09:13:53 devaccess automount[7546]: sun_mount: parse(sun):
mounting root /home/automount, mountpoint website, what
http://website.com.dev/repos, fstype davfs, options
Jun  7 09:13:53 devaccess automount[7546]: open_mount: (mount):cannot
open mount module davfs (/usr/lib/autofs/mount_davfs.so: cannot open
shared object file: No such file or directory)
Jun  7 09:13:53 devaccess automount[7546]: do_mount:
http://website.com.dev/repos /home/automount/website type davfs
options  using module generic
Jun  7 09:13:53 devaccess automount[7546]: mount_mount:
mount(generic): calling mkdir_path /home/automount/website
Jun  7 09:13:53 devaccess automount[7546]: mount_mount:
mount(generic): calling mount -t davfs http://website.com.dev/repos
/home/automount/website
Jun  7 09:14:00 devaccess automount[7546]: st_expire: state 1 path
/home/automount
Jun  7 09:14:00 devaccess automount[7546]: expire_proc: exp_proc =
3079506832 path /home/automount
Jun  7 09:14:00 devaccess automount[7546]: expire_proc_indirect:
expire /home/automount/website
Jun  7 09:14:01 devaccess automount[7546]: expire_proc_indirect: 1
remaining in /home/automount
Jun  7 09:14:01 devaccess automount[7546]: expire_cleanup: got thid
3079506832 path /home/automount stat 2
Jun  7 09:14:01 devaccess automount[7546]: expire_cleanup: sigchld:
exp 3079506832 finished, switching from 2 to 1
Jun  7 09:14:01 devaccess automount[7546]: st_ready: st_ready(): state

= 2 path /home/automount

*** File: /var/log/messages

Jun  7 09:13:53 devaccess automount[7546]: open_mount: (mount):cannot
open mount module davfs (/usr/lib/autofs/mount_davfs.so: cannot open
shared object file: No such file or directory)
Jun  7 09:13:53 devaccess mount.davfs: Parsing command line
Jun  7 09:13:53 devaccess mount.davfs:   /sbin/mount.davfs
http://website.com.dev/repos /home/automount/website -o rw
Jun  7 09:13:53 devaccess mount.davfs:   URL: http://website.com.dev/repos
Jun  7 09:13:53 devaccess mount.davfs:   Mount point: /home/automount/website
Jun  7 09:13:53 devaccess mount.davfs: Checking for setuid
Jun  7 09:13:53 devaccess mount.davfs: Parsing configuration files
Jun  7 09:13:53 devaccess mount.davfs:   Reading config from
Jun  7 09:13:53 devaccess mount.davfs:     /usr/local/etc/davfs2/davfs2.conf.
Jun  7 09:13:53 devaccess mount.davfs:   Arguments after parsing config files:
Jun  7 09:13:53 devaccess mount.davfs:     dav_user = davfs2
Jun  7 09:13:53 devaccess mount.davfs:     dav_group = davfs2
Jun  7 09:13:53 devaccess mount.davfs:     ignore_home = 1
Jun  7 09:13:53 devaccess mount.davfs:     conf = (null)
Jun  7 09:13:53 devaccess mount.davfs:     user = 0
Jun  7 09:13:53 devaccess mount.davfs:     netdev = 1
Jun  7 09:13:53 devaccess mount.davfs:     mopts = 0xc0ed0006
Jun  7 09:13:53 devaccess mount.davfs:     add_mopts = (null)
Jun  7 09:13:53 devaccess mount.davfs:     kernel_fs = fuse
Jun  7 09:13:53 devaccess mount.davfs:     buf_size = 32 KiBytes
Jun  7 09:13:53 devaccess mount.davfs:     uid = 0
Jun  7 09:13:53 devaccess mount.davfs:     gid = 0
Jun  7 09:13:53 devaccess mount.davfs:     dir_umask = 06000
Jun  7 09:13:53 devaccess mount.davfs:     file_umask = 06000
Jun  7 09:13:53 devaccess mount.davfs:     dir_mode = 040755
Jun  7 09:13:53 devaccess mount.davfs:     file_mode = 0100644
Jun  7 09:13:53 devaccess mount.davfs:     scheme = http
Jun  7 09:13:53 devaccess mount.davfs:     host = website.com.dev
Jun  7 09:13:53 devaccess mount.davfs:     port = 80
Jun  7 09:13:53 devaccess mount.davfs:     path = /repos/
Jun  7 09:13:53 devaccess mount.davfs:     servercert = (null)
Jun  7 09:13:53 devaccess mount.davfs:     secrets = (null)
Jun  7 09:13:53 devaccess mount.davfs:     clicert = (null)
Jun  7 09:13:53 devaccess mount.davfs:     p_host = (null)
Jun  7 09:13:53 devaccess mount.davfs:     p_port = 8080
Jun  7 09:13:53 devaccess mount.davfs:     useproxy = 0
Jun  7 09:13:53 devaccess mount.davfs:     askauth = 0
Jun  7 09:13:53 devaccess mount.davfs:     displayname = 1
Jun  7 09:13:53 devaccess mount.davfs:     locks = 0
Jun  7 09:13:53 devaccess mount.davfs:     expect100 = 1
Jun  7 09:13:53 devaccess mount.davfs:     read_timeout = 10 s
Jun  7 09:13:53 devaccess mount.davfs:     server_charset = (null)
Jun  7 09:13:53 devaccess mount.davfs:     sys_cache = /var/cache/davfs2
Jun  7 09:13:53 devaccess mount.davfs:     cache_dir = /var/cache/davfs2
Jun  7 09:13:53 devaccess mount.davfs:     backup_dir = lost+found
Jun  7 09:13:53 devaccess mount.davfs:     cache_size = 50 MiByte
Jun  7 09:13:53 devaccess mount.davfs:     table_size = 1024
Jun  7 09:13:53 devaccess mount.davfs:     idle_time = 10 s
Jun  7 09:13:53 devaccess mount.davfs:     dir_refresh = 60 s
Jun  7 09:13:53 devaccess mount.davfs:     file_refresh = 1 s
Jun  7 09:13:53 devaccess mount.davfs:     gui_optimize = 0
Jun  7 09:13:53 devaccess mount.davfs:     retry = 30 s
Jun  7 09:13:53 devaccess mount.davfs:     max_retry = 300 s
Jun  7 09:13:53 devaccess mount.davfs:     lock_timeout = 1800 s
Jun  7 09:13:53 devaccess mount.davfs:     lock_refresh = 60 s
Jun  7 09:13:53 devaccess mount.davfs:     lock_owner = (null)
Jun  7 09:13:53 devaccess mount.davfs: Checking mount point
Jun  7 09:13:53 devaccess mount.davfs:   Mountpoint: /home/automount/website
Jun  7 09:13:53 devaccess mount.davfs: Checking directories
Jun  7 09:13:53 devaccess mount.davfs: Mounts in /proc/mounts
Jun  7 09:13:53 devaccess mount.davfs: Checking permissions
Jun  7 09:13:53 devaccess mount.davfs: Parsing secrets files
Jun  7 09:13:53 devaccess mount.davfs:   Reading secrets from
Jun  7 09:13:53 devaccess mount.davfs:     /usr/local/etc/davfs2/secrets.
Jun  7 09:13:53 devaccess mount.davfs:   Credentials:
Jun  7 09:13:53 devaccess mount.davfs:     username = samba
Jun  7 09:13:53 devaccess mount.davfs:     passord = *******
Jun  7 09:13:53 devaccess mount.davfs:     p_user = (null)
Jun  7 09:13:53 devaccess mount.davfs:     p_passord = (null)
Jun  7 09:13:53 devaccess mount.davfs: Checking for double mounts
Jun  7 09:13:53 devaccess mount.davfs: PID file:
/var/run/mount.davfs/home-automount-website.pid
Jun  7 09:13:53 devaccess mount.davfs: Changing persona:
Jun  7 09:13:53 devaccess mount.davfs:   euid 501, gid 500
Jun  7 09:13:53 devaccess mount.davfs: Initialize WebDAV-session
Jun  7 09:13:53 devaccess mount.davfs: Initialize Cache
Jun  7 09:13:53 devaccess mount.davfs:   Alignment of dav_node: 8
Jun  7 09:13:53 devaccess mount.davfs:   Checking cache directory.
Jun  7 09:13:54 devaccess mount.davfs:
/var/cache/davfs2/website.com.dev-repos+home-automount-website+root
Jun  7 09:13:54 devaccess mount.davfs:   New node: (nil)->0x8104b18
Jun  7 09:13:54 devaccess mount.davfs:   Reading stored cache data.
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x8104bf8
Jun  7 09:13:54 devaccess mount.davfs:   Neon wants creditentials for
website.com.dev.
Jun  7 09:13:54 devaccess mount.davfs:   PROPFIND /repos/
Jun  7 09:13:54 devaccess mount.davfs:   PROPFIND: 207 Multi-Status
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810d3f8
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/rl/"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810c2c8
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/litmus/"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810c328
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/index.html"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810c388
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/autohandler.html"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810d490
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/RSS/"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810d4f0
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/autohandler"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810d550
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/_conf/"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810d5b0
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/EN/"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810d878
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/dhandler"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x81053e0
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/_assets/"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x8105440
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/printerFriendly.mhtml"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x81054a0
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/groups/"
Jun  7 09:13:54 devaccess mount.davfs:   Directory updated: (nil)->0x8104b18
Jun  7 09:13:54 devaccess mount.davfs:   "/repos/"
Jun  7 09:13:54 devaccess mount.davfs: Initialize kernel interface
Jun  7 09:13:54 devaccess mount.davfs: Fork into daemon mode
Jun  7 09:13:54 devaccess mount.davfs: Set signal handler
Jun  7 09:13:54 devaccess mount.davfs: Parent: parent pid: 11987,
child pid: 11988
Jun  7 09:13:54 devaccess mount.davfs: Releasing root privileges
Jun  7 09:13:54 devaccess mount.davfs: Parent: writing mtab entry
Jun  7 09:13:54 devaccess mount.davfs: Writing pid file
Jun  7 09:13:54 devaccess mount.davfs: Parent: leaving now	<- Note*

this shows the davfs parent is complete.
---------------------------------------------
All the messages after this show while the ls command has not returned, and continues to show while the daemon runs.
---------------------------------------------

Jun  7 09:13:54 devaccess mount.davfs: Starting message loop
Jun  7 09:13:54 devaccess mount.davfs: FUSE_INIT:
Jun  7 09:13:54 devaccess mount.davfs:   return: OK
Jun  7 09:14:00 devaccess mount.davfs: FUSE_GETATTR:
Jun  7 09:14:00 devaccess mount.davfs:   n 0x8104b18
Jun  7 09:14:00 devaccess mount.davfs:   "/repos/"
Jun  7 09:14:00 devaccess mount.davfs:   return: OK
Jun  7 09:14:00 devaccess mount.davfs: FUSE_GETATTR:
Jun  7 09:14:00 devaccess mount.davfs:   n 0x8104b18
Jun  7 09:14:00 devaccess mount.davfs:   "/repos/"
Jun  7 09:14:00 devaccess mount.davfs:   return: OK
Jun  7 09:14:05 devaccess mount.davfs: TIDY_CACHE: from index 0
Jun  7 09:14:05 devaccess mount.davfs:               to index 1023

I don't understand why it does not return correctly, yet on its own without the autofs, it works perfect.

Thank you,
Kevinm

maintainer
#14 lore raw
Quoted 48 lines · Kevin Muller
Quoted 38 lines · Jeff Moyer

==> On Thu, 17 May 2007 12:18:47 +0300, "Kevin Muller" <[email protected]> said:

Kevin> autofs / davfs
Kevin> Im having a problem automounting a davfs share.
Kevin> The share is setup, and works perfect without the automount. Kevin> but as soon as a 'ls' is done on the automount directory, and the autofs Kevin> tries to mount it, it hangs for a while, then if ctrl-c's out of it, the Kevin> next ls on that directory shows the files correctly.

Kevin> The idea is to have the files available through Samba, and as soon as samba Kevin> tries to access the folder it will be a webdav share that gets mounted at Kevin> that point.

Kevin> Any suggestions at this point will be helpful.

I'm sorry, did we leave you hanging on this issue? The last thing I see in the discussion was this post from you:

,----

| mount(generic): calling mount -t davfs http://v6.muglets.com.dev/repos
| /home/automount/web.site.com
| May 21 15:56:22 devaccess automount[32663]: >> /sbin/mount.davfs: no
| free coda device to mount
| May 21 15:56:22 devaccess automount[32663]: >> /sbin/mount.davfs:
| trying fuse kernel file system
| May 21 15:56:22 devaccess automount[32663]: >> /sbin/mount.davfs: fuse
| device opened successfully
|
| >From this I deduce that the modules load, and the file system is put
| in place, and the autofs hangs before control is returned.

`----

When you reproduce this, can you get the output from ps auxwww | grep mount and post it here? I'm wondering whether the mount command ever returns. Also, this looks to be just a snippet of the log. Could you include the rest of the logs, or tell us if this was the last thing logged by automount?

Quoted 4 lines

Thanks!

Jeff

I have set the logging to as verbose as possible, and the logging is rather long winded, I have included that, as well as the output from the ps.

Quoted 6 lines

[root@devaccess ~]# ps auxwww | grep mount

root      7546  0.0  0.0  16584  1400 ?        Ssl  May31   0:02 automount
root     11984  0.0  0.0   4368   928 pts/4    S+   09:13   0:00 ls

--color=tty /home/automount/website/
root 11986 0.0 0.0 0 0 ? Z 09:13 0:00
[mount] <defunct>

Does this defunct mount process remain after the davfs mount below reports it is finished?

Quoted 209 lines

davfs2 11988 0.0 0.0 6924 920 ? Ss 09:13 0:00
/sbin/mount.davfs http://website.com.dev/repos /home/automount/website -o rw
root 11996 0.0 0.0 3880 664 pts/5 R+ 09:14 0:00 grep mount

*** File: /var/log/debug

Jun  7 09:13:53 devaccess automount[7546]: handle_packet: type = 3
Jun  7 09:13:53 devaccess automount[7546]:
handle_packet_missing_indirect: token 39, name website, request pid
11984
Jun  7 09:13:53 devaccess automount[7546]: lookup_mount: lookup(file):
looking up website
Jun  7 09:13:53 devaccess automount[7546]: lookup_mount: lookup(file):
website -> -fstype=davfs http://website.com.dev/repos
Jun  7 09:13:53 devaccess automount[7546]: parse_mount: parse(sun):
expanded entry: -fstype=davfs       http://website.com.dev/repos
Jun  7 09:13:53 devaccess automount[7546]: parse_mount: parse(sun):
gathered options: fstype=davfs
Jun  7 09:13:53 devaccess automount[7546]: parse_mount: parse(sun):
dequote("http://website.com.dev/repos") ->
http://website.com.dev/repos
Jun  7 09:13:53 devaccess automount[7546]: parse_mount: parse(sun):
core of entry: options=fstype=davfs, loc=http://website.com.dev/repos
Jun  7 09:13:53 devaccess automount[7546]: sun_mount: parse(sun):
mounting root /home/automount, mountpoint website, what
http://website.com.dev/repos, fstype davfs, options
Jun  7 09:13:53 devaccess automount[7546]: open_mount: (mount):cannot
open mount module davfs (/usr/lib/autofs/mount_davfs.so: cannot open
shared object file: No such file or directory)
Jun  7 09:13:53 devaccess automount[7546]: do_mount:
http://website.com.dev/repos /home/automount/website type davfs
options  using module generic
Jun  7 09:13:53 devaccess automount[7546]: mount_mount:
mount(generic): calling mkdir_path /home/automount/website
Jun  7 09:13:53 devaccess automount[7546]: mount_mount:
mount(generic): calling mount -t davfs http://website.com.dev/repos
/home/automount/website
Jun  7 09:14:00 devaccess automount[7546]: st_expire: state 1 path
/home/automount
Jun  7 09:14:00 devaccess automount[7546]: expire_proc: exp_proc =
3079506832 path /home/automount
Jun  7 09:14:00 devaccess automount[7546]: expire_proc_indirect:
expire /home/automount/website
Jun  7 09:14:01 devaccess automount[7546]: expire_proc_indirect: 1
remaining in /home/automount
Jun  7 09:14:01 devaccess automount[7546]: expire_cleanup: got thid
3079506832 path /home/automount stat 2
Jun  7 09:14:01 devaccess automount[7546]: expire_cleanup: sigchld:
exp 3079506832 finished, switching from 2 to 1
Jun  7 09:14:01 devaccess automount[7546]: st_ready: st_ready(): state

= 2 path /home/automount

*** File: /var/log/messages

Jun  7 09:13:53 devaccess automount[7546]: open_mount: (mount):cannot
open mount module davfs (/usr/lib/autofs/mount_davfs.so: cannot open
shared object file: No such file or directory)
Jun  7 09:13:53 devaccess mount.davfs: Parsing command line
Jun  7 09:13:53 devaccess mount.davfs:   /sbin/mount.davfs
http://website.com.dev/repos /home/automount/website -o rw
Jun  7 09:13:53 devaccess mount.davfs:   URL: http://website.com.dev/repos
Jun  7 09:13:53 devaccess mount.davfs:   Mount point: /home/automount/website
Jun  7 09:13:53 devaccess mount.davfs: Checking for setuid
Jun  7 09:13:53 devaccess mount.davfs: Parsing configuration files
Jun  7 09:13:53 devaccess mount.davfs:   Reading config from
Jun  7 09:13:53 devaccess mount.davfs:     /usr/local/etc/davfs2/davfs2.conf.
Jun  7 09:13:53 devaccess mount.davfs:   Arguments after parsing config files:
Jun  7 09:13:53 devaccess mount.davfs:     dav_user = davfs2
Jun  7 09:13:53 devaccess mount.davfs:     dav_group = davfs2
Jun  7 09:13:53 devaccess mount.davfs:     ignore_home = 1
Jun  7 09:13:53 devaccess mount.davfs:     conf = (null)
Jun  7 09:13:53 devaccess mount.davfs:     user = 0
Jun  7 09:13:53 devaccess mount.davfs:     netdev = 1
Jun  7 09:13:53 devaccess mount.davfs:     mopts = 0xc0ed0006
Jun  7 09:13:53 devaccess mount.davfs:     add_mopts = (null)
Jun  7 09:13:53 devaccess mount.davfs:     kernel_fs = fuse
Jun  7 09:13:53 devaccess mount.davfs:     buf_size = 32 KiBytes
Jun  7 09:13:53 devaccess mount.davfs:     uid = 0
Jun  7 09:13:53 devaccess mount.davfs:     gid = 0
Jun  7 09:13:53 devaccess mount.davfs:     dir_umask = 06000
Jun  7 09:13:53 devaccess mount.davfs:     file_umask = 06000
Jun  7 09:13:53 devaccess mount.davfs:     dir_mode = 040755
Jun  7 09:13:53 devaccess mount.davfs:     file_mode = 0100644
Jun  7 09:13:53 devaccess mount.davfs:     scheme = http
Jun  7 09:13:53 devaccess mount.davfs:     host = website.com.dev
Jun  7 09:13:53 devaccess mount.davfs:     port = 80
Jun  7 09:13:53 devaccess mount.davfs:     path = /repos/
Jun  7 09:13:53 devaccess mount.davfs:     servercert = (null)
Jun  7 09:13:53 devaccess mount.davfs:     secrets = (null)
Jun  7 09:13:53 devaccess mount.davfs:     clicert = (null)
Jun  7 09:13:53 devaccess mount.davfs:     p_host = (null)
Jun  7 09:13:53 devaccess mount.davfs:     p_port = 8080
Jun  7 09:13:53 devaccess mount.davfs:     useproxy = 0
Jun  7 09:13:53 devaccess mount.davfs:     askauth = 0
Jun  7 09:13:53 devaccess mount.davfs:     displayname = 1
Jun  7 09:13:53 devaccess mount.davfs:     locks = 0
Jun  7 09:13:53 devaccess mount.davfs:     expect100 = 1
Jun  7 09:13:53 devaccess mount.davfs:     read_timeout = 10 s
Jun  7 09:13:53 devaccess mount.davfs:     server_charset = (null)
Jun  7 09:13:53 devaccess mount.davfs:     sys_cache = /var/cache/davfs2
Jun  7 09:13:53 devaccess mount.davfs:     cache_dir = /var/cache/davfs2
Jun  7 09:13:53 devaccess mount.davfs:     backup_dir = lost+found
Jun  7 09:13:53 devaccess mount.davfs:     cache_size = 50 MiByte
Jun  7 09:13:53 devaccess mount.davfs:     table_size = 1024
Jun  7 09:13:53 devaccess mount.davfs:     idle_time = 10 s
Jun  7 09:13:53 devaccess mount.davfs:     dir_refresh = 60 s
Jun  7 09:13:53 devaccess mount.davfs:     file_refresh = 1 s
Jun  7 09:13:53 devaccess mount.davfs:     gui_optimize = 0
Jun  7 09:13:53 devaccess mount.davfs:     retry = 30 s
Jun  7 09:13:53 devaccess mount.davfs:     max_retry = 300 s
Jun  7 09:13:53 devaccess mount.davfs:     lock_timeout = 1800 s
Jun  7 09:13:53 devaccess mount.davfs:     lock_refresh = 60 s
Jun  7 09:13:53 devaccess mount.davfs:     lock_owner = (null)
Jun  7 09:13:53 devaccess mount.davfs: Checking mount point
Jun  7 09:13:53 devaccess mount.davfs:   Mountpoint: /home/automount/website
Jun  7 09:13:53 devaccess mount.davfs: Checking directories
Jun  7 09:13:53 devaccess mount.davfs: Mounts in /proc/mounts
Jun  7 09:13:53 devaccess mount.davfs: Checking permissions
Jun  7 09:13:53 devaccess mount.davfs: Parsing secrets files
Jun  7 09:13:53 devaccess mount.davfs:   Reading secrets from
Jun  7 09:13:53 devaccess mount.davfs:     /usr/local/etc/davfs2/secrets.
Jun  7 09:13:53 devaccess mount.davfs:   Credentials:
Jun  7 09:13:53 devaccess mount.davfs:     username = samba
Jun  7 09:13:53 devaccess mount.davfs:     passord = *******
Jun  7 09:13:53 devaccess mount.davfs:     p_user = (null)
Jun  7 09:13:53 devaccess mount.davfs:     p_passord = (null)
Jun  7 09:13:53 devaccess mount.davfs: Checking for double mounts
Jun  7 09:13:53 devaccess mount.davfs: PID file:
/var/run/mount.davfs/home-automount-website.pid
Jun  7 09:13:53 devaccess mount.davfs: Changing persona:
Jun  7 09:13:53 devaccess mount.davfs:   euid 501, gid 500
Jun  7 09:13:53 devaccess mount.davfs: Initialize WebDAV-session
Jun  7 09:13:53 devaccess mount.davfs: Initialize Cache
Jun  7 09:13:53 devaccess mount.davfs:   Alignment of dav_node: 8
Jun  7 09:13:53 devaccess mount.davfs:   Checking cache directory.
Jun  7 09:13:54 devaccess mount.davfs:
/var/cache/davfs2/website.com.dev-repos+home-automount-website+root
Jun  7 09:13:54 devaccess mount.davfs:   New node: (nil)->0x8104b18
Jun  7 09:13:54 devaccess mount.davfs:   Reading stored cache data.
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x8104bf8
Jun  7 09:13:54 devaccess mount.davfs:   Neon wants creditentials for
website.com.dev.
Jun  7 09:13:54 devaccess mount.davfs:   PROPFIND /repos/
Jun  7 09:13:54 devaccess mount.davfs:   PROPFIND: 207 Multi-Status
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810d3f8
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/rl/"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810c2c8
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/litmus/"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810c328
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/index.html"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810c388
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/autohandler.html"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810d490
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/RSS/"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810d4f0
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/autohandler"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810d550
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/_conf/"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810d5b0
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/EN/"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x810d878
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/dhandler"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x81053e0
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/_assets/"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x8105440
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/printerFriendly.mhtml"
Jun  7 09:13:54 devaccess mount.davfs:   New node: 0x8104b18->0x81054a0
Jun  7 09:13:54 devaccess mount.davfs:     "/repos/groups/"
Jun  7 09:13:54 devaccess mount.davfs:   Directory updated: (nil)->0x8104b18
Jun  7 09:13:54 devaccess mount.davfs:   "/repos/"
Jun  7 09:13:54 devaccess mount.davfs: Initialize kernel interface
Jun  7 09:13:54 devaccess mount.davfs: Fork into daemon mode
Jun  7 09:13:54 devaccess mount.davfs: Set signal handler
Jun  7 09:13:54 devaccess mount.davfs: Parent: parent pid: 11987,
child pid: 11988
Jun  7 09:13:54 devaccess mount.davfs: Releasing root privileges
Jun  7 09:13:54 devaccess mount.davfs: Parent: writing mtab entry
Jun  7 09:13:54 devaccess mount.davfs: Writing pid file
Jun  7 09:13:54 devaccess mount.davfs: Parent: leaving now	<- Note*

this shows the davfs parent is complete.
---------------------------------------------
All the messages after this show while the ls command has not returned, and continues to show while the daemon runs.
---------------------------------------------

Jun  7 09:13:54 devaccess mount.davfs: Starting message loop
Jun  7 09:13:54 devaccess mount.davfs: FUSE_INIT:
Jun  7 09:13:54 devaccess mount.davfs:   return: OK
Jun  7 09:14:00 devaccess mount.davfs: FUSE_GETATTR:
Jun  7 09:14:00 devaccess mount.davfs:   n 0x8104b18
Jun  7 09:14:00 devaccess mount.davfs:   "/repos/"
Jun  7 09:14:00 devaccess mount.davfs:   return: OK
Jun  7 09:14:00 devaccess mount.davfs: FUSE_GETATTR:
Jun  7 09:14:00 devaccess mount.davfs:   n 0x8104b18
Jun  7 09:14:00 devaccess mount.davfs:   "/repos/"
Jun  7 09:14:00 devaccess mount.davfs:   return: OK
Jun  7 09:14:05 devaccess mount.davfs: TIDY_CACHE: from index 0
Jun  7 09:14:05 devaccess mount.davfs:               to index 1023

I don't understand why it does not return correctly, yet on its own without the autofs, it works perfect.

Thank you,
Kevinm

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs