Hi friends:
I'm managing a workstation where user home directories are mounted from a NFS server. Sometimes the NFS server goes down and user gets stuck when she tries to login with ssh. We have a daemon that periodically checks the health of NFS server. If it goes down, we'd like to apply the "override_homedir" option to override home directory string from LDAP into some local directory like /tmp so that user can still login, despite lack of home directory.
It seems that whenever I add/remove the "override_homedir" to/from sssd.conf, I must restart the sssd daemon. I wonder if I can ask sssd daemon to dynamically reload without a restart? Or do you have better solution for this scenario?
Thank you!!
On Tue, 2017-03-28 at 11:53 +0800, Yunchih Chen wrote:
Hi friends:
I'm managing a workstation where user home directories are mounted from a NFS server. Sometimes the NFS server goes down and user gets stuck when she tries to login with ssh. We have a daemon that periodically checks the health of NFS server. If it goes down, we'd like to apply the "override_homedir" option to override home directory string from LDAP into some local directory like /tmp so that user can still login, despite lack of home directory.
It seems that whenever I add/remove the "override_homedir" to/from sssd.conf, I must restart the sssd daemon. I wonder if I can ask sssd daemon to dynamically reload without a restart? Or do you have better solution for this scenario?
I would rather explore autofs so each individual home dir is mounted dynamically, and change autofs to mount a tmpfs instead if the nfs server is down. This way you do not change the directory where user files are but just the mount.
My 2c, Simo
sssd-users@lists.fedorahosted.org