[Bug 209718] -DNO_ROOT+WITHOUT_NIS results in an invalid nsswitch.conf
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Oct 2024 13:01:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209718 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 180 modify-nsswitch-conf: .PHONY 181 .if ${MK_NIS} == "no" 182 sed -i "" -e 's/.*_compat:/# &/' -e 's/compat$$/files/' \ 183 ${DESTDIR}/etc/nsswitch.conf 184 .endif Modifying installed files is a bad idea. It should be done before installation. -- You are receiving this mail because: You are the assignee for the bug.