From nobody Wed Oct 16 13:01:32 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 4XTB1S3P0Dz5YTqs for ; Wed, 16 Oct 2024 13:01:32 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTB1S1SLmz4Gjm for ; Wed, 16 Oct 2024 13:01:32 +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=1729083692; 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: in-reply-to:in-reply-to:references:references; bh=xxjO782lWBIIqYz45EpDf/yzwEf6KEaIPDXZqLNttMs=; b=eU5ZfdN++7s6cZWC/p8SIkdrrMnApeDtznQ3VMCRrxHYvVdf1dHwcWySFf1GFDjnGv47FN A2eaBhVmjbUHogZjcXC8+bs6fsEAkgozTzVU5B2jJdDseUimfkZ+K9O2EaOCNTL+aorB4q Ydm81CoaTbTdFXdtxJr8xafl7Uk04STiz1hQ/9nvpq74qa1eyUKSIdC5bnsZGH+mmlif0e zznojBGev4DnZlQ17GL+ogu/w+Pm3iyOTKeFV6KtL0ZMuExtmnb7v9VU9znFn40MrDWn3h Kwhr2cfnXbXznvZ7pBNIiAL822ICMznmKXe9/LfsLucp65G+yiz5Hmn1pdJzWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729083692; a=rsa-sha256; cv=none; b=bAbmLv4PdBu6puG/EOG9IoohnqkaWKiGfWzuutraWg8/NVIPxdBcVpx0Y04YjMjlQ67MMq 9ucWWxkDvDyGL3M9GG6Vu1n85a1xYLzFzFXhfaDdDieRxG9Vd6VOJSwEze0AE0tHU5wOEJ o+AiNeQzmuerSHxSb4Q5iLyW7LsRAPwkhei9tfTCg2H8BRILCW+uZ+K1XGf0ahLp0SV55C sJESMr0OA74JJXv8xXEa4HwJlZoliYC1qpMXiv1f+8ygW57dXygd+Z5+/kCCOgl3cDhFXT 6OiY08lV7ckLAIVHq0ON+yoJfeDtCWjdQ4AiBvox6rhx5TOLT5XcBaa+ekOztQ== 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 4XTB1S14jNz15y2 for ; Wed, 16 Oct 2024 13:01:32 +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 49GD1WOq020708 for ; Wed, 16 Oct 2024 13:01:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49GD1WkT020706 for bugs@FreeBSD.org; Wed, 16 Oct 2024 13:01:32 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 209718] -DNO_ROOT+WITHOUT_NIS results in an invalid nsswitch.conf Date: Wed, 16 Oct 2024 13:01:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: 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=3D209718 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #3 from Mark Johnston --- (In reply to Gleb Popov from comment #2) The problem is still there. It's caused by this bit at the end of lib/libc/net/Makefile.inc: 179 afterinstallconfig: modify-nsswitch-conf=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 180 modify-nsswitch-conf: .PHONY=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 181 .if ${MK_NIS} =3D=3D "no"=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 182 sed -i "" -e 's/.*_compat:/# &/' -e 's/compat$$/files/' \=20=20= =20=20=20=20=20=20=20=20=20 183 ${DESTDIR}/etc/nsswitch.conf=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 184 .endif Modifying installed files is a bad idea. It should be done before installation. --=20 You are receiving this mail because: You are the assignee for the bug.=