You need to send SIGHUP to the deamon to force rereading of a map. When
I was working on the autofs/sssd integration effort, we spoke briefly
with Ian about possibilities of better ways to reread a map, but nothing
has surfaced yet.

I do not have such an experience. For me, there is no need to restart autofs to make it aware of the new automount key. But I am using indirect maps only.
    Third question: is it safe to restart the autofs service when people have
    mounted shares on a client?
The short answer is yes, long answer is it depends :-)
It depends, exactly. Be especially cautious when updating automount package. Yum usually restarts the daemon as the last step - and sometimes it happens that the daemon crashes with a core dump instead of exiting normally. It that happens, all user shells lose information about the current working directory which can cause funny behaviour.

Ondrej

The information contained in this e-mail and in any attachments is confidential 
and is designated solely for the attention of the intended recipient(s). If you 
are not an intended recipient, you must not use, disclose, copy, distribute or 
retain this e-mail or any part thereof. If you have received this e-mail in 
error, please notify the sender by return e-mail and delete all copies of this 
e-mail from your computer system(s).
Please direct any additional queries to: communicati...@s3group.com.
Thank You.
Silicon and Software Systems Limited. Registered in Ireland no. 378073.
Registered Office: South County Business Park, Leopardstown, Dublin 18
_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to