#985065 emacs: Missing slash in reference to ~/Emacs - long wait for timeout with NFS home directory

Package:
emacs
Source:
emacs
Submitter:
"H.-Dirk Schmitt"
Date:
2021-04-01 17:21:10 UTC
Severity:
normal
Tags:
#985065#5
Date:
2021-03-12 11:43:48 UTC
From:
To:
After switching from Emacs 26 to 27 (from backport) the start of Emacs takes
several emacs on accounts with NFS home directory.

Running it with strace shows the reason [strace -f -v  emacs -q --no-site-
file]:
[pid 2756642] openat(AT_FDCWD, "/usr/lib/X11/app-defaults/Emacs", O_RDONLY) =
-1 ENOENT (Datei oder Verzeichnis nicht gefunden)
[pid 2756642] openat(AT_FDCWD, "/c42home/dirkde_DE.UTF-8/Emacs", O_RDONLY

- /c42home/dirk is the NFS home directory for user dirk
- /c42home/… is automounted
- The missing slash result in a non-existent mapping
- The startup is blocked till autofs runs in the timeout.

Beneath the long startup the intended resource could not be retrieved.