> On Sat, 29 Jan 2005, Pavel Troller wrote:
> 
> >>
> >>OK. How about the log with a timeout of 10.
> >>
> >>Ian
> >
> >OK, here is it. Classic iso cd used instead of udf.
> >Sending just to You not to spam the list.
> 
> Can you try this patch please.
> 
> --- autofs-4.1.3-michael/daemon/automount.c.sig-fix   2005-01-19 
> 20:11:09.000000000 +0800
> +++ autofs-4.1.3-michael/daemon/automount.c   2005-01-19 
> 20:12:02.000000000 +0800
> @@ -920,8 +920,8 @@
>               return 1;
> 
>       case EXP_STARTED:
> -             sigprocmask(SIG_SETMASK, &ready_sigs, NULL);
>               ap.state = ST_EXPIRE;
> +             sigprocmask(SIG_SETMASK, &ready_sigs, NULL);
>               return 0;
>       }
>       return 1;
Hi Ian!
  It's unbelievable: IT WORKS!!!!
  In 3 sec intervals, the following now appears in the log:

Jan 29 13:19:28 arcus automount[13950]: sig 14 switching from 1 to 2
Jan 29 13:19:28 arcus automount[13950]: get_pkt: state 1, next 2
Jan 29 13:19:28 arcus automount[13950]: st_expire(): state = 1
Jan 29 13:19:28 arcus automount[13950]: expire_proc: exp_proc=14094
Jan 29 13:19:28 arcus automount[13950]: handle_child: got pid 14094, sig 0 (0), 
stat 0
Jan 29 13:19:28 arcus automount[13950]: sigchld: exp 14094 finished, switching 
from 2 to 1
Jan 29 13:19:28 arcus automount[13950]: get_pkt: state 2, next 1
Jan 29 13:19:28 arcus automount[13950]: st_ready(): state = 2

  And if there is a filesystem to umount, it's umounted in a flash!
  I even changed the timeout to my favourite 3 seconds and it works too!
  I can't explain it to myself: How such a simple change in the sequence of
the code can have such a big impact ?
  And why it works to most of people ? Really strange :-).
  But never mind, thank You very much! It's really great to have the automount
functional again!
                     With neverending thanks, Pavel

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

Reply via email to