https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282909
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: [email protected]
Reporter: [email protected]
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 environment
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_one:
request for /net/ completed with error 5, pid 12839 (make)
Nov 22 09:01:54 <daemon.crit> kist automountd[12840]: failed to handle special
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).
--
You are receiving this mail because:
You are the assignee for the bug.