summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-06-21 19:38:58 +0000
committerdes <des@FreeBSD.org>2004-06-21 19:38:58 +0000
commit74ea372665ef5bd2d4ec3e81af0231b1a12744a6 (patch)
treee230e1c23b14f4a906d0616f450c38af8944e33f
parent02c1e0b63ff78c8f78dd1e02417fd271ced17570 (diff)
downloadFreeBSD-src-74ea372665ef5bd2d4ec3e81af0231b1a12744a6.zip
FreeBSD-src-74ea372665ef5bd2d4ec3e81af0231b1a12744a6.tar.gz
Correct an error carried over from the nsswitch.conf(5) manual page; add
a note to UPDATING since users may have to manually remove an incorrect nsswitch.conf. Noticed by: simon
-rw-r--r--UPDATING9
-rw-r--r--etc/rc.d/nsswitch2
2 files changed, 10 insertions, 1 deletions
diff --git a/UPDATING b/UPDATING
index 592d429..dc2f81d 100644
--- a/UPDATING
+++ b/UPDATING
@@ -17,6 +17,15 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW:
developers choose to disable these features on build machines
to maximize performance.
+20040621:
+ On 20040524, the /etc/rc.d/nsswitch script was modified to
+ automatically create /etc/nsswitch.conf on startup if it did
+ not already exist. Unfortunately, an error in the man page
+ was carried over to the script, resulting in incorrect
+ nsswitch settings. The simplest remedy is to remove both
+ /etc/nsswitch.conf and /etc/host.conf; they will be recreated
+ during the next reboot.
+
20040614:
The return value of sema_timedwait(9) has been changed to
make it consistent with cv_timedwait(9). Be sure to recompile
diff --git a/etc/rc.d/nsswitch b/etc/rc.d/nsswitch
index fe84fd9..ae3e7d1 100644
--- a/etc/rc.d/nsswitch
+++ b/etc/rc.d/nsswitch
@@ -61,7 +61,7 @@ generate_nsswitch_conf()
cat >$nsswitch_conf <<EOF
group: compat
group_compat: nis
-hosts: dns files
+hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
OpenPOWER on IntegriCloud