[Bug 209718] -DNO_ROOT+WITHOUT_NIS results in an invalid nsswitch.conf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 23 18:06:08 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209718

            Bug ID: 209718
           Summary: -DNO_ROOT+WITHOUT_NIS results in an invalid
                    nsswitch.conf
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: markj at FreeBSD.org

When WITHOUT_NIS is set, some code in /etc/Makefile will edit the installed
nsswitch.conf to remove NIS compat DBs and sources. When building with
-DNO_ROOT, the size of nsswitch.conf is recorded in the mtree log before this
edit is performed, so the logged size is different (smaller) than that of the
edited nsswitch.conf. This results in a truncated nsswitch.conf if the mtree
file is used with makefs to create a filesystem image, for example.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list