Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2024 13:01:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 209718] -DNO_ROOT+WITHOUT_NIS results in an invalid nsswitch.conf
Message-ID:  <bug-209718-227-USPwvLfRpc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209718-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209718-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209718

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open

--- Comment #3 from Mark Johnston <markj@FreeBSD.org> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209718-227-USPwvLfRpc>