Subject: lib/6865: Default /etc/nsswitch.conf is broken
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 01/23/1999 01:38:21
>Number: 6865
>Category: lib
>Synopsis: Default /etc/nsswitch.conf is broken
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 22 23:50:01 1999
>Last-Modified:
>Originator: Dave Huang
>Organization:
Name: Dave Huang | Mammal, mammal / their names are called /
INet: khym@bga.com | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 23 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release: NetBSD-current as of January 22, 1999
>Environment:
System: NetBSD dahan.metonymy.com 1.3I NetBSD 1.3I (SPIFF) #265: Tue Jan 19 02:21:22 CST 1999 khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SPIFF i386
>Description:
The default /etc/nsswitch.conf doesn't actually work. Needs
more colons.
>How-To-Repeat:
Install /usr/src/etc/nsswitch.conf. vi a file or something and
watch it complain about nsswitch.conf.
>Fix:
Add some colons.
--- /usr/src/etc/nsswitch.conf Fri Jan 22 06:05:28 1999
+++ nsswitch.conf Sat Jan 23 01:31:46 1999
@@ -5,10 +5,10 @@
#
# these are the defaults in libc
#
-group compat
-group_compat nis
-hosts dns files
-netgroup files [notfound=return] nis
-networks files
-passwd compat
-passwd_compat nis
+group: compat
+group_compat: nis
+hosts: dns files
+netgroup: files [notfound=return] nis
+networks: files
+passwd: compat
+passwd_compat: nis
>Audit-Trail:
>Unformatted: