The USR1 signal does not seems to stop the mount process. I try to send a USR1 on the automount process when the source directory does not exist. but the signal does not stop the forked mount process. details I use a pam_exec script which can create my home user when it does not exist. I can not use the pam_home because the user s home is automounted from another directory wich have to be created if it does not exist. on lenny, i send a USR1 on the autoumount process.... no pb, my directory is created by my pam_exec script... but on squeeze, with autofs v5, the process mount still try to mount directory which does not exist. my pam_exec script is never call....
additionnal information the problem occur on a ssh connection. to explain again : the user (user1) have a local directory on debianhost : for example; /DATA/user1 the user is an ldap user and his home is /home/user1 on debianhost, the /DATA/user1 directory is automounted on /home/user1 I want to create the /DATA/user1 automatically. so i can not use pam_mkhome. i use pam_exec and a script which create the /DATA/user1 on a user connection; but on an ssh connection; the ssh server try to access the authorized key on /home/user1 so the automount process try to mount the home directory. on LENNY, a USR1 signal interupt the automount. on SQUEEZE, a mount process still exist the login process is wanting for . is it possible to send signal to the mount process ?