Date: Fri, 22 Nov 2024 08:28:03 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282909] make(1): delays and error spamming when run from a dir which is automounted using -hosts Message-ID: <bug-282909-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282909 Bug ID: 282909 Summary: make(1): delays and error spamming when run from a dir which is automounted using -hosts Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: mail@fbsd2.e4m.org If we run make(1) without the env var MAKESYSPATH being set and from a directory which is automounted using the special map "-hosts" in an environ= ment where no NFS server named "share" exists, operation is slowed down significantly and the syslog is spammed with messages like: Nov 22 09:01:54 <daemon.warn> kiste automountd[12840]: "/etc/autofs/special_hosts share", pid 12841, terminated with exit status 1 Nov 22 09:01:54 <kern.crit> kiste kernel: [2773] WARNING: autofs_trigger_on= e: request for /net/ completed with error 5, pid 12839 (make) Nov 22 09:01:54 <daemon.crit> kist automountd[12840]: failed to handle spec= ial map "-hosts" This is because make(1) uses the compile-time defined DEFAULT_SYS_PATH (.../share/mk:/usr/share/mk) and goes up the path until it hits "/net/share= ". How to reproduce: 1. Set up an automount environment using /net -hosts (optional options) 2. cd to an (existing) dir, e.g. cd /net/myserver/some_dir 3. Type "make" (no Makefile needed). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282909-227>