From nobody Fri Nov 22 08:28:03 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XvpBr1nSrz5dbW7 for ; Fri, 22 Nov 2024 08:28:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XvpBr0RTMz4RQS for ; Fri, 22 Nov 2024 08:28:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732264084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EWOaG7M5DpbkWIs8Nn7B1NGFCd86zeeGc1WaY1PFD7s=; b=IdOtpMCY6qmISyEmTNjZ1rJ8hqSOER3Zk2hYNwtStn9zxs+JTgU9vnKwUsKrg/TMB031E0 JkbTYUAWKZ5ngB25S7JN/TJjkvNtyPux27BHLg/PsmWZM2Bx3L/TxdsLRf8MsHe1fPj/E6 rvJqgWoEmEJs7tHdSA6jXn254KBkWB2Yp72I/8UBBNr8RWGnoQgIZkb3dC6mSgH55G6x6M +V0hiECrpo/gIbKSw+v50CQ1fOjWi7tFDpxNarjLx6+o8cHOwN+4mkhK0RjrJ17IkCkCYZ kFQb4Ey500sjxQVkih8eAt/QnbTH627Ih1TlDTl4Hf0YfRkwFKiWU9XIj+CA2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732264084; a=rsa-sha256; cv=none; b=vhUtCL3QUpWN9QQlj9GKHftfPJUF7ndd7VOLVCiieB4twwHXsQtzdq/6XlFC03/2R8I2+Z IDsZrjZA6NUVcw4qElr8k/1Ly/UfRUBspLP4zU+50K2LBNMVdNPkgL3ac0gv3F7eKbz9TI 1EBcHTeAZ3e4zSoD9QXHnpS2q1fz6A0lZzGLJVCeimsDLw4ZcVBgLLU/7LDCuAT1YsQJqK yt3acaqDgZ57xGNVS0opdg9cjLhYsLPsceIZ49WU6jqas9SEQQ86zLmcDSinPp13wYJnY5 g5xaO1FW+VybVBWwUkqhRqlUbIZ1Zq5zxWXIYaCYDRMR1N8yiJdYNzhJC/YPlg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XvpBr02l8zGmx for ; Fri, 22 Nov 2024 08:28:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4AM8S3CN072094 for ; Fri, 22 Nov 2024 08:28:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AM8S3wn072093 for bugs@FreeBSD.org; Fri, 22 Nov 2024 08:28:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Fri, 22 Nov 2024 08:28:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mail@fbsd2.e4m.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 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 kiste automountd[12840]: "/etc/autofs/special_hosts share", pid 12841, terminated with exit status 1 Nov 22 09:01:54 kiste kernel: [2773] WARNING: autofs_trigger_on= e: request for /net/ completed with error 5, pid 12839 (make) Nov 22 09:01:54 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.=