On Wed, 2 Nov 2005, Ian Kent wrote:

> On Tue, 1 Nov 2005, Jeff Moyer wrote:
>
> > This is quite easy to reproduce.  Basically, after the expire event,
> > accesses to the /virtual/USERNAME directory do not trigger callouts to the
> > daemon.  Here is the expiry message from the logs:
> 
> OK. I'll have a go at reproducing it.
> 
> I don't have the exact versions but hopefully the problem will be evident 
> in other versions as well.
> 
> Would it be possible for you the put the source rpm into your people area 
> please.
> 
> > 
> > automount[2495]: sigchld: exp 2513 finished, switching from 2 to 1
> > automount[2495]: get_pkt: state 2, next 1
> > automount[2495]: st_ready(): state = 2 
> > automount[2495]: sig 14 switching from 1 to 2
> > automount[2495]: get_pkt: state 1, next 2
> > automount[2495]: st_expire(): state = 1 
> > automount[2495]: expire_proc: exp_proc=2515
> > automount[2495]: handle_packet: type = 2 
> > automount[2495]: handle_packet_expire_multi: token 22, name jmoyer/private 
> > automount[2516]: expiring path /virtual/jmoyer/private
> > automount[2516]: umount_multi: path=/virtual/jmoyer/private incl=1 
> > automount[2516]: umount_multi: unmounting dir=/virtual/jmoyer/private 
> > automount[2516]: expired /virtual/jmoyer/private
> > automount[2495]: handle_child: got pid 2516, sig 0 (0), stat 0
> > automount[2495]: sig_child: found pending iop pid 2516: signalled 0 (sig 
> > 0), exit status 0
> > automount[2495]: send_ready: token=22 
> > automount[2495]: handle_packet: type = 2 
> > automount[2495]: handle_packet_expire_multi: token 23, name jmoyer/public 
> > automount[2518]: expiring path /virtual/jmoyer/public
> > automount[2518]: umount_multi: path=/virtual/jmoyer/public incl=1 
> > automount[2518]: umount_multi: unmounting dir=/virtual/jmoyer/public 
> > automount[2518]: expired /virtual/jmoyer/public
> > automount[2495]: handle_child: got pid 2518, sig 0 (0), stat 0
> > automount[2495]: sig_child: found pending iop pid 2518: signalled 0 (sig 
> > 0), exit status 0
> > automount[2495]: send_ready: token=23 
> > automount[2495]: handle_child: got pid 2515, sig 0 (0), stat 0
> > automount[2495]: sigchld: exp 2515 finished, switching from 2 to 1
> > 
> > What you are left with is a directory hierarchy that looks like this:
> > 
> > /virtual
> >         /jmoyer
> >                /private
> >                /public
> > 
> > Clearly the private and public directories should be gone!  As mentioned,
> > an ls -l in the /virtual/jmoyer directory will look like so:
> > 
> > # ls -l /virtual/jmoyer/
> > total 0
> > dr-xr-xr-x    2 root     root            0 Nov  1 07:16 private
> > dr-xr-xr-x    2 root     root            0 Nov  1 07:16 public
> 
> If the --ghost option is used these directories should be creted when the 
> map is first loaded and remain.

Sorry, this is a multi-mount entry isn't it.

Then of course you are right Jeff.

Dannie can you confirm that your map looks like:

/virtual/<user>  /private <mount> /public <mount>

Ian

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

Reply via email to