The setup (not autofs, but systemd based automount):
# grep automount /etc/fstab
1.2.3.4:/vol/homedirs /home/roaming nfs x-systemd.automount,x-systemd.idle-timeout=30
and:
# systemctl daemon-reload
on SLES12.3.
This works great! If a user logs in, having "/home/roaming/someuser123" homedir, the /home/roaming gets automatically mounted. it wasn't mounted before.
The question: after user logs out, the "/home/roaming" never gets umounted! Why? The "x-systemd.idle-timeout=30" syntax looks good!
UPDATES:
# systemctl status automount
? automount.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
#