#598595 autofs5: signal USR1 send to automount process does not terminate the mount fork process

Package:
autofs5
Source:
autofs
Submitter:
anthony
Date:
2023-04-26 09:09:05 UTC
Severity:
normal
Tags:
#598595#5
Date:
2010-09-30 10:32:20 UTC
From:
To:
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....

#598595#10
Date:
2010-10-05 10:28:16 UTC
From:
To:
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 ?