historically, it's using nfs and portmap to capture the nfs client use case. using "nfsclient" is probably the better way to go going forward now. i had to do this manually in my current install to avoid autofs starting up before the nfs client idmap facilities were ready. $ diff -u /usr/portage/net-fs/autofs/files/autofs5.initd /etc/init.d/autofs --- /usr/portage/net-fs/autofs/files/autofs5.initd 2017-02-28 12:43:13.000000000 -0800 +++ /etc/init.d/autofs 2018-12-17 02:57:24.118605169 -0800 @@ -7,8 +7,8 @@ DEVICE=autofs depend() { - need localmount - use ypbind nfs slapd portmap net + need localmount + use ypbind nfs slapd portmap net nfsclient } extra_started_commands="reload"
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89d602ebf3cd3590bfe10c02e6d66aaef455bdd2 commit 89d602ebf3cd3590bfe10c02e6d66aaef455bdd2 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2019-08-12 20:26:46 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2019-08-12 21:52:02 +0000 net-fs/autofs: Depend on nfsclient ... rather than nfs and portmap. Closes: https://bugs.gentoo.org/673330 Signed-off-by: Matt Turner <mattst88@gentoo.org> net-fs/autofs/files/autofs5.initd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)